Archive each judge reply the loop rejects, with why and the reply

This commit is contained in:
2026-10-16 23:11:29 +02:00
parent 5747d2792a
commit 23dac2c1d1
9 changed files with 68 additions and 16 deletions
+1 -1
View File
@@ -480,7 +480,7 @@ class Cycles(unittest.TestCase):
self.assertEqual(run.sleeps, [60, 60])
self.assertIn("retrying the judge in a minute: judge down", run.stderr)
self.assertIn("retrying the judge in a minute: the judge printed no json reply; it printed: nothing\n", run.stderr)
self.assertEqual(run.stderr.strip().splitlines()[-1], 'the judge failed three times running: the judge\'s reply has no answer of type string; it replied: {"structured_output": {"interrupt": false}}')
self.assertEqual(run.stderr.strip().splitlines()[-1], 'the judge failed three times running: the judge\'s reply has no answer of type string')
def test_waits_out_a_usage_limit_which_ends_a_run_of_failures(self):
checkout = Checkout(self)