Answer prose round 1: 0 🔴, 0 🟡 (0 misread); reword the clock comment
CI / tests (pull_request) Has been cancelled

This commit is contained in:
2026-12-01 16:58:15 +01:00
parent 4af3edbfa5
commit 73c0d59245
+1 -1
View File
@@ -141,7 +141,7 @@ if os.path.basename(sys.argv[0]) == "loop-claude":
record({"argv": sys.argv[1:]})
pause = time.sleep
time.sleep = lambda seconds: record({"sleep": seconds}) if seconds >= 1 else pause(seconds)
# A test that sets LOOP_TEST_NOW fixes the loop's wall clock at that many seconds since the epoch.
# LOOP_TEST_NOW pins the loop's wall clock to that many seconds since the epoch.
if "LOOP_TEST_NOW" in os.environ:
time.time = lambda: float(os.environ["LOOP_TEST_NOW"])
# The host's own memory doesn't matter: every read finds all of it available.