Answer prose round 1: 0 🔴, 7 🟡 (0 misread); fix the CAP comment, help, decision and AGENTS.md wording
This commit is contained in:
@@ -22,11 +22,11 @@ measured commit is the default branch's newest merged change that adds a paired
|
||||
run to the history; a merge commit counts as one change against its first parent. With none, it is
|
||||
the merge base of HEAD and the default branch.
|
||||
|
||||
round-count prints each pass's round count among the branch's commits since the default branch,
|
||||
following first parents as rule-hook's round-cap does, whose titles open `Answer <pass> round <n>:`,
|
||||
ignoring case. The count is the highest <n>, or the number of such commits when that is more. At or
|
||||
past the cap of {cap} rounds, it says the pass takes no more rounds. It also lists each name in such
|
||||
a title that is not a pass.
|
||||
round-count prints each pass's round count among the branch's commits since the default branch
|
||||
whose titles open `Answer <pass> round <n>:`, ignoring case. It follows first parents, as
|
||||
rule-hook's round-cap does. The count is the highest <n>, or the number of such commits when that
|
||||
is more. At or past the cap of {cap} rounds, it says the pass takes no more rounds. It also lists
|
||||
each name in such a title that is not a pass.
|
||||
|
||||
needs-scoring-run takes the IDs of the todo.md items the chunk ships, none when it ships none, and
|
||||
prints why the chunk is due a scoring run, or `No scoring run due.` It is due when the chunk ships
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ import re
|
||||
|
||||
from review_passes import PASSES
|
||||
|
||||
# The most rounds a pass takes per chunk, per `docs/decisions.md` → `review: a pass gets at most two rounds per chunk; …`: the fixes answering the last one merge unreviewed. rule-hook's `round-cap` enforces it, refusing a round commit past_cap finds, and `larv-review round-count` marks a pass that reached it.
|
||||
# The most rounds a pass takes per chunk, per `docs/decisions.md` → `review: a pass gets at most two rounds per chunk, …`. rule-hook's `round-cap` refuses a round commit that `past_cap` finds takes its pass past it, and `larv-review round-count` marks a pass that reached it.
|
||||
CAP = 2
|
||||
ROUND = re.compile(r"^Answer (.+?) round ([0-9]+):", re.IGNORECASE)
|
||||
# What follows a round title's colon: the round's 🔴 and 🟡 counts, then how many of them a reviewer marked `[misread]`, a count that titles from before it lack, then `;` and its summary, if any.
|
||||
|
||||
Reference in New Issue
Block a user