Record that neither paired mutants nor hidden tests make task-bench's pass rate show a chunk-sized change #694
@@ -4263,3 +4263,79 @@ Inherited architect, would restructure first:
|
||||
- Navigation, Shape, Overall: `README.md:234` "Packages under bin/": about 85 entries at one level, six packages missing from the list
|
||||
- Locality: `bin/rule_hook/main.py:94` `breaches_of`: the round cap binds at commit time, not at reviewer launch
|
||||
- Shape: `bin/chunk_pr/main.py:167` `step`: seven subcommands and inline forge branches in one 764-line module
|
||||
|
||||
## 2026-11-22T23:50:46Z, item-515 at 6322c6e1
|
||||
|
||||
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|
||||
|---|---|---|---|---|---|
|
||||
| Junior A | 6.5 | 5 | 5.5 | 5 | 5.5 |
|
||||
| Mid A | 7 | 5.5 | 6 | 6 | 6 |
|
||||
| Maintainability senior | 7 | 5.5 | 6 | 6 | 6 |
|
||||
| Inherited architect | 7 | 6.5 | 6 | 6.5 | 6.5 |
|
||||
| Mean | 6.88 | 5.63 | 5.88 | 5.88 | 6.00 |
|
||||
|
||||
Junior A, hardest first:
|
||||
|
||||
- Locality, Shape, Overall: `bin/do_epic/main.py:538` `handed_on`: five-way branch over outcome, automation and PR status
|
||||
- Locality: `bin/do_epic/main.py:379` `parked_through`: starts other chunks from what reads like a wait
|
||||
- Self-sufficiency: `skills/larv-review/SKILL.md:94` "Round cap": the review loop's rules live only in the skill's text
|
||||
- Navigation: `bin/agent_cycle/run.py:103` `archived`: cites a close.py that doesn't exist
|
||||
|
||||
Mid A, hardest first:
|
||||
|
||||
- Locality, Shape, Overall: `bin/do_epic/main.py:538` `handed_on`: five branches over three configuration facts
|
||||
- Locality: `bin/do_epic/scheduler.py:172` `start_chunks`: chunk state is rebuilt from tmux window names
|
||||
- Shape: `bin/chunk_pr/main.py:448` `merged`: the merge's steps run through three long functions
|
||||
- Self-sufficiency: `bin/project_config/settings.py:201` `load`: the settings' meaning sits in the help text
|
||||
|
||||
Maintainability senior, hardest first:
|
||||
|
||||
- Locality, Overall: `bin/agent_cycle/routing.py:115` `unfinished_route`: the route depends on state three modules write
|
||||
- Locality: `bin/do_epic/main.py:379` `parked_through`: starts other chunks from what reads like a wait
|
||||
- Shape: `bin/do_epic/main.py:538` `handed_on`: five-way branch over outcome, automation and PR status
|
||||
- Self-sufficiency: `bin/agent_cycle/verdicts.py:41` `Verdict`: cites `cycle.judge.re_ask_checked`, which doesn't exist
|
||||
|
||||
Inherited architect, would restructure first:
|
||||
|
||||
- Shape, Overall: `bin/do_epic/main.py:379` `parked_through`: the launcher and the chunk's window share one module
|
||||
- Shape: `bin/chunk_pr/main.py:448` `merged`: seven subcommands in one module
|
||||
- Navigation: `README.md:234` "Packages under bin/": about 80 entries at one level
|
||||
- Self-sufficiency: `skills/larv-review/SKILL.md:94` "Round cap": the review loop lives only in the skill's text
|
||||
|
||||
## 2026-11-22T23:54:53Z, item-515 rerun at 6322c6e1
|
||||
|
||||
| Seat | Navigation | Locality | Shape | Self-sufficiency | Overall |
|
||||
|---|---|---|---|---|---|
|
||||
| Junior A | 6.5 | 5 | 5.5 | 5 | 5.5 |
|
||||
| Mid A | 7 | 5.5 | 6 | 6 | 6 |
|
||||
| Maintainability senior | 7 | 6 | 6 | 6 | 6.5 |
|
||||
| Inherited architect | 6.5 | 6.5 | 5.5 | 6 | 6 |
|
||||
| Mean | 6.75 | 5.75 | 5.75 | 5.75 | 6.00 |
|
||||
|
||||
Junior A, hardest first:
|
||||
|
||||
- Locality, Overall: `bin/do_epic/main.py:379` `parked_through`: seven flags to hold over park, resume and a human's merge
|
||||
- Shape, Self-sufficiency: `bin/do_epic/main.py:538` `handed_on`: five branches that need the README's do-epic settings beside them
|
||||
- Locality: `bin/chunk_pr/main.py:448` `merged`: one loop interleaves the queue turn, approval waits and parking
|
||||
- Shape: `bin/plan/ranking.py:144` `weigh`: the OLD_SHAPE and SHAPE paths run through the same functions
|
||||
|
||||
Mid A, hardest first:
|
||||
|
||||
- Locality, Shape, Overall: `bin/do_epic/main.py:538` `handed_on`: five branches over the landing, the automation and two statuses
|
||||
- Locality: `bin/do_epic/main.py:379` `parked_through`: park must come before resume, and no code enforces it
|
||||
- Locality: `bin/chunk_pr/main.py:587` `levelled_and_finished`: the steps' order is load-bearing and unexplained
|
||||
- Self-sufficiency: `bin/agent_cycle/judge.py:25` `INTERRUPT_RULES`: behaviour lives in prompt text no code shows the effect of
|
||||
|
||||
Maintainability senior, hardest first:
|
||||
|
||||
- Locality, Overall: `bin/do_epic/main.py:538` `handed_on`: five ways on three axes, with no table of the cases
|
||||
- Locality: `bin/do_epic/main.py:379` `parked_through`: a negated three-part condition, and state carried between passes
|
||||
- Shape: `bin/plan/ranking.py:239` `score`: every change is made twice, for OLD_SHAPE and SHAPE
|
||||
- Self-sufficiency: `bin/larv_review/main.py:33` module docstring: when a scoring run is due is stated only in help prose
|
||||
|
||||
Inherited architect, would restructure first:
|
||||
|
||||
- Shape, Overall: `bin/do_epic/main.py:301` `chunk_run`: argument parsing, status, dry run, windows and parking in one 47 KB module
|
||||
- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`: three callers count rounds from titles fetched three ways
|
||||
- Navigation, Shape: `README.md:234` "Packages under bin/": about 95 entries at one level, tool and shared packages side by side
|
||||
- Shape: `bin/larv_review/plan.py:1` module: decides whether a scoring run is due, not anything about the plan
|
||||
|
||||
+7
-2
@@ -825,13 +825,13 @@ Valid while Claude Code loads `~/.claude/rules/*.md` in every project, a path-sc
|
||||
|
||||
**Defaults stay 5 bugs and 5 runs.** A sixth run per side cuts the spread of the mean of the bugs' cache-read changes from 16% to 13% for 10 more runs, about 35 minutes.
|
||||
|
||||
**A chunk-sized change doesn't rise above the noise.** PR #490 moved the medians by 5% to 9%. The spread at 5 × 6, the largest count measured, is 11% to 13%. It falls with the square root of the runs, so seeing a 9% change takes about 13 runs per side and bug: 130 runs, 8 hours and 70M cache-read tokens. No chunk waits that long. The bench shows a change of more than about 15% in tokens, since its All change is the mean of the bugs' own changes (item 514). Before that, the change of the pooled medians needed more than 31% in output tokens and 50% in cache-read tokens. To see a chunk-sized change, what to try is filed as item 515 (plant bugs Haiku fails at the base, so the pass rate moves). Reads and turns, which are counts, not token sums, spread as wide as the tokens: see "Reads and turns" below.
|
||||
**A chunk-sized change doesn't rise above the noise.** PR #490 moved the medians by 5% to 9%. The spread at 5 × 6, the largest count measured, is 11% to 13%. It falls with the square root of the runs, so seeing a 9% change takes about 13 runs per side and bug: 130 runs, 8 hours and 70M cache-read tokens. No chunk waits that long. The bench shows a change of more than about 15% in tokens, since its All change is the mean of the bugs' own changes (item 514). Before that, the change of the pooled medians needed more than 31% in output tokens and 50% in cache-read tokens. Planting harder bugs doesn't make the pass rate show one either: see "Harder bugs" below. Reads and turns, which are counts, not token sums, spread as wide as the tokens: see "Reads and turns" below.
|
||||
|
||||
**Pilot first.** A new setup, or a project the bench hasn't run on, runs 2 bugs × 2 runs before a full bench (lilleman, 2026-11-21). A pilot takes about 40 minutes. The first pilot of this calibration passed no run, because the API refused a token that held a line break. It showed that within 15 minutes, where a full bench would have planted for 25 minutes first and printed the same.
|
||||
|
||||
Measured on `fejkdata` (Go, 5 bugs planted in the files `larv-review places` names, seed 1, Haiku at low effort), 2026-11-21:
|
||||
|
||||
- **Same commit at both sides** (head `c7dd7e15`, 5 bugs × 6 runs, after a pilot of 2 bugs × 2 runs): all 68 runs passed, as did the 30 counted chunk runs below, 98 in all. So the pass rate's spread is zero and it can't show a change of any size, though it is unmeasured on harder bugs. The pooled change was -5% in output tokens, -12% in cache-read tokens and -15% in wall time.
|
||||
- **Same commit at both sides** (head `c7dd7e15`, 5 bugs × 6 runs, after a pilot of 2 bugs × 2 runs): all 68 runs passed, as did the 30 counted chunk runs below, 98 in all. So the pass rate's spread is zero and it can't show a change of any size. "Harder bugs" below measures the pass rate's spread on a bug Haiku fails. The pooled change was -5% in output tokens, -12% in cache-read tokens and -15% in wall time.
|
||||
- **Spread by bugs × runs.** Each bug's 12 runs were split at random into two sides 4,000 times. Each cell is the 95th percentile of the change's size, in percent, first for the change of the All rows' pooled medians, which the bench printed before item 514, then for the mean of the bugs' own changes, which it prints now:
|
||||
|
||||
| Bugs × runs | Output tokens | Cache-read tokens | Wall time |
|
||||
@@ -853,6 +853,11 @@ Measured on `fejkdata` (Go, 5 bugs planted in the files `larv-review places` nam
|
||||
| Reads and searches before the first open of the bug's file | 4.0 reads | 0.6 reads |
|
||||
|
||||
Neither count sees a change the tokens can't. The bugs' median turns average 14.5 and their median reads 3.9, so 1.8 turns is 12% of a bug's turns and 0.6 reads is 15% of its reads, in line with the tokens' 12% and 17%. The pooled change's spread, 4.0 reads, is more than a bug's typical 3.9 reads. Reads are small whole numbers, from 0 to 9, so the change in reads is given in reads, not as a percentage. The 9 of the 50 runs that never opened the bug's file are left out of the reads' medians. The tokens' own figures moved by up to a fifth against the first calibration's above (25 and 41 against 31 and 50 for the pooled change), so each 95th percentile may be off by about a fifth.
|
||||
- **Harder bugs** (2026-11-22). No bug is hard enough to make the pass rate show a chunk-sized change. Hiding the tests, the one way that made Haiku fail, also spreads the token figures about three times as wide. So the bench plants as before. Two ways were tried on `fejkdata`, at `2575c275` against itself with seed 1:
|
||||
- **Two mutants in one function**: each bug's mutant, and the mutant nearest to it in the same function that the tests kill, with the tests at hand as in every bench above. A 2 × 2 pilot passed 8 of 8 runs. Haiku runs `go test`, which names the failing test and its line. So it fixes one mutant, runs the tests again and fixes the other.
|
||||
- **The tests hidden.** The copy Haiku got held no test file and no `testdata` folder. Haiku's prompt said that the tests were missing. The check ran the side's own tests over Haiku's code. A 5 × 5 bench passed 48 of 50 runs: one bug failed 2 of its 10 runs, and the other four passed all 10. Each bug's 10 runs were split at random into two sides 4,000 times, as above. The 95th percentile of the pass count's change is 2 runs of 25, or 8 points, so the bench would show a change of 3 runs, 12 points, or more. Every other figure spreads wider than it does with the tests at hand. For the mean of the bugs' changes, the spread is 46% in output tokens, 43% in cache-read tokens, 23% in turns and 45% in wall time. With the tests at hand it is 12%, 16%, 14% and 10%. The bug that failed twice took from 0.5M to 6.3M cache-read tokens a run. The bench took 2.2 hours and 47M cache-read tokens, where a 5 × 5 bench with the tests takes 28M. So hiding the tests buys a pass count that shows a change of 12 points, and pays with token figures that show a change of 45% where they showed 15%.
|
||||
|
||||
The pass rate's noise follows from arithmetic. Where both sides pass at the rate p, two sides of 25 runs differ by more than 1.96 × √(2p(1 − p) / 25) in 1 bench of 20. That is 11 points at p = 0.96, the rate measured here, 22 points at 0.8 and 28 points at 0.5. The measured 8 points and the 12 above bracket the 11: a pass count moves in whole runs, and 2 runs of 25 are 8 points, 3 are 12. Whether a chunk moves the pass rate that far is a judgment, not a measurement: PR #490 moved the costs by 5% to 9%, and no figure here suggests that such a change moves the pass rate by 11 points. For that reason a third way wasn't run: keeping a mutant only where Haiku fails it in one or more of 5 trial runs at the base. It would pick bugs like the one that failed twice here, at p = 0.8, and with the tests at hand no bug failed in 98 runs.
|
||||
- **One finished chunk**: `fejkdata`'s PR #490, base `33b7fa80`, head `5b9c2a14`, which the comprehension panel ruled better on Navigation, Locality and Shape and the same on Self-sufficiency. The bench planted 5 bugs and ran 38 of 50 runs before the machine restarted. The first 3 runs per bug and side, 30 runs, are the ones counted, and all passed. The mean of the bugs' changes was +4.6% in output tokens, +8.9% in cache-read tokens and +3.8% in turns, with the bugs' own changes in cache-read tokens from -41% to +47%. The two token figures sit inside the spread at 5 × 3, 17% and 22%. The turns' +3.8% sits inside their spread at 5 × 5, 14%, and the spread at 5 × 3 can only be wider. The mean of the wall times' changes, +105%, lies above the 86% of that row, from one bug whose head runs took 6.8 times as long at the median. Nobody read its streams to find out why. The head cost slightly more tokens where the panel finds it easier to read, and the wall time can't be judged, so the bench neither confirmed nor contradicted the panel.
|
||||
- **Cost**: 5 bugs × 6 runs took 3.9 hours and 34M cache-read, 1.2M cache-write and 0.3M output tokens; a run takes about 3.5 minutes, and planting 16 to 25 minutes. A 5 × 5 bench is about 3.3 hours and 28M cache-read tokens. Gremlins ran out of 8 GB at the base of PR #490, so the help's example takes 16 GB.
|
||||
|
||||
|
||||
@@ -3401,3 +3401,44 @@ Read most (opens and searches):
|
||||
- `README.md` 2
|
||||
- `docs/comprehension-history.md` 2
|
||||
- `docs/score-anchors.md` 2
|
||||
|
||||
## Reading cost, chunk f8fb061b8347, finished 2026-11-22T16:17:47Z
|
||||
|
||||
49961 new input tokens before the first commit.
|
||||
|
||||
Read most (opens and searches):
|
||||
|
||||
- `CHANGELOG.md` 2
|
||||
- `README.md` 1
|
||||
- `bin/task_bench/figures.py` 1
|
||||
- `bin/task_bench/main.py` 1
|
||||
- `bin/task_bench/test_figures.py` 1
|
||||
- `ci.sh` 1
|
||||
|
||||
## Reading cost, chunk 5e92d92c0f61, finished 2026-11-22T16:55:52Z
|
||||
|
||||
63406 new input tokens before the first commit.
|
||||
|
||||
Read most (opens and searches):
|
||||
|
||||
- `bin/task_bench/main.py` 3
|
||||
- `docs/decisions.md` 2
|
||||
- `CHANGELOG.md` 1
|
||||
- `README.md` 1
|
||||
- `bin/task_bench/figures.py` 1
|
||||
- `bin/task_bench/test_figures.py` 1
|
||||
- `ci.sh` 1
|
||||
|
||||
## Reading cost, chunk 756ad55ec2e9, finished 2026-11-22T20:42:27Z
|
||||
|
||||
89968 new input tokens before the first commit.
|
||||
|
||||
Read most (opens and searches):
|
||||
|
||||
- `bin/task_bench/figures.py` 3
|
||||
- `docs/decisions.md` 3
|
||||
- `README.md` 2
|
||||
- `bin/task_bench/main.py` 2
|
||||
- `bin/task_bench/runs.py` 2
|
||||
- `ci.sh` 2
|
||||
- `bin/task_bench/bench_folder.py` 1
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
|
||||
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 515 | 0.15.1 | | | **Plant bugs that Haiku fails at the base, so the pass rate's spread over two benches of one commit is above zero, and record it in a decision.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3 | 0.7 |
|
||||
| 509 | 0.16.0 | | owner | **Run `task-bench` beside the scoring run in larv-review comprehension check, and record its figures in the comprehension history beside the panel scores.** | 3 | 2 | 3 | 6 | 5 | code health by 5, 1.1 by 3 | 5.6 |
|
||||
| 504 | 0.16.0 | | owner | **Bench new features in `task-bench`, each a spec for Haiku with acceptance tests it never sees and a reference patch that proves it can be built, kept in a `bench-tasks` folder the project config names, starting with six for fejkdata.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 4, code health by 3 | 2.6 |
|
||||
| 505 | 0.16.0 | 504 | owner | **Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates for a made-up country, and check the importer, the data and the licence entry it adds, starting with five tasks for fejkdata.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3, code health by 2 | 2.6 |
|
||||
@@ -52,7 +51,7 @@
|
||||
| 499 | 0.23.0 | | defect | **Stop `todo-item add` and `edit` from waiting on a stdin that stays open without data, so a call without a heredoc ends at once.** | 2 | 2 | 2 | 4 | 2 | 1.5 by 3, 1.4 by 2 | 1.9 |
|
||||
| 445 | 0.23.0 | | | **Refuse a plan that holds an item a `Finish item <ID>` commit already removed, so a merge resolution cannot bring a finished item back.** | 2 | 2 | 2 | 4 | 3 | 1.4 by 3, 1.1 by 2 | 1.8 |
|
||||
| 171 | 0.23.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 | 1.8 |
|
||||
| 300 | 0.23.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, Locality first, then Shape and Self-sufficiency; today the scoring run at 16d9b3a0 scored Navigation 6.75, Locality 5.63, Shape 5.88, Self-sufficiency 5.88 and Overall 6.13.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.7 |
|
||||
| 300 | 0.23.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, Locality, Shape and Self-sufficiency first; today the second scoring run at 6322c6e1 scored Navigation 6.75, Locality 5.75, Shape 5.75, Self-sufficiency 5.75 and Overall 6.00.** | 4 | 2 | 3 | 7 | 8 | code health by 8 | 1.7 |
|
||||
| 264 | 0.23.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 | 1.7 |
|
||||
| 323 | 0.23.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 | 1.7 |
|
||||
| 342 | 0.23.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 | 1.7 |
|
||||
@@ -104,19 +103,6 @@
|
||||
|
||||
## Details
|
||||
|
||||
### 515. Plant bugs that Haiku fails at the base, so the pass rate's spread over two benches of one commit is above zero, and record it in a decision.
|
||||
|
||||
**Plant bugs that Haiku fails at the base, so the pass rate's spread over two benches of one commit is above zero, and record it in a decision.**
|
||||
|
||||
Item 503's calibration on `fejkdata` passed 98 of 98 same-commit and chunk runs, so the pass rate can't show a change of any size (`docs/decisions.md` → `task-bench: a bench takes 5 bugs and 5 runs per side, after a 2 × 2 pilot on a new setup, and at no affordable count does a chunk-sized change rise above the noise`). A research item: try ways to plant harder bugs, such as keeping a mutant only where a pilot of base runs passes fewer than 5 of 5, or planting two mutants in one function. Measure the pass rate's spread again on the same project, splitting runs at random as the decision describes. Its output is a `plant.py` change that keeps the way that works, or a decision that none did, with the figures either way. Run a 2 bugs × 2 runs pilot first, as the decision asks.
|
||||
|
||||
Touches:
|
||||
|
||||
- `bin/task_bench/plant.py`: `drawn`, `mutated`
|
||||
- `bin/task_bench/test_plant.py`
|
||||
- `bin/task_bench/main.py`: `benched`, `planted`
|
||||
- `docs/decisions.md`: `## task-bench: a bench takes 5 bugs and 5 runs per side, after a 2 × 2 pilot on a new setup, and at no affordable count does a chunk-sized change rise above the noise`
|
||||
|
||||
### 509. Run `task-bench` beside the scoring run in larv-review comprehension check, and record its figures in the comprehension history beside the panel scores.
|
||||
|
||||
It stays a report beside the panel until about 10 chunks show whether the two agree; whether it can replace the scoring run or gate a merge is the human's call then.
|
||||
@@ -329,25 +315,30 @@ Have the gate, or `rank_todo.py --check` where it runs in a checkout, refuse a p
|
||||
|
||||
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, Locality first, then Shape and Self-sufficiency; today the scoring run at 16d9b3a0 scored Navigation 6.75, Locality 5.63, Shape 5.88, Self-sufficiency 5.88 and Overall 6.13.
|
||||
### 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, Locality, Shape and Self-sufficiency first; today the second scoring run at 6322c6e1 scored Navigation 6.75, Locality 5.75, Shape 5.75, Self-sufficiency 5.75 and Overall 6.00.
|
||||
|
||||
Filed by the comprehension check of PR #473 at 13d1550 (`larv-review record-scoring`), which printed `Floor:` and `Next:`, and refreshed from the run of item 503's chunk at 16d9b3a0. The lowest mean is Locality, at 5.63; Shape and Self-sufficiency follow, both at 5.88. Locality: do-epic and chunk-pr run order-dependent steps and share chunk state through tmux window names (`handed_on`, `parked_through`, `start_chunks`, `levelled_and_finished`), and no code enforces the order. Shape: `bin/do_epic/main.py` and `bin/chunk_pr/main.py` are hubs of about 700 and 764 lines, and the OLD_SHAPE fork in `bin/plan/ranking.py` doubles the paths through ranking. Self-sufficiency: the why behind code sits behind `docs/decisions.md → …` pointers, 82 of them in 64 modules. 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 two runs of item 515's chunk at 6322c6e1. The lowest means are Locality, Shape and Self-sufficiency, all at 5.75 in the second run; the first run put Locality at 5.63 and the other two at 5.88. Locality: do-epic and chunk-pr run order-dependent steps and carry state between loop passes (`handed_on`, `parked_through`, `merged`, `levelled_and_finished`), and no code enforces the order. Shape: `bin/do_epic/main.py` and `bin/chunk_pr/main.py` are hubs of about 700 and 764 lines, `bin/` holds about 95 entries at one level, and the OLD_SHAPE fork in `bin/plan/ranking.py` doubles the paths through ranking. Self-sufficiency: the why behind code sits in `docs/decisions.md`, the README or help prose, not beside the unit. Refresh this item's places and aim from the newest run before the chunk starts; do not file a second floor item.
|
||||
|
||||
Aim: one ambitious refactor of the areas below, sized so every mean reaches 7.0 on the chunk's own scoring run. Where a place is already easier to read when the chunk starts, drop it.
|
||||
|
||||
Places the seats named, hardest first (`larv-review places`), Locality first:
|
||||
|
||||
- Locality, Shape: `bin/do_epic/main.py:538` `handed_on`: a five-way branch over the outcome, the automation and the merged-status config. Two seats named it.
|
||||
- Locality: `bin/do_epic/main.py:379` `parked_through`: starts other chunks from what reads like a wait.
|
||||
- Locality: `bin/chunk_pr/main.py:587` `levelled_and_finished`: its step order is load-bearing and nothing marks it.
|
||||
- Locality: `bin/do_epic/scheduler.py:172` `start_chunks`, with `bin/agent_cycle/tmux.py:92` `as_listed`: chunk state is rebuilt from tmux window names, shared across processes, which no module owns. Two seats named it.
|
||||
- Locality: `bin/rule_hook/main.py:94` `breaches_of`: the round cap binds at commit time, not when a reviewer is launched.
|
||||
- Navigation, Shape: `README.md:234` "Packages under bin/": about 85 entries at one level, and six packages missing from the list.
|
||||
- Shape: `bin/chunk_pr/main.py:167` `step`: seven subcommands and inline forge branches in one 764-line module.
|
||||
- Shape: `bin/plan/ranking.py:239` `score`: the OLD_SHAPE fork doubles the paths through ranking.
|
||||
- Self-sufficiency: `bin/agent_cycle/run.py:32` `Cycle`: the why of its 17 fields sits in `docs/decisions.md`.
|
||||
- Self-sufficiency: `bin/larv_review/main.py:1` module docstring: the rules for votes and owed runs live only in a 167-line help text.
|
||||
- Navigation: `bin/agent_cycle/run.py:102` `archived`: cites a `close.py` that doesn't exist, which cost a seat a search.
|
||||
- Locality, Shape, Self-sufficiency: `bin/do_epic/main.py:538` `handed_on`: five branches over the landing, the automation and two statuses, with no table of the cases; it needs the README's do-epic settings beside it. Seven of eight seats named it over the two runs.
|
||||
- Locality: `bin/do_epic/main.py:379` `parked_through`, with `:455` `resumed_news`: seven flags to hold over park, resume and a human's merge; park must come before resume, and no code enforces it. Six seats named it.
|
||||
- Locality: `bin/chunk_pr/main.py:448` `merged`, with `:587` `levelled_and_finished`: one loop interleaves the queue turn, approval waits and parking, and the steps' order is load-bearing and unexplained. Four seats named it.
|
||||
- Locality: `bin/rule_hook/round_cap.py:28` `earlier_titles`: three callers count rounds from titles fetched three ways.
|
||||
- Locality: `bin/do_epic/scheduler.py:172` `start_chunks`: chunk state is rebuilt from tmux window names.
|
||||
- Locality: `bin/agent_cycle/routing.py:115` `unfinished_route`: the route depends on state three modules write.
|
||||
- Shape: `bin/do_epic/main.py:301` `chunk_run`: argument parsing, status, dry run, windows and parking in one 47 KB module.
|
||||
- Shape: `bin/plan/ranking.py:239` `score`, with `:144` `weigh`: every change is made twice, for OLD_SHAPE and SHAPE. Two seats named it.
|
||||
- Navigation, Shape: `README.md:234` "Packages under bin/": about 95 entries at one level, tool and shared packages side by side. Both architects named it.
|
||||
- Shape: `bin/larv_review/plan.py:1` module: decides whether a scoring run is due, not anything about the plan.
|
||||
- Self-sufficiency: `skills/larv-review/SKILL.md:94` "Round cap": the review loop's rules live only in the skill's text. Two seats named it.
|
||||
- Self-sufficiency: `bin/larv_review/main.py:33` module docstring: when a scoring run is due is stated only in help prose.
|
||||
- Self-sufficiency: `bin/agent_cycle/judge.py:25` `INTERRUPT_RULES`: behaviour lives in prompt text no code shows the effect of.
|
||||
- Self-sufficiency: `bin/project_config/settings.py:201` `load`: the settings' meaning sits in the help text.
|
||||
- Self-sufficiency: `bin/agent_cycle/verdicts.py:41` `Verdict`: cites `cycle.judge.re_ask_checked`, which doesn't exist.
|
||||
- Navigation: `bin/agent_cycle/run.py:103` `archived`: cites a `close.py` that doesn't exist.
|
||||
|
||||
### 264. Report the comprehension seats and the escalated subagents as subagent types of their own in `routing-figures.md`, with their dollars.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user