Answer prose round 1: 0 🔴, 7 🟡 (0 misread); lead with the conclusion, explain the three thresholds and call the judgment a judgment
CI / tests (pull_request) Successful in 4m59s
CI / tests (pull_request) Successful in 4m59s
This commit is contained in:
+6
-6
@@ -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. Planting harder bugs doesn't change that: see "Harder bugs" below. 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. "Harder bugs" below measures it on bugs Haiku fails. 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,11 +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). Two ways to plant bugs that Haiku fails were tried on `fejkdata`, at `2575c275` against itself with seed 1. Neither is kept.
|
||||
- **Two mutants in one function**, the nearest two 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 a second mutant only costs it a second round.
|
||||
- **The tests hidden.** The copy Haiku got held no test file and no `testdata` folder, its prompt said so, and the check ran the side's own tests over Haiku's code. A 2 × 2 pilot, whose prompt didn't yet say the tests were gone, passed 6 of 8 runs. A 5 × 5 bench passed 48 of 50: one bug passed 8 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 or more. Every other figure spread wider. 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, where it is 12%, 16%, 14% and 10% with the tests at hand. The bug that failed 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%.
|
||||
- **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%.
|
||||
|
||||
No bug is hard enough to make the pass rate show a chunk-sized change. This is arithmetic, not a measurement: 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. PR #490 moved the costs by 5% to 9%, and a change that small isn't likely to move the pass rate by 11 points. For that reason one way wasn't run: keeping a mutant only where a pilot of base runs passes fewer than 5 of 5. It would pick bugs like the one that failed here, at p = 0.8, and with the tests at hand it wouldn't find any.
|
||||
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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user