Answer stability round 1: 0 🔴, 5 🟡; tell the resumed worker its stepped rung, rename the step for rulings, build NAMES_A_WORKER from the verdict constants, and test the capped answer and a failed interrupt archive
This commit is contained in:
@@ -71,8 +71,8 @@ def stepped(anchor: Rung, route: Route, bundled: int, escalated: bool) -> Route:
|
||||
return dataclasses.replace(route, rung=rung, unfinished=unfinished)
|
||||
|
||||
|
||||
def stepped_by_interrupt(anchor: Rung, route: Route, bundled: int) -> Route:
|
||||
"""The route after the judge's interrupt carried an escalation: taken_in's rung, one rung up while that is below escalation_cap. An interrupt is no unfinished verdict, so the count of those restarts only with a step."""
|
||||
def stepped_by_ruling(anchor: Rung, route: Route, bundled: int) -> Route:
|
||||
"""The route after the judge's interrupt or quoted answer carried an escalation: taken_in's rung, one rung up while that is below escalation_cap. Neither is an unfinished verdict, so the count of those restarts only with a step."""
|
||||
rung = taken_in(anchor, route, bundled)
|
||||
return stepped_from(route, rung) if below_cap(anchor, route, rung) else dataclasses.replace(route, rung=rung)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user