Leave chunks that were never replayed out of score-outcomes' medians and rank correlations

This commit is contained in:
2026-10-21 17:56:38 +02:00
parent 6b6b82803d
commit 92f8204702
4 changed files with 36 additions and 13 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
## Unreleased
- `score-outcomes` measures each chunk on the default branch's first-parent line: a merge commit is a chunk of its own, and any other commit joins the commit above it when both share a commit time, else starts a chunk.
- `score-outcomes` measures each chunk on the default branch's first-parent line: a merge commit is a chunk of its own, and any other commit joins the commit above it when both share a commit time, else starts a chunk. A chunk whose commits were pushed or fast-forwarded as committed may hold only part of its pull request, so the medians and rank correlations leave it out.
- Every project now shares one achieve goal, code health: the code is easy to understand and change safely. `CLAUDE.md` → "Shared goal" states it, with its signal and counter-signal. `rank_todo.py` ranks it first among a project's achieve goals. A project's overall is the overall mean of the newest scoring run in `docs/comprehension-history.md`, averaged with every other run on its commit. While that overall is under 7.0, or no run has measured the project, code health weighs four times as much as it does at 7.0 or above. An item's Moves cell names it as in `code health by 6`. A README voids it with `**Void:** code health, since <reason>.` under `## Goals`, and `rank_todo.py` then refuses an item that names it. `larv-review record-scoring` re-ranks `todo.md` after it appends a run, and exits 1 where `rank_todo.py` would, keeping the run. Expect items that make code easier to read to rank higher in every project. On upgrade:
1. Move every machine to this release before any of them ranks a plan another machine shares: an older `rank_todo.py` scores it without code health and rejects a `code health` cell.
2. Void code health in each project that opts out of the comprehension check, or `rank_todo.py` refuses its plan.