Calibrate task-bench on fejkdata and record how many tasks and runs a bench takes
CI / tests (pull_request) Failing after 5m1s
CI / tests (pull_request) Failing after 5m1s
This commit is contained in:
@@ -6,13 +6,17 @@
|
||||
|
||||
`Bar = 0.1`
|
||||
|
||||
`Next ID = 512`
|
||||
`Next ID = 516`
|
||||
|
||||
## Items
|
||||
|
||||
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 503 | 0.15.0 | | owner | **Calibrate `task-bench` on fejkdata: bench a head against itself for the noise floor, then one finished chunk at its base and head, and record in a decision how many tasks and runs the bench needs.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 3 | 1.2 |
|
||||
| 513 | 0.15.0 | | | **Print the mean of the bugs' own head/base changes as the table's All change, in place of the change of the medians pooled over every run.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 3 | 1.1 |
|
||||
| 515 | 0.15.0 | | | **Record in a decision the 95th-percentile spread, at 5 bugs × 5 runs, of the reads before the first open of the bug's file and of the turns, beside the tokens'.** | 1 | 2 | 1 | 2 | 2 | 1.1 by 2 | 0.8 |
|
||||
| 512 | 0.15.0 | | | **Stop the bench with a Failure on a run whose final `result` event says `terminal_reason: "api_error"`, even where its `api_error_status` is empty.** | 1 | 1 | 1 | 1 | 2 | 1.4 by 2 | 0.8 |
|
||||
| 514 | 0.15.0 | | | **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 | 503 | 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 | 503 | 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 |
|
||||
@@ -112,6 +116,53 @@ Touches:
|
||||
- `docs/decisions.md`: `## task-bench: how many tasks and runs a bench takes`
|
||||
- `bin/task_bench/main.py`: `main` (small)
|
||||
|
||||
### 513. Print the mean of the bugs' own head/base changes as the table's All change, in place of the change of the medians pooled over every run.
|
||||
|
||||
**Print the mean of the bugs' own head/base changes as the table's All change, in place of the change of the medians pooled over every run.**
|
||||
|
||||
The All row pools every run, so its median lands in whichever bug is dearest, and its change swings by bug. Item 503 measured the pooled change's spread at up to three times the mean of the bugs' own changes: at 5 bugs × 5 runs, 31% against 12% in output tokens and 50% against 16% in cache-read tokens (`docs/decisions.md` → `## task-bench: how many tasks and runs a bench takes`). Keep the per-side All rows where that stays cheap. Then restate the help's paragraph "Read a change against the noise" for the one figure the table prints, and update the decision's figures and its plan-items sentence to match.
|
||||
|
||||
Touches:
|
||||
|
||||
- `bin/task_bench/figures.py`: `table`, `change`
|
||||
- `bin/task_bench/test_figures.py`: `TableTest`
|
||||
- `bin/task_bench/main.py`: `(module)` (small)
|
||||
- `docs/decisions.md`: `## task-bench: how many tasks and runs a bench takes` (small)
|
||||
|
||||
### 515. Record in a decision the 95th-percentile spread, at 5 bugs × 5 runs, of the reads before the first open of the bug's file and of the turns, beside the tokens'.
|
||||
|
||||
**Record in a decision the 95th-percentile spread, at 5 bugs × 5 runs, of the reads before the first open of the bug's file and of the turns, beside the tokens'.**
|
||||
|
||||
Item 503 found no affordable count that lifts a chunk-sized change above the tokens' noise (`docs/decisions.md` → `## task-bench: how many tasks and runs a bench takes`). Reads and turns are counts, not token sums, so they may be steadier. Run `task-bench` with the head against itself (`--base` the head's own commit) on a Go project, 5 bugs × 5 runs after a 2 × 2 pilot. Split each bug's runs at random into two sides, as the decision describes, and record each figure's 95th-percentile spread, for the All change and for the mean of the bugs' changes. Say in the decision whether either count can see a change the tokens can't. It needs a Claude token, given as `task-bench --help` says, and about 4 hours of wall time.
|
||||
|
||||
Touches:
|
||||
|
||||
- `docs/decisions.md`: `## task-bench: how many tasks and runs a bench takes`
|
||||
|
||||
### 512. Stop the bench with a Failure on a run whose final `result` event says `terminal_reason: "api_error"`, even where its `api_error_status` is empty.
|
||||
|
||||
**Stop the bench with a Failure on a run whose final `result` event says `terminal_reason: "api_error"`, even where its `api_error_status` is empty.**
|
||||
|
||||
Today `figures()` checks only `api_error_status`. During item 503's calibration a token the API refused over a line break ended runs with `terminal_reason: "api_error"`, a message naming `CLAUDE_CODE_OAUTH_TOKEN`, and no status, so each counted as a finished, not-passed run with 0 tokens, and the bench went on for hours. `task-bench --help` promises that a run the API refused stops the bench. Write the test first: a stream whose result holds that terminal reason and no status gives a Failure that quotes claude's message.
|
||||
|
||||
Touches:
|
||||
|
||||
- `bin/task_bench/figures.py`: `figures` (small)
|
||||
- `bin/task_bench/test_figures.py`: `FiguresTest`
|
||||
|
||||
### 514. 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: how many tasks and runs a bench takes`). 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: how many tasks and runs a bench takes`
|
||||
|
||||
### 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.
|
||||
|
||||
Reference in New Issue
Block a user