Print the mean of the bugs' own changes as task-bench's All change
CI / tests (pull_request) Successful in 4m28s

This commit is contained in:
2026-11-22 16:52:54 +01:00
parent e687860824
commit e38b6c344b
5 changed files with 68 additions and 18 deletions
+5 -4
View File
@@ -36,7 +36,8 @@ example:
It prints the base and the head, then a table: a row per bug and side with how many fixes passed and the medians, over the runs
that finished, of the input, cache-write, cache-read and output tokens, the turns, the wall time, and the reads and searches before
the run first opened the file the bug is in. The median of the reads leaves out a run that never opened that file. Then come a row
per side over every bug, and the head's change against the base. The last line names the bench's folder: `task-bench` in the
per side over every bug, and the head's change against the base: the pass count's difference, and for each other column the mean over
the bugs of that bug's own change, which isn't the difference of the two rows above it. The last line names the bench's folder: `task-bench` in the
chunk's review folder.
That folder holds each run's result and stream, and digest.md, which says why runs failed in a few kilobytes per bug:
@@ -46,9 +47,9 @@ That folder holds each run's result and stream, and digest.md, which says why ru
passing run with the median tokens. A trace has a line per tool call, such as `Read pick.go:120-180` or `Grep "readName" → 4 hits`, and the first 3 lines of what Haiku wrote
between calls.
Read a change against the noise. With the defaults, a bench of a commit against itself shows, in 19 cases of 20, an All row change
under 31% in output tokens, 50% in cache-read tokens and 21% in wall time. The mean of the bugs' own changes, which you work out
from the bug rows, stays under 12%, 16% and 10%. On `fejkdata`'s bugs every run passed, so the pass rate's noise is unmeasured.
Read a change against the noise. With the defaults, a bench of a commit against itself shows, in 19 cases of 20, a change under
12% in output tokens, 16% in cache-read tokens and 10% in wall time. On `fejkdata`'s bugs every run passed, so the pass rate's noise
is unmeasured.
`docs/decisions.md` → `task-bench: a bench takes` has the figures.
`task-bench gather`, run in the same checkout, turns the digest into plan items. It starts a claude on the project's rung, the