Answer principles round 2: 0 🔴, 1 🟡 (0 misread); say in rule-hook's refusal that the misread count is at most the findings, and move a stray assertion back

This commit is contained in:
2026-10-23 11:45:40 +02:00
parent 477772d7a5
commit 9aa174d511
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ def round_counts(titles: list[str]) -> dict[str, int]:
def lacks_counts(title: str) -> bool:
"""Whether title is a round title without all three counts after its colon."""
"""Whether title is a round title without all three counts after its colon, or with more misread findings than 🔴 and 🟡 findings."""
return ROUND.match(title) is not None and ((counts := title_counts(title)) is None or counts.misread is None)