Answer prose round 1: 0 🔴, 10 🟡; one claim per sentence in the CHANGELOG, the rule and Count, accurate comments, and a sorted Tools list

This commit is contained in:
2026-10-13 12:00:25 +02:00
parent 8f1a937005
commit 5b6c497256
12 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -38,7 +38,7 @@ RULES: dict[RuleName, Rule] = {
"a git, gh or tea command, and any file written",
),
"round-title-counts": Rule(
"a larv-review round's commit title gives the 🔴 and 🟡 findings the round reported, such as `Answer stability round 1: 1 🔴, 2 🟡; flag a deleted test`, since score-outcomes counts them",
"a larv-review round's commit title gives the counts of 🔴 and 🟡 findings the round reported, such as `Answer stability round 1: 1 🔴, 2 🟡; flag a deleted test`, since score-outcomes counts them",
"a git commit whose message opens `Answer <pass> round <n>:`",
),
"todo-rank-check": Rule(
@@ -105,7 +105,7 @@ def command_breaches(command: str, simples: list[Simple], home: str) -> list[Bre
elif len(commit.messages) > 1 or any("\n" in message.strip() for message in commit.messages):
breaches.append(Breach("commit-one-line", "pass the message as one -m '<line>', with no heredoc, second -m or newline", commit.directory))
if any(lacks_counts(message) for message in commit.messages):
breaches.append(Breach("round-title-counts", "open the summary after the round's colon with `<n> 🔴, <n> 🟡;`", commit.directory))
breaches.append(Breach("round-title-counts", "open the summary after the round's colon with `<k> 🔴, <m> 🟡;`", commit.directory))
return breaches