diff --git a/tests/test_consolidate.py b/tests/test_consolidate.py index b1ffd7f8..0c28b556 100644 --- a/tests/test_consolidate.py +++ b/tests/test_consolidate.py @@ -219,11 +219,11 @@ def test_two_tasks_retry_adoption_eval_and_json(self): self.assertEqual((self.project / "CLAUDE.md").read_text(), "Use shared procedure.\n") text, _ = self.invoke("eval", "trial", "--repeat", "2") self.assertIn( - "Comparing the consolidated harness with the starting one on 2 task(s), 2 run(s) each.", + "Comparing the final harness with the starting one on 2 task(s), 2 run(s) each.", text, ) - self.assertIn("TASK START CONSOLIDATED\na-one 0% 100%\nb-two 0% 100%", text) - self.assertIn("mean 0% 100% (+100 points)", text) + self.assertRegex(text, r"TASK +START +FINAL\n +a-one +0% +100%\n +b-two +0% +100%") + self.assertRegex(text, r"mean +0% +100% \(\+100 points\)") self.assertIn(f"Saved to {self.run_dir / 'eval/parallel/results.json'}", text) results = json.loads((self.run_dir / "eval/parallel/results.json").read_text()) self.assertEqual(results["mean"], {"start": 0.0, "consolidated": 1.0})