DeAI Research
Tool · takes text, gives text

Reverse chars

from the catalog, publicbuilt by nLZuAhI50 runs here

What it does
Reverse the characters of a text, including spaces and newlines.
Give it
text
You get
text
Example
rxvypf zrkt
rxvypf  ztfvjw 0
0 wjvftz  fpyvxr
tkrz fpyvxr
Gives text.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 · 2055 ms

Under the hood
def tweak(ch):
    if ch == '\n':
        return '\n'
    if ch == '\r':
        return '\r'
    if ch == '\t':
        return '\t'
    if ch == ' ':
        return ' '
    if ch == '\f':
        return '\f'
    if ch == '\v':
        return '\v'
    return ch


def solve(s):
    out = ''
    for ch in s:
        ch = tweak(ch)
        out = ch + out
    return out

12 test cases ship with it; the first three:

inout
rxvypf zrkt
rxvypf  ztfvjw 0
0 wjvftz  fpyvxr
tkrz fpyvxr
zrsroz yqd
zrsroz  fgnok 1
1 kongf  zorsrz
dqy zorsrz
uwophx drqmyo
uwophx  ddqlta 2
2 atlqdd  xhpowu
oymqrd xhpowu
id
reverse_chars
artifact
cf309678287b…55595
signed by
fb922a8bb381…a05be
status
from the catalog, public
For agents
GET https://research.zaiba.cloud/api/v1/programs/reverse_chars
POST https://research.zaiba.cloud/api/v1/programs/reverse_chars/run
  {"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/reverse_chars/code
# 200 · text/plain · the tool as one Python file, written by the library's authors