From c37e4e2209093e1d83d941c540193f0053584724 Mon Sep 17 00:00:00 2001 From: Lilleman auf Larv Date: Mon, 9 Nov 2026 01:06:30 +0100 Subject: [PATCH] =?UTF-8?q?Finish=20the=20preflight=20comparison:=20readin?= =?UTF-8?q?g=20cost=20fell=20by=20half,=20rounds=20and=20=F0=9F=94=B4=20di?= =?UTF-8?q?d=20not=20rise,=20nothing=20to=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/reading-cost.md | 15 +++++++++++++++ todo.md | 7 +------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/docs/reading-cost.md b/docs/reading-cost.md index 64fa4d93..bf3b638a 100644 --- a/docs/reading-cost.md +++ b/docs/reading-cost.md @@ -1300,3 +1300,18 @@ Read most (opens and searches): - `bin/claude_code/test_claude_code.py` 4 - `bin/loop_claude/cycle/judge.py` 4 - `bin/reading_cost/measure.py` 4 + +## Reading cost, chunk da08428cf582, finished 2026-11-09T00:01:52Z + +151930 new input tokens before the first commit. + +Read most (opens and searches): + +- `todo.md` 14 +- `docs/decisions.md` 5 +- `docs/reading-cost.md` 5 +- `AGENTS.md` 3 +- `README.md` 2 +- `bin/reading_cost/main.py` 2 +- `bin/review_rules/round_titles.py` 1 +- `docs/score-anchors.md` 1 diff --git a/todo.md b/todo.md index 244011df..645074b2 100644 --- a/todo.md +++ b/todo.md @@ -14,7 +14,6 @@ |---|---|---|---|---|---|---|---|---|---|---|---| | 277 | 0.7.0 | | question | **Map the size of the code an item names onto S, on a scale the human picks, and have `score-outcomes` print that S for the item being scored and for each finished item it lists.** | 3 | 2 | 2 | 5 | 4 | 1.1 by 4, 1.4 by 3 | 2.4 | | 1 | 0.7.0 | | question | **Say in README → Install how the transcript archive is backed up, once bender-infra backs up ai-sandbox's data volume.** | 1 | 2 | 1 | 2 | 1 | | 0.0 | -| 175 | 0.7.0 | | | **Compare the first five chunks loop-claude starts with `chunk-preflight` against the five before them, and file an item where the preflight did not pay off.** | 1 | 2 | 1 | 2 | 2 | 1.4 by 3, 1.5 by 3 | 2.6 | | 112 | 0.7.0 | | | **Count an item as shipped only where its chunk built it, so an item a chunk dropped from the plan gets no outcome.** | 3 | 2 | 2 | 5 | 3 | 1.1 by 6 | 2.5 | | 276 | 0.7.0 | | | **Let a worker fix on its own rung a `standards/quality.md` finding whose fix changes only prose, so escalation trigger 4 calls for a higher rung only where code or config must change.** | 2 | 2 | 3 | 5 | 3 | 1.2 by 4, 1.4 by 2 | 2.4 | | 279 | 0.7.0 | | | **Add an item to `todo.md` with one command that reads `Next ID`, bumps it, and inserts the row and its detail.** | 3 | 1 | 3 | 5 | 3 | 1.4 by 3, 1.5 by 3 | 2.3 | @@ -84,10 +83,6 @@ It lives under `~/.claude`, which `.gitignore` keeps from the remote, so a lost The README line covers the bench's transcripts in `workflow-bench/logs/` too (goal 3). -### 175. Compare the first five chunks loop-claude starts with `chunk-preflight` against the five before them, and file an item where the preflight did not pay off. - -Item 161 put `chunk-preflight`'s facts into a fresh worker's prompt, so the worker no longer finds them itself. Before that, in item 140's chunk, the worker spent 5 min 46 s of 30 min, 16 of its 68 messages and 226k of its 491k fresh tokens before its first edit, through 12 Bash and 5 Read calls. Measure those figures from loop-claude's archive, as medians over the first five chunks that started with the preflight and the five before them: one chunk is too noisy a baseline, as `docs/decisions.md` → `reading cost: a rise is …` records. Measure the counter-signals beside them: goal 1.4's review rounds and unfinished verdicts, and goal 1.5's 🔴 findings, per chunk, since a worker that reads less may start sooner and need more rounds or let more defects through. Where time or tokens did not fall, or a counter-signal rose, file an item naming the facts the workers still found by hand, or what the preflight got wrong. - ### 112. Count an item as shipped only where its chunk built it, so an item a chunk dropped from the plan gets no outcome. `score-outcomes` counts every item a merge removed from `todo.md` as shipped. A merge that changed only the plan ships nothing, but one that built an item and also dropped another gives the dropped item the built one's outcome, as PR #253 did with item 69. Mark a dropped item in the change that drops it, such as by the commit or merge title, and leave it out. @@ -170,7 +165,7 @@ goal is still redesigned or dropped. ### 286. Lower the reading cost of the files a chunk reads most before its first commit. -`reading-cost` reports Rising: the last five chunks' median is 103,215 new input tokens before the first commit, against 86,720 for the five before them. Those five chunks opened or searched these files most: `todo.md` 34 times, `bin/loop_claude/test_loop_claude.py` 20, `bin/loop_claude/cycle/judge.py` 10, `bin/routing_figures/test_routing_figures.py` 9, `bin/chunk_preflight/choices.py` 7, `bin/rule_hook/repeat_read.py` 7, `README.md` 6, `bin/judge_replay/test_judge_replay.py` 6, `bin/review_replay/test_review_replay.py` 6 and `bin/routing_figures/chunk.py` 6. +`reading-cost` reports Rising: the last five chunks' median is 151,930 new input tokens before the first commit, against 84,028 for the five before them. Those five chunks opened or searched these files most: `todo.md` 40 times, `bin/loop_claude/test_loop_claude.py` 15, `bin/loop_claude/cycle/judge.py` 10, `bin/routing_figures/test_routing_figures.py` 9, `README.md` 8, `docs/decisions.md` 8, `AGENTS.md` 7, `bin/chunk_preflight/choices.py` 7, `bin/rule_hook/repeat_read.py` 7 and `bin/review_replay/test_review_replay.py` 6. Item 285 takes the `todo.md` reads; this item takes the rest. Find why a worker opens each of them before its first commit, and cut that cause, such as a test file too large to read in parts. -- 2.52.0