Drop the comprehension panel as a merge gate, and feed the places its seats found hard to the architect, the stability reviewer and item filing

This commit is contained in:
2026-10-13 12:17:31 +02:00
parent 597cc05a91
commit 0ea21c7c83
13 changed files with 141 additions and 223 deletions
-5
View File
@@ -53,11 +53,6 @@ def ruling(overall: list[str]) -> str:
return lead(overall) or "same"
def fallen(counted: dict[str, list[str]]) -> list[str]:
"""Each dimension, Overall aside, that the seats rule worse by a lead of two."""
return [name for name, column in zip(DIMENSIONS[:-1], zip(*counted.values())) if lead(list(column)) == "worse"]
def lead(votes: list[str]) -> str | None:
"""The vote that leads each other vote by two or more, if one does."""
return next((vote for vote in VOTES if all(votes.count(vote) >= votes.count(other) + 2 for other in VOTES if other != vote)), None)