Answer prose round 1: 0 🔴, 6 🟡 (0 misread); the comments, the presentation and the routing decision state the new steps
CI / tests (pull_request) Failing after 3m51s
CI / tests (pull_request) Failing after 3m51s
This commit is contained in:
@@ -60,7 +60,7 @@ class Ladder:
|
||||
return Rung(family.model, effort) if effort else family
|
||||
|
||||
def project_rung(self, model: str) -> "ProjectRung | None":
|
||||
"""The model's cheapest rung, which for Opus 5.5 is its default effort, on this ladder; None for a model off the ladder."""
|
||||
"""The model's cheapest rung on this ladder, which for Opus 5.5 is its default effort; None for a model off the ladder."""
|
||||
rung = next((rung for rung in self.rungs if rung.model == model), None)
|
||||
return ProjectRung(self, rung) if rung else None
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ def hands_rungs(environ: typing.Mapping[str, str]) -> bool:
|
||||
|
||||
|
||||
def handed(environ: typing.Mapping[str, str], ladder: Ladder) -> tuple[ProjectRung | None, Rung | None, int]:
|
||||
"""The project's rung, on ladder, and the worker's rung, each None when unset or not on ladder, and the reviews' E + I, 0 when unset or not a whole number. ladder is the project's. An older loop-claude hands no E + I, and 0 steps no review up."""
|
||||
"""The project's rung and the worker's rung, each None when unset or not on ladder, and the reviews' E + I, 0 when unset or not a whole number. ladder is the project's. An older loop-claude hands no E + I, and 0 steps no review up."""
|
||||
escape_and_impact = environ.get(ESCAPE_AND_IMPACT, "")
|
||||
project = on_the_ladder(environ.get(PROJECT_RUNG), ladder)
|
||||
return ProjectRung(ladder, project) if project else None, on_the_ladder(environ.get(WORKER_RUNG), ladder), int(escape_and_impact) if escape_and_impact.isdecimal() else 0
|
||||
|
||||
Reference in New Issue
Block a user