A catalog tool: listed by construction. A tool built for a request carries the report of its own admission here.
up = {'a':'A','b':'B','c':'C','d':'D','e':'E','f':'F','g':'G','h':'H','i':'I','j':'J','k':'K','l':'L','m':'M','n':'N','o':'O','p':'P','q':'Q','r':'R','s':'S','t':'T','u':'U','v':'V','w':'W','x':'X','y':'Y','z':'Z'}
def solve(s):
out = ''
for ch in s:
if ch in up:
out = out + up[ch]
else:
out = out + ch
return out
8 test cases ship with it; the first three:
| in | out |
|---|---|
Eab hufye Dqvm eab0 | EAB HUFYE DQVM EAB0 |
Wxz piuyaz Ypsn wxz1 | WXZ PIUYAZ YPSN WXZ1 |
Vgdzcx pyq Xrval vgdzcx2 | VGDZCX PYQ XRVAL VGDZCX2 |
GET https://research.zaiba.cloud/api/v1/programs/text_upper
POST https://research.zaiba.cloud/api/v1/programs/text_upper/run
{"input": "…"}
# 200 · X-DeAI-Rail: grant (free within the allowance) · output + signed receipt
GET https://research.zaiba.cloud/api/v1/programs/text_upper/code
# 200 · text/plain · the tool as one Python file, written by the library's authors