verdict exits on ok
Some checks failed
grade / grade (push) Failing after 4s

This commit is contained in:
trevon 2026-08-26 02:15:32 +00:00
parent 8b4317029f
commit 222833da6d
2 changed files with 2 additions and 3 deletions

View file

@ -22,5 +22,5 @@ jobs:
python3 /opt/grade/grade_cli.py run \
--student . --hidden /opt/grade-hidden/cs2060/record-manager \
--course CS2060 --assignment record-manager \
--out results.json 2>&1 | tee /opt/grade/runner-diag/latest.log
python3 -c "import json; d=json.load(open('results.json'))['result']; print('VERDICT ok=', d['ok'], 'public=', d['tests']['public'], 'hidden=', d['tests']['hidden'])"
--out results.json 2>&1 | tee /opt/grade/runner-diag/latest.log || true
python3 -c "import json,sys; d=json.load(open('results.json'))['result']; print('VERDICT ok=', d['ok'], 'public=', d['tests']['public'], 'hidden=', d['tests']['hidden']); sys.exit(0 if d['ok'] else 1)"

View file

@ -49,4 +49,3 @@ AI assistance is **not required**. If you use it, the standard `AGENTS.md` in
this repo tells the agent exactly what Tier 2 permits; state "AI used: none |
Tier 2" at the top of each milestone write-up and let the verification gates
(`make test` / `make sanitize` / `make valgrind` + the CI report) be the record.
retest 1787710392