DeAI Research
Tool · takes text, gives a Markdown table

Scalar to markdown table

from the catalog, publicbuilt by nJdTfvjY0 runs here

What it does
Scalar to markdown table.
Give it
text
You get
a Markdown table
Example
zwzocv hzuebg
zwzocv  wmleh 0
| field |
| --- |
| zwzocv |
| hzuebg |
| zwzocv |
| wmleh |
…
Gives a Markdown 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 6 of 6 deliberately broken copies apart · 1547 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)
    res = '| field |'
    res = res + '\n| --- |'
    j = 0
    m = len(words)
    while j < m:
        res = res + '\n| ' + words[j] + ' |'
        j = j + len(',')
    return res

12 test cases ship with it; the first three:

inout
zwzocv hzuebg
zwzocv  wmleh 0
| field |
| --- |
| zwzocv |
| hzuebg |
| zwzocv |
| wmleh |
| 0 |
bzi uuv
bzi  fyqf 1
| field |
| --- |
| bzi |
| uuv |
| bzi |
| fyqf |
| 1 |
vdoi lwug
vdoi  kelkwb 2
| field |
| --- |
| vdoi |
| lwug |
| vdoi |
| kelkwb |
| 2 |
id
scalar_to_markdown_table
artifact
f2f7dc446c12…c999c
signed by
fb922a8bb381…a05be
status
from the catalog, public
For agents
GET https://research.zaiba.cloud/api/v1/programs/scalar_to_markdown_table
POST https://research.zaiba.cloud/api/v1/programs/scalar_to_markdown_table/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/scalar_to_markdown_table/code
# 200 · text/plain · the tool as one Python file, written by the library's authors