mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-06 11:04:06 +01:00
load_json() caught every exception and returned None, so a truncated, empty or undecodable ship-gate report looked like missing evidence: the candidate silently left the leaderboard, the controller recommended the wrong leader and still exited 0 (#518). - load_json returns None only for a missing file; read, decode, JSON and non-object errors raise UnreadableEvidence with the path and reason. - collect scans every evidence directory, then raises UnreadableEvidenceSet listing all unreadable files; corrupt interpolation metadata is treated the same way. - main exits 2, reports each file on stderr and writes no frontier, so a ranking is never published from a partial evidence set. Unrelated valid JSON in an evidence directory is still ignored. - Outcome tests cover truncated, empty, binary and non-object reports, multiple evidence kinds, missing files, unreadable directory entries and corrupt interpolation metadata; the script is registered in the test-risk map. Reported-by: soarkit Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>