From b067d8cda86e16f3e99fa9d2fce8881b63198f07 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Tue, 17 Nov 2026 01:30:15 +0100 Subject: [PATCH] =?UTF-8?q?Answer=20stability=20round=202:=200=20?= =?UTF-8?q?=F0=9F=94=B4,=201=20=F0=9F=9F=A1=20(0=20misread);=20the=20run-p?= =?UTF-8?q?airing=20test=20holds=20each=20prompt=20with=20its=20reply=20ag?= =?UTF-8?q?ain,=20and=20the=20task=20heading=20test=20now=20kills=20its=20?= =?UTF-8?q?mutant?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/loop_claude/test_loop_claude.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/loop_claude/test_loop_claude.py b/bin/loop_claude/test_loop_claude.py index 8418860b..5df1bcb0 100644 --- a/bin/loop_claude/test_loop_claude.py +++ b/bin/loop_claude/test_loop_claude.py @@ -398,8 +398,8 @@ Worker: {OFF_LADDER} named = re.findall(r"^Judge run: (judge/[0-9a-f]{64}\.json)$", kept, re.MULTILINE) self.assertEqual(len(named), 3, kept) runs = [json.loads((chunk / name).read_text()) for name in named] - self.assertEqual(sorted(found["prompt"] for found in runs), sorted(prompts)) - self.assertEqual(sorted(json.dumps(found["reply"]) for found in runs), sorted(json.dumps(json.loads(reply.stdout)) for reply in (rejected, interrupted, finished))) + replies = [json.loads(reply.stdout) for reply in (rejected, interrupted, finished)] + self.assertEqual(sorted((found["prompt"], json.dumps(found["reply"])) for found in runs), sorted((prompt, json.dumps(reply)) for prompt, reply in zip(prompts, replies))) self.assertEqual(sorted(path.name for path in (chunk / "judge").iterdir()), sorted(name.removeprefix("judge/") for name in named)) def test_stops_when_a_judge_run_cannot_be_archived(self):