From d2ca49bf0059e0062cb89f6f2b9daa0ffc9c5e4c Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Thu, 12 Nov 2026 14:46:05 +0100 Subject: [PATCH] Tell the three controls apart in the replay test --- bin/review_replay/test_review_replay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/review_replay/test_review_replay.py b/bin/review_replay/test_review_replay.py index a9cff132..cc4b2b8e 100644 --- a/bin/review_replay/test_review_replay.py +++ b/bin/review_replay/test_review_replay.py @@ -247,7 +247,7 @@ class Main(unittest.TestCase): return code, out.getvalue(), err.getvalue() def test_without_claude_md_replays_each_round_three_times_with_it_and_once_without_on_the_project_rung(self): - finds = iter(([0, 1], [0], [1], [1])) + finds = iter(([0, 1], [0], [0, 1], [1])) code, out, err = self.run_main(["stability", "claude-opus-5-5", "--omit-claude-md"], lambda rung: {"found": next(finds)}) self.assertEqual(code, 0, err) self.assertEqual([rung for rung, *_ in self.reviews], [REFERENCE] * 4) @@ -255,7 +255,7 @@ class Main(unittest.TestCase): self.assertEqual([prompt.startswith(context) for *_, prompt, _ in self.reviews], [False, False, False, True]) self.assertEqual(out, ( f"Replayed 1 stability rounds of claude-opus-5-5 projects, which hold 2 🔴 and 🟡 findings, four times on {REFERENCE}: three with CLAUDE.md, one without.\n" - "With CLAUDE.md the reviewer found 2, 1 and 1 of them. Each missed 0, 1 and 1 of the findings the other two found.\n" + "With CLAUDE.md the reviewer found 2, 1 and 2 of them. Each missed 0, 1 and 0 of the findings the other two found.\n" "Without CLAUDE.md it found 1 of them, and missed 1 of the findings the first two found:\n" f" {self.checkout} 2026-10-14T10:00:00Z: 🔴 a.txt:1 wrong\n" "It passes: 1 missed is no more than the most a replay with CLAUDE.md missed, 1.\n"