Answer principles round 1: 0 🔴, 9 🟡; drop a route handed under R + C, validate Route, rank old tables without C, settle item 166, file items 170 and 171

This commit is contained in:
2026-10-16 12:49:32 +02:00
parent 5e736d6eaa
commit 886c864521
23 changed files with 147 additions and 95 deletions
+2 -2
View File
@@ -14,14 +14,14 @@ JUDGE_REPLAYED = ("claude-opus-5-5",)
def routed_item(todo: str) -> Item | Failure | None:
"""The next release's first row that does not wait, as todo_table.waiting says, in the table's order; None when there is none, or it has no L."""
"""The next release's first row that does not wait, as todo_table.waiting says, in the table's order; None when there is none, or it lacks L, E or I."""
found = items(todo)
if isinstance(found, Failure) or not found:
return found if isinstance(found, Failure) else None
next_release = min(item.release for item in found)
waits = waiting(found)
takes = next((item for item in found if item.release == next_release and item.id not in waits), None)
return takes if takes and takes.likelihood else None
return takes if takes and takes.likelihood and takes.escape_and_impact else None
def first_route(anchor: Rung, item: Item | None) -> Route: