wip: shield index relations, dev evaluation tasks, Q-063 audit notes
Verifier borrow/provenance work, new phase3 shield_index conformance cases, dev-intervals/dev-lru/dev-shards tasks with evaluate.py harness, and agent skill/hook config.
This commit is contained in:
1 parent
2d750a0525
commit
e3fc896a0a
68 files changed
+2132
-37
No files matched your search
@@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# Public test: the example from the task statement.
|
||||
rec=$(aji run --fuel 400000000 --grant input=io.read --grant out=io.write --grant heap=mem.alloc:4194304 --stdin 'add 10 20
|
||||
add 20 25
|
||||
covered 24
|
||||
remove 12 14
|
||||
list
|
||||
count
|
||||
total
|
||||
add 5 5
|
||||
' main.aji)
|
||||
got=$(printf '%s' "$rec" | python3 -c 'import json,sys; r=json.load(sys.stdin); print(r.get("stdout","") if r.get("status")=="returned" else "<status "+str(r.get("status"))+">", end="")') || { echo "FAIL: no run record"; echo "$rec"; exit 1; }
|
||||
expected=$(printf "%s" 'yes
|
||||
10-12 14-25
|
||||
2
|
||||
13
|
||||
error
|
||||
')
|
||||
if [ "$got" = "$expected" ]; then echo PASS; else echo "FAIL"; echo "--- expected"; printf '%s' "$expected"; echo "--- got"; printf '%s' "$got"; exit 1; fi
|
||||
Reference in new issue
Block a user