amos 5938cbd86f Keep a batch running when a grader log exceeds 1 MiB
report.py read grade.stderr with the default 1 MiB cap only to keep the
last line of a FAIL. A SPIFFS grader logged 1.1 MiB of proof data there,
the read raised ValueError, and the whole batch was rejected mid-run,
interrupting the attempts still in flight. Read it with the trace cap
instead, and fall back to the verdict reason if it is larger still.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 03:57:20 +08:00
..