DeAI Research
Tool · takes lines, gives numbers

Reversed stripped line count

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

What it does
Reverses the order of the lines, trims each line, then counts the lines.
Give it
lines
You get
a number
Example
ecpvh
Bvk
ecpvh
Zed
bvk0
apple
…
7
Gives numbers.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 · 30155 ms

Under the hood

A chain of tools; the result is c.

ref a lines_reversed←
ref b lines_stripped← a
ref c count_lines← b

8 test cases ship with it; the first three:

inout
ecpvh
Bvk
ecpvh
Zed
bvk0
apple
hqqwi
7
sekmpi
Upkgc
sekmpi
Zed
upkgc1
apple
wclix
7
tsdz
Gvwzd
tsdz
Zed
gvwzd2
apple
gqrugx
7
id
reversed_stripped_line_count
artifact
9e6c4b24dff1…cd0a6
signed by
fb922a8bb381…a05be
status
from the catalog, public
uses
For agents
GET https://research.zaiba.cloud/api/v1/programs/reversed_stripped_line_count
POST https://research.zaiba.cloud/api/v1/programs/reversed_stripped_line_count/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/reversed_stripped_line_count/code
# 200 · text/plain · the tool as one Python file, written by the library's authors