Run the judge on the rung its chunk's item picks, never below the project's, as the replay found every cheaper rung missing verdicts

This commit is contained in:
2026-10-15 08:23:20 +02:00
parent 30f60c570d
commit 069b3814b9
12 changed files with 44 additions and 21 deletions
+4 -3
View File
@@ -100,9 +100,10 @@ def rule_all(cases: list[Case], rung: Rung, claude_dir: pathlib.Path, effects: E
def rule(case: Case, rung: Rung, claude_dir: pathlib.Path, effects: Effects) -> str:
premises, records, entries = read_premises(case.root), read_records(case.root, claude_dir), read_transcript(str(case.transcript))
for unread in (premises, records):
if isinstance(unread, Stop):
return verdict_kind(Failure(unread.reason))
if isinstance(premises, Stop):
return verdict_kind(Failure(premises.reason))
if isinstance(records, Stop):
return verdict_kind(Failure(records.reason))
if isinstance(entries, Failure):
return verdict_kind(entries)
prompt, shown = judge_prompt(case.task, premises, records, render(entries))