WIP (worker interrupted by a usage limit): work-unit record, verification vocabulary, scorecard; tests being updated

This commit is contained in:
swaits committed 2026-11-23 11:35:23 -07:00
1 parent 29d239ca3b
commit 91c954344f
16 files changed
+1701 -407

No files matched your search

+2
View File
@@ -115,6 +115,8 @@ class SisiCase(unittest.TestCase):
def check(id, cmd, rung=3, kind="general", exit=0, timeout_s=10, **expect):
if cmd == "true": # a passing check that can fail (bare `true` is vacuous and refused)
cmd = "test -f .sisi/contract.json"
return {"id": id, "claim": "claim " + id, "kind": kind, "rung": rung, "cmd": cmd,
"expect": dict({"exit": exit}, **expect), "timeout_s": timeout_s}