Say in rule's docstring that code stamps the verdict with the chunk's items

This commit is contained in:
2026-11-11 17:44:42 +01:00
parent 2d5ad7e895
commit 7507b3b670
+1 -1
View File
@@ -147,7 +147,7 @@ def worker_start(cycle: Cycle, answered: QuotedAnswer | TypedAnswer | None, step
def rule(cycle: Cycle, transcript_path: str, quoted_answers: int) -> Ruled | Stop:
"""The judge's ruling. An interrupt or a quoted answer is archived as it is ruled, on the route the worker ran on until then, and then any step-up it makes, so the figures charge each stretch of work to its own rung."""
"""The judge's ruling, which code then stamps with the items the worker names, unless it is finished. An interrupt or a quoted answer is archived as it is ruled, on the route the worker ran on until then, and then any step-up it makes, so the figures charge each stretch of work to its own rung."""
entries = read_transcript(transcript_path)
if isinstance(entries, Failure):
return Stop(1, entries.reason)