Route the judge and the reviewers on the highest E + I in their chunk, an item the worker takes in included
This commit is contained in:
@@ -13,7 +13,7 @@ REVIEWER_RUNG = "LOOP_CLAUDE_REVIEWER_RUNG"
|
||||
|
||||
def environment(project: Rung | None, route: Route) -> dict[str, str]:
|
||||
"""The variables a worker's claude on route starts with. A project off the ladder gets empty project and reviewer rungs, so none is inherited from the environment."""
|
||||
reviewers = review_rungs(project, route.rung, route.escape_and_impact)["reviewer"] if project else None
|
||||
reviewers = review_rungs(project, route.rung, route.reviewed_on())["reviewer"] if project else None
|
||||
return {PROJECT_RUNG: str(project) if project else "", WORKER_RUNG: str(route.rung), REVIEWER_RUNG: str(reviewers) if reviewers else ""}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user