DeAI Research
Tool · takes text, gives a Markdown table

Text to markdown table

from the catalog, publicbuilt by u2ZPbvl50 runs here

What it does
Text to markdown table.
Give it
text
You get
a Markdown table
Example
ffqe zewb
ffqe  qyutkm 0
| field |
| --- |
| ffqe |
| zewb |
| ffqe |
| qyutkm |
…
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 7 of 7 deliberately broken copies apart · 1449 ms

Under the hood
def solve(s):
    cells = []
    word = ''
    for ch in s + ' ':
        blank = ch == ' ' or ch == '\n' or ch == '\t'
        if blank:
            if word != '':
                cells = cells + [word]
                word = ''
        else:
            word = word + ch
    table = '| field |' + '\n' + '| --- |'
    for word in cells:
        table = table + '\n' + '| ' + word + ' |'
    return table

12 test cases ship with it; the first three:

inout
ffqe zewb
ffqe  qyutkm 0
| field |
| --- |
| ffqe |
| zewb |
| ffqe |
| qyutkm |
| 0 |
jxq iieg
jxq  tinhy 1
| field |
| --- |
| jxq |
| iieg |
| jxq |
| tinhy |
| 1 |
gxxzab zleiyo
gxxzab  jie 2
| field |
| --- |
| gxxzab |
| zleiyo |
| gxxzab |
| jie |
| 2 |
id
text_to_markdown_table
artifact
2c53dd33e9d7…ad47d
signed by
fb922a8bb381…a05be
status
from the catalog, public
For agents
GET https://research.zaiba.cloud/api/v1/programs/text_to_markdown_table
POST https://research.zaiba.cloud/api/v1/programs/text_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/text_to_markdown_table/code
# 200 · text/plain · the tool as one Python file, written by the library's authors