Answer architecture round 1: 0 🔴, 7 🟡 (0 misread); hold one lock per loop for its whole run, group the judge's readings of the items taken in, list them as given

This commit is contained in:
2026-10-29 20:23:07 +01:00
parent 9bcfaebb83
commit dcdb8b5868
16 changed files with 274 additions and 278 deletions
+2 -2
View File
@@ -26,8 +26,8 @@ class LoopRun:
route: Route | None = None
# How many unfinished verdicts the chunk has had running; a finished chunk and a rerun each set it to 0. It stays apart from route and unfinished_evidence, though all three change together at each verdict: merging or renaming a field stops a running loop at its next reload.
unfinished_run: int = 0
# The IDs of the items the judge has found the chunk takes, beside the one it was routed on; loop-inbox lists them. A finished chunk empties it.
taken_in: tuple[int, ...] = ()
# The IDs of the items the last unfinished verdict found the chunk takes, which loop-inbox lists until the next ruling. A finished chunk empties it.
items_taken_in: tuple[int, ...] = ()
def decode_handed(handed: str, kind: type[T]) -> T | None: