DeAI Research
Tool · takes text, gives a CSV table

Scalar to csv

from the catalog, publicbuilt by nJdTfvjY0 runs here

What it does
Scalar to csv.
Give it
text
You get
a CSV table
Example
nqbi drpfgt
nqbi  petpj 0
nqbi,drpfgt,nqbi,petpj,0
Gives a CSV table.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 declared_pairs · told 7 of 7 deliberately broken copies apart · 1625 ms

Under the hood
def solve(s):
    words = []
    cur = ''
    i = 0
    text = s + ' '
    n = len(text)
    while i < n:
        ch = text[i]
        if ch == ' ' or ch == '\n' or ch == '\t':
            if len(cur) > 0:
                words = words + [cur]
                cur = ''
        else:
            cur = cur + ch
        i = i + len(ch)
    out = ''
    j = 0
    m = len(words)
    while j < m:
        if j > 0:
            out = out + ','
        out = out + words[j]
        j = j + len(',')
    return out

12 test cases ship with it; the first three:

inout
nqbi drpfgt
nqbi  petpj 0
nqbi,drpfgt,nqbi,petpj,0
awka pmcacd
awka  eck 1
awka,pmcacd,awka,eck,1
fkag zhakx
fkag  lbsmdf 2
fkag,zhakx,fkag,lbsmdf,2
id
scalar_to_csv
artifact
f77ddd7a4feb…7faf5
signed by
fb922a8bb381…a05be
status
from the catalog, public
For agents
GET https://research.zaiba.cloud/api/v1/programs/scalar_to_csv
POST https://research.zaiba.cloud/api/v1/programs/scalar_to_csv/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/scalar_to_csv/code
# 200 · text/plain · the tool as one Python file, written by the library's authors