Answer stability round 1: 0 🔴, 2 🟡 (0 misread); inject home into the goals file lookup and rename readme in ranking

This commit is contained in:
2026-11-13 00:29:22 +01:00
parent ad6118d19f
commit 7b6201cab6
27 changed files with 110 additions and 96 deletions
+11 -10
View File
@@ -3,14 +3,14 @@
usage: rank_todo.py [--check] [todo.md]
Reads todo.md (default: ./todo.md); the goals file, which its project's config sets as
Reads todo.md (default: ./todo.md); the goals file, which todo.md's project config sets as
goals-and-audience; and docs/decisions.md and docs/comprehension-history.md where they exist.
Rewrites each item's Score from the formula and sorts the items by release; within a release,
question rows come first, then security rows, then the rest, each group by score from highest,
then by ID. Then it moves each blocker, an item another's Blocked by cell names, that ranks below
an item it blocks to just above the first such item.
Orders the details to match. Writes each item's R, and adds the Blocked by and R columns to a
table without them. --check doesn't write anything and fails when the file is not ranked as it would be.
an item it blocks to just above the first such item. Orders the details to match. Writes each
item's R, and adds the Blocked by and R columns to a table without them. --check doesn't write
anything and fails when the file is not ranked as it would be.
A valid todo.md; ## Details and each item's detail are optional:
@@ -39,8 +39,8 @@ A valid todo.md; ## Details and each item's detail are optional:
- The formula holds numbers, + - * / ** and parentheses over L, E, I, R, S and V.
- V sums, over the goals in an item's Moves cell, each goal's weight times how far the item moves it.
The goals file marks each goal **Maintain:** or **Achieve:**. Code health, the achieve goal
every project shares, ranks first; a Moves cell names it as in `code health by 6`. Its achieve
goals follow in reading order, a sub-goal such as 1.1 included. Each weighs 0.97 times the one
every project shares, ranks first; a Moves cell names it as in `code health by 6`. The goals
file's achieve goals follow in reading order, a sub-goal such as 1.1 included. Each weighs 0.97 times the one
before, and the weights sum to 1. With 5 achieve goals the first weighs 0.212 and the last 0.188.
With 15 they weigh 0.082 and 0.053. The overall is the mean of the overall means of every scoring
run on docs/comprehension-history.md's newest scored commit. While it is under 7.0, or the history
@@ -81,10 +81,11 @@ A valid todo.md; ## Details and each item's detail are optional:
reader. No item may sit under a marked release, and a line goes once a tag at or past its first
release is cut. A release whose items all moved elsewhere without a line reads as finished.
Exit 1, saying why, on bad arguments, a checkout no config names, a file that cannot be read or
written, a todo.md, goals file or docs/decisions.md that breaks the rules above, a scoring run on
docs/comprehension-history.md's newest scored commit with no Mean row ending in its overall, an
item that is not exempt scoring under the bar, or --check finding the file unranked.
Exit 1, saying why, on bad arguments, a checkout no config names or a config that cannot be read, a
file that cannot be read or written, a todo.md, goals file or docs/decisions.md that breaks the
rules above, a scoring run on docs/comprehension-history.md's newest scored commit with no Mean row
ending in its overall, an item that is not exempt scoring under the bar, or --check finding the file
unranked.
"""
import pathlib
import sys