Show the judge the transcript's tail whatever the size of the records, test the forge timeout and decide the merge stop from the pull requests found #651

Merged
lilleman merged 14 commits from item-463 into main 2026-11-20 01:57:18 +01:00
Showing only changes of commit ee44c99f28 - Show all commits
+1 -1
View File
@@ -160,7 +160,7 @@ class JudgePrompt(unittest.TestCase):
def test_fails_naming_the_shortfall_where_the_records_leave_less_than_the_transcripts_floor(self):
failed = judge.judge_prompt(self.brief(self.LONG, 0, records="r" * (judge.JUDGE_PROMPT_CHARS + 1)))
self.assertIsInstance(failed, Failure)
for fact in ("400,000", "400,001", f"{judge.TRANSCRIPT_FLOOR:,}", f"by at least {judge.TRANSCRIPT_FLOOR + self.overhead() + 1:,}"):
for fact in ("leave 0 of the judge's 400,000", "400,001", f"{judge.TRANSCRIPT_FLOOR:,}", f"by at least {judge.TRANSCRIPT_FLOOR + self.overhead() + 1:,}"):
self.assertIn(fact, failed.reason)
def test_judge_once_returns_that_failure_without_starting_claude(self):