Answer principles round 1: 0 🔴, 4 🟡 (0 misread); drop typing.cast and subTest loops from new code, state the price list's two uses, record the subTest decision

This commit is contained in:
2026-11-12 20:18:54 +01:00
parent 95fb0d03cf
commit 7e29dc0014
12 changed files with 71 additions and 29 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ def moment(stamp: str) -> datetime.datetime:
return datetime.datetime.fromisoformat(stamp)
# An outcome's stamp runs to the second, so a message written earlier in that second would count in both stretches. In practice none is, since the judge runs for seconds after the worker's last message.
# An outcome's stamp runs to the second, so a message written earlier in that second would count in both stretches. The worker writes none then, since the judge runs for seconds after its last message; a subagent or a /talk session still running may, which overcounts that message once.
def later(timestamp: str, start: datetime.datetime) -> bool:
"""Whether timestamp is after start; False where it is no time, or names no time zone to compare by."""
try:
-1
View File
@@ -26,7 +26,6 @@ from loop_claude.stop import Stop
from loop_claude.direct_message import tell
def main(argv: list[str], env: typing.Mapping[str, str], paths: Paths, launcher: pathlib.Path, cwd: pathlib.Path, effects: Effects) -> int:
try:
stop = run_loop(argv, env, paths, launcher, cwd, effects)