Answer prose round 1: 0 🔴, 2 🟡 (0 misread); reword the timer's docstrings, comments and help, rename the no-compaction test

This commit is contained in:
2026-11-19 04:44:37 +01:00
parent 708347382b
commit a2ea673822
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -838,7 +838,7 @@ class Interrupts(unittest.TestCase):
handle.write(json.dumps(said) + "\n")
def fired(self, fake, answer):
"""An input the human types answer at, after every timer started has fired."""
"""An input that first fires every timer started, then returns answer as the line the human typed."""
def typed(prompt):
for _, action in fake.timers:
action()
@@ -895,7 +895,7 @@ class Interrupts(unittest.TestCase):
self.assertEqual([seam for seam, _ in fake.calls if seam in ("memory", "sleep", "stream_claude")], ["stream_claude"])
self.assertNotIn("waiting to start the worker", said)
def test_an_answer_before_the_timer_fires_stops_it_and_compacts_nothing(self):
def test_an_answer_before_the_timer_fires_stops_it_and_doesnt_compact_anything(self):
self.worked(minutes_ago=10)
fake = FakeEffects(inputs=["Use B."])
self.assertEqual(self.put(fake)[0], "Use B.")