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: