Finish item 505 in the plan
CI / tests (pull_request) Successful in 3m40s

This commit was merged in pull request #702.
This commit is contained in:
2026-11-23 21:03:09 +01:00
parent f78beb7b0e
commit 04c6d062c2
2 changed files with 2 additions and 10 deletions
+1
View File
@@ -2,6 +2,7 @@
## Unreleased
- `task-bench --tasks data-sources` benches adding a data source: Haiku gets a made-up register that the task's seeded `generate-register` writes, and acceptance tests check the importer, the data and whatever else the spec asks.
- `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.
+1 -10
View File
@@ -17,12 +17,11 @@
| ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score |
|---|---|---|---|---|---|---|---|---|---|---|---|
| 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 |
| 505 | 0.16.0 | | owner | **Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates, and check the importer, the data and the licence entry it adds.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 3, code health by 2 | 1.8 |
| 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 | | 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 |
| 525 | 0.16.0 | 505 | owner | **Write fejkdata's first five source-data tasks for `task-bench`, each a seeded register for a made-up country, a spec, a checker and a reference patch, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 7 | 1.1 by 3 | 0.3 |
| 525 | 0.16.0 | | owner | **Write fejkdata's first five source-data tasks for `task-bench`, each a seeded register for a made-up country, a spec, a checker and a reference patch, in the `bench-tasks` folder its config names.** | 3 | 2 | 1 | 4 | 7 | 1.1 by 3 | 0.3 |
| 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 |
@@ -117,14 +116,6 @@
Each tool reports a killed mutant by file and line, and some by column; the planter re-applies it from that report, as it does Gremlins'.
### 505. Bench adding source data in `task-bench`: hand Haiku a fake register that a seeded script generates, and check the importer, the data and the licence entry it adds.
Adding a source is recurring work in a project such as fejkdata, so it stays easy only while the bench shows it does. A task is a folder beside the bench features, in the folder the project's config names as `bench-tasks`. It holds the spec Haiku is told, the seeded script that generates the register, a checker Haiku never sees, and a reference patch that adds the importer, the data and the licence entry. The script regenerates its register byte for byte.
The checker is the project's test command over the tree, with the task's acceptance tests in it: there the task's author runs a template with a fixed seed, the data-licence tests, and the importer again, which must reproduce the committed data. As a bench feature does, a task counts where the tests fail at the base and at the head before the source is added, and pass at both with the reference patch.
Split on 2026-11-23, when a re-score found the item as filed L 4, S 9: the five tasks for fejkdata are item 525, as item 524 holds item 504's features.
### 506. 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.
A reference patch that no longer applies is rewritten by the review's model. A feature whose goal changed may have become real work, so it goes. New features follow item 504's rule: plausible for another audience, against one of this project's goals.