DeAI Research
Tool · takes numbers, gives a Markdown table

Numbers to markdown table

from the catalog, publicbuilt by 2zaa1BNo0 runs here

What it does
Numbers to markdown table.
Give it
numbers
You get
a Markdown table
Example
82
-6
16
82
6.5
x6 82-16
…
| n |
| --- |
| 82 |
| -6 |
| 16 |
| 82 |
…
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 12 of 12 deliberately broken copies apart · 1750 ms

Under the hood
def solve(s):
    out = '| n |'
    out = out + '\n| --- |'
    i = 0
    t = ''
    d = 0
    u = s + '\n'
    while i < len(u):
        c = u[i]
        i = i + len(c)
        if c >= '0' and c <= '9':
            t = t + c
        else:
            if c == '-' and t == '':
                t = '-'
            else:
                if c == '.' and t != '' and t != '-' and d == 0:
                    t = t + '.'
                    d = len('.')
                else:
                    if t != '' and t != '-' and t != '.' and t != '-.':
                        out = out + '\n| ' + t + ' |'
                    t = ''
                    d = 0
    return out

12 test cases ship with it; the first three:

inout
82
-6
16
82
6.5
x6 82-16
0
| n |
| --- |
| 82 |
| -6 |
| 16 |
| 82 |
| 6.5 |
| 6 |
| 82 |
| 16 |
| 0 |
56
-5
23
56
5.5
x5 56-23
1
| n |
| --- |
| 56 |
| -5 |
| 23 |
| 56 |
| 5.5 |
| 5 |
| 56 |
| 23 |
| 1 |
87
-2
86
87
2.5
x2 87-86
2
| n |
| --- |
| 87 |
| -2 |
| 86 |
| 87 |
| 2.5 |
| 2 |
| 87 |
| 86 |
| 2 |
id
numbers_to_markdown_table
artifact
6ffeab7e7043…62d88
signed by
fb922a8bb381…a05be
status
from the catalog, public
For agents
GET https://research.zaiba.cloud/api/v1/programs/numbers_to_markdown_table
POST https://research.zaiba.cloud/api/v1/programs/numbers_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/numbers_to_markdown_table/code
# 200 · text/plain · the tool as one Python file, written by the library's authors