DeAI Research
Tool · takes lines, gives lines

Deduped numbered reversed

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

What it does
Removes duplicate lines and keeps the first of each, numbers them, then reverses their order.
Give it
lines
You get
lines
Example
pwr
swmygq
pwr
sptie swmygq
0
4. 0
3. sptie swmygq
2. swmygq
1. pwr
Gives lines.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 · 3165 ms

Under the hood

A chain of tools; the result is c.

ref a lines_deduped←
ref b lines_numbered← a
ref c lines_reversed← b

8 test cases ship with it; the first three:

inout
pwr
swmygq
pwr
sptie swmygq
0
4. 0
3. sptie swmygq
2. swmygq
1. pwr
jwvu
autkn
jwvu
sdkgr autkn
1
4. 1
3. sdkgr autkn
2. autkn
1. jwvu
jcdm
fkz
jcdm
leby fkz
2
4. 2
3. leby fkz
2. fkz
1. jcdm
id
deduped_numbered_reversed
artifact
a6076c0010f0…bf669
signed by
fb922a8bb381…a05be
status
from the catalog, public
uses
For agents
GET https://research.zaiba.cloud/api/v1/programs/deduped_numbered_reversed
POST https://research.zaiba.cloud/api/v1/programs/deduped_numbered_reversed/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/deduped_numbered_reversed/code
# 200 · text/plain · the tool as one Python file, written by the library's authors