Answer prose round 1: 0 🔴, 6 🟡; state where seats and the security pass run above the project's rung, and clarify the routing decision, help and changelog

This commit is contained in:
2026-10-15 00:03:41 +02:00
parent b2380d982b
commit 9d65377176
7 changed files with 24 additions and 21 deletions
+2 -2
View File
@@ -52,13 +52,13 @@ def first_route(anchor: Rung, item: Item | None) -> Route:
def kept(route: Route, anchor: Rung) -> bool:
"""Whether a route carries on from anchor, the project's rung: its rung is on the ladder at or above the one its item's R + C picks from anchor."""
"""Whether a chunk keeps route: its rung is on the ladder at or above the rung its item's R + C picks from anchor, the project's rung, or anchor itself when no item routed it."""
return highest(route.rung, picked(anchor, route.risk_and_complexity) if route.item else anchor) == route.rung
def stepped(anchor: Rung, route: Route, bundled: int) -> Route:
"""The route after one more unfinished verdict; bundled is the highest R + C the judge saw the worker take into the chunk, 0 for none."""
# A rung an edit took off the ladder counts as the project's.
# An archived rung since removed from LADDER restarts from the project's rung.
rung = route.rung if route.rung in LADDER else anchor
rung = highest(rung, picked(anchor, bundled)) if bundled else rung
if route.unfinished + 1 >= UNFINISHED_PER_STEP: