diff --git a/bin/model_routing/route.py b/bin/model_routing/route.py index 15e7b22d..4c03e1ba 100644 --- a/bin/model_routing/route.py +++ b/bin/model_routing/route.py @@ -35,7 +35,7 @@ def on_their_scales(likelihood: int, escape_and_impact: int) -> bool: def levels_fit(item: int, likelihood: int, escape_and_impact: int, escape_and_impact_taken_in: int) -> bool: - """Whether a route may hold these: an item with levels on their scales, or no item and no levels; and no E + I taken in, or one on its scale above the item's, as Route.taking_in keeps.""" + """Whether a route may hold these: an item with levels on their scales, or no item and no levels; and no E + I taken in, or one on its scale above the item's; Route.taking_in keeps fewer, only those that step the reviewers further.""" routed = on_their_scales(likelihood, escape_and_impact) if item else not (likelihood or escape_and_impact) return routed and (escape_and_impact_taken_in == 0 or (on_its_scale(escape_and_impact_taken_in) and escape_and_impact_taken_in > escape_and_impact))