Answer product-owner round 2: rewrap the help to 100 columns, and say a moved Mean run prints only its means

This commit is contained in:
2026-10-09 11:42:32 +02:00
parent 4e728df7cc
commit e2e3569e1f
+42 -42
View File
@@ -10,29 +10,29 @@ docs/comprehension-history.md in the checkout.
ruling-base prints the commit a paired ruling reads against, then which of these found it. The last
measured commit is the default branch's newest merged change whose last added paired ruling, by
heading time, is better, or that adds a scoring run to the history while that ruling names no
fall; a merge commit counts as one change against its first parent. With none, the base is the one the history's first paired
ruling names; with no ruling either, it is the merge base of HEAD and the default branch.
heading time, is better, or that adds a scoring run to the history while that ruling names no fall;
a merge commit counts as one change against its first parent. With none, the base is the one the
history's first paired ruling names; with no ruling either, it is the merge base of HEAD and the
default branch.
round-count prints each pass's count: the highest <n> among the titles opening
`Answer <pass> round <n>:` of commits the default branch does not hold. It marks each pass at the
cap of {cap} rounds, and each name in such a title that is not a pass.
round-count prints each pass's count: the highest <n> among the titles opening `Answer <pass> round
<n>:` of commits the default branch does not hold. It marks each pass at the cap of {cap} rounds,
and 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.` The chunk's entries are those
the checkout's history holds and the default branch's lacks. It is due when the chunk ships an
item whose tagline names the comprehension floor, when the chunk's newest entry is a paired ruling
with a `Fell:` line, or when it leaves a release with no item in the checkout's todo.md, less the
shipped items, and work has landed towards that release. Work has landed when the chunk ships one
of the release's items, or when the release is the earliest the
default branch's todo.md names and the default branch has a commit after its newest v* tag, or has
no v* tag.
the checkout's history holds and the default branch's lacks. It is due when the chunk ships an item
whose tagline names the comprehension floor, when the chunk's newest entry is a paired ruling with a
`Fell:` line, or when it leaves a release with no item in the checkout's todo.md, less the shipped
items, and work has landed towards that release. Work has landed when the chunk ships one of the
release's items, or when the release is the earliest the default branch's todo.md names and the
default branch has a commit after its newest v* tag, or has no v* tag.
record-ruling and record-scoring read a seats file: a first line naming what the seats read,
`<PR or branch> at <commit>`, ending `, against <base>` for a paired ruling, then each seat's
line, each followed by its places, one `- ` bullet each, as the history writes them. A seat's line
opens with its label, written exactly: `Junior A:`, `Mid A:`, `Maintainability senior:` or
`Inherited architect:`.
record-ruling and record-scoring read a seats file: a first line naming what the seats read, `<PR or
branch> at <commit>`, ending `, against <base>` for a paired ruling, then each seat's line, each
followed by its places, one `- ` bullet each, as the history writes them. A seat's line opens with
its label, written exactly: `Junior A:`, `Mid A:`, `Maintainability senior:` or `Inherited
architect:`.
PR #231 at abc1234, against def5678
@@ -46,35 +46,35 @@ opens with its label, written exactly: `Junior A:`, `Mid A:`, `Maintainability s
- Navigation: `README.md:40` "Tools": ...
- Locality: `bin/x.py:12` `run`: ...
record-ruling takes Mid A's and the inherited architect's votes on each dimension and overall,
each better, same or worse. Each place opens with the names from the seat's line that it moves,
joined by `, ` and followed by `: `. A dimension's vote counts as same unless one of the seat's
places opens with that dimension and holds a `path:line` in backticks; the overall vote counts as
same unless any place holds one. The printed votes say so. When the two counted overall votes
differ, it appends nothing and prints `Split:`, saying to add the maintainability senior's and
Junior A's lines. Otherwise the ruling is the overall vote that leads each other vote by two or more, else same; it
prints `Ruling:` and appends the ruling. A dimension falls when its worse votes lead each other
vote by two or more. Unless the ruling is worse, it prints and records a `Fell:` line naming each.
record-ruling takes Mid A's and the inherited architect's votes on each dimension and overall, each
better, same or worse. Each place opens with the names from the seat's line that it moves, joined by
`, ` and followed by `: `. A dimension's vote counts as same unless one of the seat's places opens
with that dimension and holds a `path:line` in backticks; the overall vote counts as same unless any
place holds one. The printed votes say so. When the two counted overall votes differ, it appends
nothing and prints `Split:`, saying to add the maintainability senior's and Junior A's lines.
Otherwise the ruling is the overall vote that leads each other vote by two or more, else same; it
prints `Ruling:` and appends the ruling. A dimension falls when its worse votes lead each other vote
by two or more. Unless the ruling is worse, it prints and records a `Fell:` line naming each.
record-scoring takes a seats file and the IDs of the items the chunk ships, as needs-scoring-run
does. The file holds Junior A's, Mid A's, the maintainability senior's and the inherited
architect's lines in that order, or a `Mean:` line alone for a run moved from a decision entry.
Each line is `Navigation <n>, Locality <n>, Shape <n>, Self-sufficiency <n>, Overall <n>`, each
score from 1 to 10 and the overall at most 1 above the line's lowest dimension. Its first line
names no `, against`. It appends the seats' scores and their means, rounded half up to two
decimals, and prints the means, the item IDs it read, and each mean under the floor of {floor}. It
exits 1 on a run with seats that no plan item, release or fall calls. A line opening `Floor:` says
the means under the floor block the merge, as they do when needs-scoring-run would give a reason
besides a fall. It reads the chunk's entries as needs-scoring-run does. When a fall is pending, it
says whether the paired ruling stands. When a fallen dimension's mean is under the floor, the
ruling counts as worse, and it prints and records a `Ratchet:` line. needs-scoring-run repeats that
line, prefixed with `Still standing:`, until a paired ruling follows it. Once a scoring run follows
a fall, the fall calls no other.
does. The file holds Junior A's, Mid A's, the maintainability senior's and the inherited architect's
lines in that order, or a `Mean:` line alone for a run moved from a decision entry. Each line is
`Navigation <n>, Locality <n>, Shape <n>, Self-sufficiency <n>, Overall <n>`, each score from 1 to
10 and the overall at most 1 above the line's lowest dimension. Its first line names no `, against`.
It appends the seats' scores and their means, rounded half up to two decimals, and prints the means,
the item IDs it read, and each mean under the floor of {floor}. It exits 1 on a run with seats that
no plan item, release or fall calls. A line opening `Floor:` says the means under the floor block
the merge, as they do when needs-scoring-run would give a reason besides a fall. It reads the
chunk's entries as needs-scoring-run does. When a fall is pending, it says whether the paired ruling
stands. When a fallen dimension's mean is under the floor, the ruling counts as worse, and it prints
and records a `Ratchet:` line. needs-scoring-run repeats that line, prefixed with `Still standing:`,
until a paired ruling follows it. Once a scoring run follows a fall, the fall calls no other. A file
holding a `Mean:` line alone prints only its means.
Each record is appended to the history, created when missing, under a heading of the current UTC
time and the seats file's first line. A file holding a `Mean:` line alone opens with the date or
time its decision entry gives, and that line alone is the heading. Each commit the line names
must be in the checkout. Each run appends, so record a ruling or a run once.
time its decision entry gives, and that line alone is the heading. Each commit the line names must
be in the checkout. Each run appends, so record a ruling or a run once.
Exit 1, saying why, on unknown arguments, an unknown item ID, a seats file it cannot read or that
breaks the shape above, or when git cannot start, finds no checkout or no default branch, cannot