DeAI Research
Tool · takes lines, gives text

Deduped stripped sorted unique last

from the catalog, publicfrom this node's catalog0 runs here

What it does
Removes duplicate lines and keeps the first of each, trims each line, sorts them A→Z and keeps each once, then keeps the last.
Give it
lines
You get
one line
Example
yspqm
tvsx
yspqm
lkn tvsx
0
yspqm
Gives text.Free uses today 100 of 100
How it was tested
  1. Right shape, and enough test casespassed
  2. Clean: no one's data insidepassed
  3. Origin noted and respectedpassed
  4. Agrees with an independent referencepassed
  5. Consistent: known relations holdpassed
  6. Sensitive: tells broken copies apartpassed
  7. No hidden messagespassed
  8. Fast enough: under a minutepassed

Compared against composed · told 0 of 0 deliberately broken copies apart · 3993 ms

Under the hood

A chain of tools; the result is d.

ref a lines_deduped←
ref b lines_stripped← a
ref c lines_sorted_unique← b
ref d last_line← c

8 test cases ship with it; the first three:

inout
yspqm
tvsx
yspqm
lkn tvsx
0
yspqm
mkpzcx
zwza
mkpzcx
abx zwza
1
zwza
msjvjt
wqyrek
msjvjt
pkufk wqyrek
2
wqyrek
id
deduped_stripped_sorted_unique_last
artifact
3b2dfdd72aae…68aa0
signed by
fb922a8bb381…a05be
status
from the catalog, public
uses
For agents
GET https://research.zaiba.cloud/api/v1/programs/deduped_stripped_sorted_unique_last
POST https://research.zaiba.cloud/api/v1/programs/deduped_stripped_sorted_unique_last/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/deduped_stripped_sorted_unique_last/code
# 200 · text/plain · the tool as one Python file, written by the library's authors