Answer stability round 1: 0 🔴, 7 🟡; quote a judge's stdout that is no json, name each left-out round and why, test the string prompt, the miss sum, the args sent to claude and the skip paths, settle the judge's hard place in item 122
This commit is contained in:
@@ -42,6 +42,10 @@ class Replayed(unittest.TestCase):
|
||||
self.assertEqual(search(["a"], [MIDDLE, CHEAP], {REFERENCE: {"a": {0}}, MIDDLE: {"a": set()}})[0], Replay([{0}], [Tried(MIDDLE, [Miss("a", 0, set())])], None))
|
||||
self.assertEqual(search(["a"], [MIDDLE], {REFERENCE: {"a": set()}}), (Replay([set()], [], None), [("a", REFERENCE)]))
|
||||
|
||||
def test_counts_a_miss_in_any_case_not_only_the_last(self):
|
||||
replies = {REFERENCE: {"a": {0}, "b": {0}}, MIDDLE: {"a": set(), "b": {0}}}
|
||||
self.assertEqual(search(["a", "b"], [MIDDLE], replies)[0], Replay([{0}, {0}], [Tried(MIDDLE, [Miss("a", 0, set())])], None))
|
||||
|
||||
def test_stops_at_a_usage_limit(self):
|
||||
limit = Limited(None, "limit")
|
||||
self.assertEqual(search(["a"], [MIDDLE], {REFERENCE: limit})[0], limit)
|
||||
|
||||
Reference in New Issue
Block a user