This commit was merged in pull request #700.
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
|
||||
## Unreleased
|
||||
|
||||
- `task-bench --tasks features` has Haiku build features instead of fixing planted bugs: each folder in the folder the project's config names as the new optional `bench-tasks` holds a `spec.md`, a `reference.patch` and acceptance tests Haiku never sees. A feature counts only where those tests fail before it is built and pass with the reference patch, at the base and at the head; the report names each feature passed over and why.
|
||||
- A bench started with `task-bench --record-figures` appends its figures over every bug to the comprehension history once it finishes, and a scoring run in `larv-review` starts the project's bench that way where its README documents a `task-bench` command. The figures are a report beside the panel's scores: none blocks a merge.
|
||||
- `task-bench`'s table prints the mean of the bugs' own head/base changes as its All change, in place of the change of the two All rows' medians, which swung up to three times as far in tokens. The All rows per side stay, so the change row is no longer their difference, and a change from before 0.15.1 can't be compared with one from after it.
|
||||
- `task-bench` now stops with a Failure on a run whose final result says `terminal_reason: "api_error"`, even where it holds no `api_error_status`, so a token the API refuses no longer lets the bench run on for hours with empty runs.
|
||||
|
||||
@@ -16,13 +16,12 @@
|
||||
|
||||
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|
||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
||||
| 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.** | 4 | 2 | 1 | 5 | 8 | 1.1 by 4, code health by 3 | 0.9 |
|
||||
| 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 |
|
||||
| 505 | 0.16.0 | | 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 |
|
||||
| 508 | 0.16.0 | | owner | **Plant bugs for `task-bench` in Python, Rust, TypeScript and PHP, from the mutants `mutate-changes` runs for each, so this repo benches itself.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3, code health by 2 | 2.6 |
|
||||
| 506 | 0.16.0 | 504 | owner | **Go over the bench features in each release review: reapply each reference patch, drop a feature that no longer breaks a goal, and add features until they cover the places the seats find hardest.** | 2 | 2 | 2 | 4 | 3 | 1.1 by 3 | 1.1 |
|
||||
| 506 | 0.16.0 | | owner | **Go over the bench features in each release review: reapply each reference patch, drop a feature that no longer breaks a goal, and add features until they cover the places the seats find hardest.** | 2 | 2 | 2 | 4 | 3 | 1.1 by 3 | 1.1 |
|
||||
| 512 | 0.16.0 | | | **Make stability-reviewer check that keys built from path segments, or matched by prefix, cannot collide.** | 1 | 2 | 2 | 3 | 1 | 1.1 by 2 | 0.9 |
|
||||
| 507 | 0.16.0 | 504 | owner | **Bench rebuilding a feature the project shipped: revert its commit at the head, hand Haiku its item tagline, and check with the tests that commit added.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3 | 0.7 |
|
||||
| 524 | 0.16.0 | 504 | owner | **Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3 | 0.5 |
|
||||
| 507 | 0.16.0 | | owner | **Bench rebuilding a feature the project shipped: revert its commit at the head, hand Haiku its item tagline, and check with the tests that commit added.** | 3 | 2 | 1 | 4 | 5 | 1.1 by 3 | 0.7 |
|
||||
| 524 | 0.16.0 | | owner | **Write fejkdata's first six bench features, each a spec, acceptance tests in Go and a reference patch that builds it, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3 | 0.5 |
|
||||
| 477 | 0.17.0 | | question | **Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`.** | 1 | 1 | 2 | 2 | 2 | | 0.0 |
|
||||
| 478 | 0.17.0 | | question | **Name the project, its repo and its two commands, today proposed as `do-release` and `do-epic`.** | 1 | 1 | 2 | 2 | 1 | | 0.0 |
|
||||
| 523 | 0.17.0 | | | **Make the security pass and stability-reviewer check that a new secret's docs name its scope and its reach, such as the other repositories its account can use.** | 1 | 1 | 2 | 2 | 1 | 1.1 by 2 | 0.9 |
|
||||
@@ -113,38 +112,6 @@
|
||||
|
||||
## Details
|
||||
|
||||
### 504. 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.
|
||||
|
||||
Each feature breaks one of the project's goals while it would suit another audience, so none ever turns into a real plan item, lies half-built in the code, or tempts a merge. A stronger model writes the tasks once; item 524 writes fejkdata's first six. A run counts only where the acceptance tests fail at both the base and the head before Haiku starts, and pass with the reference patch. Haiku's copy leaves the folder out.
|
||||
|
||||
Today `task-bench` holds one kind of task, a planted bug: `Task` holds a `Mutant`, and `Bug` and the table's column of reads before the file the bug is in assume a bug's file. The item adds:
|
||||
|
||||
- a loader for the `bench-tasks` folder: per feature a spec, the hidden acceptance tests and a reference patch;
|
||||
- the validity check above, at the base and the head;
|
||||
- a checker that runs the acceptance tests over Haiku's tree;
|
||||
- rows for features in the report and the digest;
|
||||
- a CLI spelling for benching features, which a reader panel picks before it ships (`CLAUDE.md` → "Working loop" → "Bench a syntax with the people who write it.");
|
||||
- the optional `bench-tasks` setting in `project-config`, with its help text;
|
||||
- tests for each, and the README.
|
||||
|
||||
Scored L 4: about 400–600 lines of code and as many of tests, in `task_bench` and `project_config`, and a second kind of task is a new pattern.
|
||||
|
||||
Touches:
|
||||
|
||||
- `bin/task_bench/main.py`: `(module)`, `Task`, `Bench`, `options`, `bench_in`, `benched`, `planted_tasks`, `archived` (small), `kept`, `report`, `fixed`, `digested`
|
||||
- `bin/task_bench/feature_tasks.py`
|
||||
- `bin/task_bench/test_feature_tasks.py`
|
||||
- `bin/task_bench/digest.py`: `Bug`, `digest`, `told`
|
||||
- `bin/task_bench/figures.py`: `figures`, `table`
|
||||
- `bin/task_bench/runs.py`: `checked_tree`, `ran_tests` (small)
|
||||
- `bin/task_bench/test_task_bench.py`
|
||||
- `bin/task_bench/test_digest.py`
|
||||
- `bin/task_bench/test_figures.py`
|
||||
- `bin/project_config/settings.py`: `ProjectConfig.places` (small), `load` (small)
|
||||
- `bin/project_config/main.py`: `(module)`
|
||||
- `bin/project_config/test_project_config.py`
|
||||
- `README.md`: `## Tools`, `` ### Packages under `bin/` `` (small)
|
||||
|
||||
### 505. 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.
|
||||
|
||||
Adding a source is fejkdata's recurring work, so it stays easy only while the bench shows it does. The country code comes from ISO 3166-1's user-assigned range (AA, QM–QZ, XA–XZ, ZZ), leaving out XK, which the EU and others use for Kosovo, so no task meets real data. Each register has the quirks real ones publish, and its script regenerates it byte for byte.
|
||||
|
||||
Reference in New Issue
Block a user