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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user