Answer principles round 2: 0 🔴, 0 🟡; say in levels_fit that taking_in keeps fewer E + I taken in than it accepts

This commit is contained in:
2026-10-17 00:04:11 +02:00
parent 7d9fd54c80
commit dd2db8fb52
+1 -1
View File
@@ -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))