Answer prose round 1: 0 🔴, 4 🟡 (0 misread); reword the changelog bullet, printed reason, help text and comment, and name the tagline phrase in the Next line

This commit is contained in:
2026-11-12 21:21:39 +01:00
parent 3f7f4e74fc
commit 6a617f5a2c
6 changed files with 16 additions and 15 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Unreleased ## Unreleased
- larv-review calls a scoring run, and files or refreshes a floor item, only for an item whose tagline opens with `Reach the comprehension floor:`, so a tagline that quotes the floor, such as a decision title, no longer counts. - larv-review takes an item as a floor item only where its tagline opens with `Reach the comprehension floor:`. A tagline that quotes the floor elsewhere, such as in a decision title, no longer makes its chunk due a scoring run. Reword each open floor item's tagline in every project's `todo.md` to open with the phrase.
## 0.9.0 ## 0.9.0
+4 -4
View File
@@ -32,8 +32,8 @@ 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 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 prints why the chunk is due a scoring run, or `No scoring run due.` It is due when the chunk ships
an item whose tagline opens with `Reach the comprehension floor:`. It is also due when the chunk leaves a release a floor item, one whose tagline opens with `Reach the comprehension floor:`. It is also due when the
with no item in the checkout's todo.md, once the shipped items are set aside, and work has landed chunk leaves a release with no item in the checkout's todo.md, once the shipped items are set aside, and work has landed
towards that release; bin/larv_review/plan.py's `work_landed` and `landed_towards` say when. A release the checkout's towards that release; bin/larv_review/plan.py's `work_landed` and `landed_towards` say when. A release the checkout's
todo.md marks renamed in its ## Renamed section, as `- 0.2.1 renamed to 0.3.0`, is due none. todo.md marks renamed in its ## Renamed section, as `- 0.2.1 renamed to 0.3.0`, is due none.
A chunk is also due one while no scoring run in the default branch's history is newer than the A chunk is also due one while no scoring run in the default branch's history is newer than the
@@ -97,8 +97,8 @@ record-scoring takes the scores file of a run needs-scoring-run calls, whose fir
`, against`, and the same item IDs, and exits 1 when they call no run. It appends the seats' scores `, against`, and the same item IDs, and exits 1 when they call no run. It appends the seats' scores
and their means, rounded half up to two decimals, prints the means and, when a mean is under the and their means, rounded half up to two decimals, prints the means and, when a mean is under the
floor of {floor}, a line opening `Floor:` naming each one. A line opening `Next:` follows it. It floor of {floor}, a line opening `Floor:` naming each one. A line opening `Next:` follows it. It
says to file a floor item, one whose tagline opens with `Reach the comprehension floor:`, aimed at the lowest of the says to file a floor item aimed at the lowest of the four dimensions, and names the tagline's opening
four dimensions. Where the checkout's todo.md holds such an item other than those given, it says to `Reach the comprehension floor:`. Where the checkout's todo.md holds such an item other than those given, it says to
refresh that item instead. Then it ranks the checkout's todo.md as rank_todo.py does, since the refresh that item instead. Then it ranks the checkout's todo.md as rank_todo.py does, since the
overall sets the weight of code health, the goal every project shares, and exits 1 where overall sets the weight of code health, the goal every project shares, and exits 1 where
rank_todo.py would, with the run recorded. Last, it removes what prepare-scoring set up, so a rank_todo.py would, with the run recorded. Last, it removes what prepare-scoring set up, so a
+1 -1
View File
@@ -25,7 +25,7 @@ def scoring_run_due(before: list[Item], after: list[Item], ships: list[int], lan
if unknown := sorted(set(ships) - set(plan)): if unknown := sorted(set(ships) - set(plan)):
return Failure(f"neither plan holds item {', '.join(map(str, unknown))}") return Failure(f"neither plan holds item {', '.join(map(str, unknown))}")
shipped = [plan[id_] for id_ in ships] shipped = [plan[id_] for id_ in ships]
reasons = [f"ships item {item.id}, which names the comprehension floor" for item in shipped if is_floor_item(item)] reasons = [f"ships item {item.id}, a floor item" for item in shipped if is_floor_item(item)]
if unmeasured: if unmeasured:
reasons.append(f"follows {unmeasured}") reasons.append(f"follows {unmeasured}")
for release in emptied(before, after, shipped, renamed): for release in emptied(before, after, shipped, renamed):
+2 -2
View File
@@ -3,7 +3,7 @@ import decimal
from review_rules.comprehension_history import DIMENSIONS, FLOOR from review_rules.comprehension_history import DIMENSIONS, FLOOR
from release_plan.todo_table import Item from release_plan.todo_table import Item
# A floor item's tagline opens with this phrase, and plan.scoring_run_due keys on it too, so each floor item's chunk runs a scoring run. A quoted decision title or a passing mention never opens a tagline, so the check needs no parsing. # A floor item's tagline opens with this phrase, which a tagline quoting or mentioning the floor never does; a floor item's chunk runs a scoring run.
FLOOR_ITEM = "Reach the comprehension floor:" FLOOR_ITEM = "Reach the comprehension floor:"
@@ -38,4 +38,4 @@ def floor_step(found: list[decimal.Decimal], plan: list[Item], ships: list[int])
rule = 'as larv-review §3 → "Floor item" says.' rule = 'as larv-review §3 → "Floor item" says.'
if open_items := [item for item in plan if is_floor_item(item) and item.id not in ships]: if open_items := [item for item in plan if is_floor_item(item) and item.id not in ships]:
return f"Next: refresh floor item {open_items[0].id} to lift {aim}, with this run's places, and file no other, {rule}" return f"Next: refresh floor item {open_items[0].id} to lift {aim}, with this run's places, and file no other, {rule}"
return f"Next: file one floor item, a refactor lifting {aim}, until every mean reaches {FLOOR}, {rule}" return f"Next: file one floor item, a refactor lifting {aim}, with a tagline that opens with `{FLOOR_ITEM}`, until every mean reaches {FLOOR}, {rule}"
+5 -4
View File
@@ -122,6 +122,7 @@ class Seats(unittest.TestCase):
with self.subTest("none open"): with self.subTest("none open"):
step = floor_step(found, [item(1, (0, 1, 0))], []) step = floor_step(found, [item(1, (0, 1, 0))], [])
self.assertTrue(step.startswith("Next: file one floor item"), step) self.assertTrue(step.startswith("Next: file one floor item"), step)
self.assertIn("with a tagline that opens with `Reach the comprehension floor:`,", step)
self.assertIn(" Self-sufficiency, the lowest dimension,", step) self.assertIn(" Self-sufficiency, the lowest dimension,", step)
self.assertIn('"Floor item"', step) self.assertIn('"Floor item"', step)
with self.subTest("one open"): with self.subTest("one open"):
@@ -364,9 +365,9 @@ class ScoringRunDue(unittest.TestCase):
plan = [item(1, (0, 1, 0), "**Call a scoring run for an item whose tagline makes the comprehension floor its target.**"), item(2, (0, 1, 0))] plan = [item(1, (0, 1, 0), "**Call a scoring run for an item whose tagline makes the comprehension floor its target.**"), item(2, (0, 1, 0))]
self.assertEqual(scoring_run_due(plan, plan, [1], (0, 1, 0), set()), []) self.assertEqual(scoring_run_due(plan, plan, [1], (0, 1, 0), set()), [])
def test_is_due_for_an_item_naming_the_floor(self): def test_is_due_for_a_floor_item(self):
plan = [item(1, (0, 1, 0), "**Reach the comprehension floor: lift the project.**"), item(2, (0, 1, 0))] plan = [item(1, (0, 1, 0), "**Reach the comprehension floor: lift the project.**"), item(2, (0, 1, 0))]
self.assertEqual(scoring_run_due(plan, plan, [1], (0, 1, 0), set()), ["ships item 1, which names the comprehension floor"]) self.assertEqual(scoring_run_due(plan, plan, [1], (0, 1, 0), set()), ["ships item 1, a floor item"])
self.assertIsInstance(scoring_run_due(plan, plan, [9], (0, 1, 0), set()), Failure) self.assertIsInstance(scoring_run_due(plan, plan, [9], (0, 1, 0), set()), Failure)
def test_is_due_when_the_chunk_ships_a_releases_last_item(self): def test_is_due_when_the_chunk_ships_a_releases_last_item(self):
@@ -440,7 +441,7 @@ class Shortfall(unittest.TestCase):
def test_a_chunk_that_empties_a_release_owes_two_runs_and_any_other_reason_one(self): def test_a_chunk_that_empties_a_release_owes_two_runs_and_any_other_reason_one(self):
emptied = ["leaves release 0.1.0 with no plan item"] emptied = ["leaves release 0.1.0 with no plan item"]
floor = ["ships item 2, which names the comprehension floor"] floor = ["ships item 2, a floor item"]
self.assertIn("owes 2 scoring runs and the branch's committed history records 1", shortfall(emptied + floor, 1).reason) self.assertIn("owes 2 scoring runs and the branch's committed history records 1", shortfall(emptied + floor, 1).reason)
self.assertIn("owes 1 scoring run and", shortfall(floor, 0).reason) self.assertIn("owes 1 scoring run and", shortfall(floor, 0).reason)
self.assertIn("records 0:", shortfall(floor, -1).reason) self.assertIn("records 0:", shortfall(floor, -1).reason)
@@ -545,7 +546,7 @@ class LarvReviewTool(unittest.TestCase):
self.commit("Plan the floor item", {"todo.md": todo(row, "| 2 | 0.2.0 | | **Reach the comprehension floor: do it.** | 1 | 1 | 3 | 1 | 1 | 1 | 9.0 |", other)}) self.commit("Plan the floor item", {"todo.md": todo(row, "| 2 | 0.2.0 | | **Reach the comprehension floor: do it.** | 1 | 1 | 3 | 1 | 1 | 1 | 9.0 |", other)})
self.git("push", "-q", "origin", "HEAD:main") self.git("push", "-q", "origin", "HEAD:main")
self.commit("Ship it", {"todo.md": todo(row, other)}) self.commit("Ship it", {"todo.md": todo(row, other)})
self.assertIn("names the comprehension floor", self.run_tool("scoring-run-owed").stderr) self.assertIn("a floor item", self.run_tool("scoring-run-owed").stderr)
self.commit("Record a run", {"docs/comprehension-history.md": "# Comprehension history\n\n" + SCORING}) self.commit("Record a run", {"docs/comprehension-history.md": "# Comprehension history\n\n" + SCORING})
self.assertEqual(self.run_tool("scoring-run-owed").returncode, 0) self.assertEqual(self.run_tool("scoring-run-owed").returncode, 0)
+3 -3
View File
@@ -35,7 +35,7 @@
| 273 | 0.11.0 | | decision | **Re-tune the E + I steps of `REVIEW_STEPS` for 6 to 8 once 10 finished chunks have scored an E + I of 6 or more, from how well E + I orders their review rounds and 🔴 findings.** | 1 | 2 | 2 | 3 | 2 | 1.1 by 2, 1.4 by 3 | 2.3 | | 273 | 0.11.0 | | decision | **Re-tune the E + I steps of `REVIEW_STEPS` for 6 to 8 once 10 finished chunks have scored an E + I of 6 or more, from how well E + I orders their review rounds and 🔴 findings.** | 1 | 2 | 2 | 3 | 2 | 1.1 by 2, 1.4 by 3 | 2.3 |
| 268 | 0.11.0 | | | **End a run whose release is ready to cut with a notice on loop-claude's terminal, in place of an interrupt that waits for an answer.** | 2 | 2 | 3 | 5 | 3 | 1 by 5 | 2.2 | | 268 | 0.11.0 | | | **End a run whose release is ready to cut with a notice on loop-claude's terminal, in place of an interrupt that waits for an answer.** | 2 | 2 | 3 | 5 | 3 | 1 by 5 | 2.2 |
| 171 | 0.11.0 | | decision | **Group the routing figures' review rounds by the reviewers' rung as well as the worker's, so a call blames a rung only for rounds its own reviews raised.** | 3 | 2 | 2 | 5 | 4 | 1.2 by 3, 1.4 by 3 | 2.0 | | 171 | 0.11.0 | | decision | **Group the routing figures' review rounds by the reviewers' rung as well as the worker's, so a call blames a rung only for rounds its own reviews raised.** | 3 | 2 | 2 | 5 | 4 | 1.2 by 3, 1.4 by 3 | 2.0 |
| 300 | 0.11.0 | | owner | **Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency first; today the run at fba48f3 scored Navigation 6.88, Locality 5.63, Shape 6.00, Self-sufficiency 5.00 and Overall 5.88.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 2.0 | | 300 | 0.11.0 | | owner | **Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency first; today the scoring run at fba48f3 scored Navigation 6.88, Locality 5.63, Shape 6.00, Self-sufficiency 5.00 and Overall 5.88.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 2.0 |
| 264 | 0.11.0 | | | **Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 5 | 2.0 | | 264 | 0.11.0 | | | **Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.** | 2 | 2 | 1 | 3 | 3 | 1.4 by 5 | 2.0 |
| 323 | 0.11.0 | | | **Count a release review as landed once its pull request has merged, whatever its commits are titled.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 2.0 | | 323 | 0.11.0 | | | **Count a release review as landed once its pull request has merged, whatever its commits are titled.** | 3 | 2 | 3 | 6 | 3 | 1.4 by 3, 1.5 by 2 | 2.0 |
| 342 | 0.11.0 | | | **Research the tooling agents read, search and run commands with once more, and file an item for each tool that cuts tokens a replay shows keep quality.** | 1 | 2 | 1 | 2 | 3 | 1.4 by 3, 1.5 by 2 | 2.0 | | 342 | 0.11.0 | | | **Research the tooling agents read, search and run commands with once more, and file an item for each tool that cuts tokens a replay shows keep quality.** | 1 | 2 | 1 | 2 | 3 | 1.4 by 3, 1.5 by 2 | 2.0 |
@@ -233,7 +233,7 @@ Releases are the human's, and `CLAUDE.md` → "Working loop" already ends the lo
Raised by the goals audit of PR #296. `bin/routing_figures/calls.py` groups a chunk's review rounds by the rung its worker started on, and calls for a routing change when a lower rung took more of them. Since PR #296 the reviewers may run above the worker's rung, on the one their item's E + I picks, and no figure groups rounds by it, though the archived worker line names the E + I it follows from. A cheap worker on an item of high E + I gets stronger reviewers, who may raise more rounds, and a call could then blame the worker's rung for them: an interrupt of lilleman that settles nothing (goal 1.2). Raised by the goals audit of PR #296. `bin/routing_figures/calls.py` groups a chunk's review rounds by the rung its worker started on, and calls for a routing change when a lower rung took more of them. Since PR #296 the reviewers may run above the worker's rung, on the one their item's E + I picks, and no figure groups rounds by it, though the archived worker line names the E + I it follows from. A cheap worker on an item of high E + I gets stronger reviewers, who may raise more rounds, and a call could then blame the worker's rung for them: an interrupt of lilleman that settles nothing (goal 1.2).
### 300. Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency first; today the run at fba48f3 scored Navigation 6.88, Locality 5.63, Shape 6.00, Self-sufficiency 5.00 and Overall 5.88. ### 300. Reach the comprehension floor: restructure the places the comprehension seats found hardest to follow, so the project reads at 7.0 or above on every dimension, Self-sufficiency first; today the scoring run at fba48f3 scored Navigation 6.88, Locality 5.63, Shape 6.00, Self-sufficiency 5.00 and Overall 5.88.
Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from the second run of PR #510 at fba48f3. The lowest mean is Self-sufficiency, 5.00: all four seats name a reason that sits in `docs/decisions.md`, in the vocabulary at the end of `CLAUDE.md` or in `skills/larv-review/SKILL.md` rather than beside the code. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item. Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from the second run of PR #510 at fba48f3. The lowest mean is Self-sufficiency, 5.00: all four seats name a reason that sits in `docs/decisions.md`, in the vocabulary at the end of `CLAUDE.md` or in `skills/larv-review/SKILL.md` rather than beside the code. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item.
@@ -265,7 +265,7 @@ Places the seats named, hardest first (`larv-review places`):
- Shape: `reviewer-merge-trials/driver.py:1` `driver`: one-off trial scripts space-indented and tersely named, against the repo's tabs and naming. - Shape: `reviewer-merge-trials/driver.py:1` `driver`: one-off trial scripts space-indented and tersely named, against the repo's tabs and naming.
- Self-sufficiency: the seats on this run name the decision-log titles that code cites for a constant's reason (`routing: …` in `routing.py`, `ladder.py`, `judge.py`) as the largest cost; state each reason beside its constant. - Self-sufficiency: the seats on this run name the decision-log titles that code cites for a constant's reason (`routing: …` in `routing.py`, `ladder.py`, `judge.py`) as the largest cost; state each reason beside its constant.
Scored L 4 because the refactor touches several components that hold known defects, E 2 because review and a manual check see a regression, I 3 because every session runs these tools. The chunk runs a scoring run, since its tagline names the comprehension floor. Scored L 4 because the refactor touches several components that hold known defects, E 2 because review and a manual check see a regression, I 3 because every session runs these tools. The chunk runs a scoring run, since it is a floor item.
### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars. ### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.