Split item 504 into the bench's feature mode and fejkdata's six features, and re-score it
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
`Bar = 0.1`
|
||||
|
||||
`Next ID = 524`
|
||||
`Next ID = 525`
|
||||
|
||||
## Renamed
|
||||
|
||||
@@ -16,12 +16,13 @@
|
||||
|
||||
| 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, starting with six for fejkdata.** | 3 | 2 | 1 | 4 | 6 | 1.1 by 4, code health by 3 | 2.6 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
| 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 |
|
||||
@@ -112,18 +113,37 @@
|
||||
|
||||
## 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, starting with six for fejkdata.
|
||||
### 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. 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.
|
||||
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.
|
||||
|
||||
fejkdata's first six, each with the goal it breaks:
|
||||
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:
|
||||
|
||||
1. `{p!}` picks the name `p` again (4.3, a name keeps one pick); it exercises `pick.go`, the seats' hardest place.
|
||||
2. `{frist}` renders as `{first}`, with a warning on stderr (4.7, fejkdata does not guess at mistakes).
|
||||
3. `--typos 0.1` misspells one value in ten, for testing deduplication (3.3, values look real).
|
||||
4. `{@define full = {first} {last}}` defines a macro that `{@full}` prints (4, more syntax).
|
||||
5. `--table` prints a boxed, aligned table (the bulk author, who pipes CSV).
|
||||
6. `--unique-forever` keeps a state file, so no value repeats across runs (seeded output reproduces).
|
||||
- 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` → "Bench a syntax");
|
||||
- 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.
|
||||
|
||||
@@ -158,6 +178,19 @@ Touches:
|
||||
|
||||
Such tasks cost nothing to write and are realistic. A commit whose revert doesn't apply cleanly at both the base and the head is skipped.
|
||||
|
||||
### 524. 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.
|
||||
|
||||
The second part of item 504, which says what a bench feature is and when a run counts. A stronger model than the project's writes the six, once. Each breaks one of fejkdata's goals while it would suit another audience:
|
||||
|
||||
1. `{p!}` picks the name `p` again (4.3, a name keeps one pick); it exercises `pick.go`, the seats' hardest place.
|
||||
2. `{frist}` renders as `{first}`, with a warning on stderr (4.7, fejkdata does not guess at mistakes).
|
||||
3. `--typos 0.1` misspells one value in ten, for testing deduplication (3.3, values look real).
|
||||
4. `{@define full = {first} {last}}` defines a macro that `{@full}` prints (4, more syntax).
|
||||
5. `--table` prints a boxed, aligned table (the bulk author, who pipes CSV).
|
||||
6. `--unique-forever` keeps a state file, so no value repeats across runs (seeded output reproduces).
|
||||
|
||||
Done when `task-bench` counts a run of each: its acceptance tests fail at fejkdata's base and head and pass with its reference patch. The six land in fejkdata's checkout or its config folder, wherever its `bench-tasks` setting points, so the item changes no file of this repo and carries no `Touches:` list. About 1,000 lines of Go and specs.
|
||||
|
||||
### 477. Rewrite `## Goals` and `## Audience` for a setup others install and run apart from their own `~/.claude`.
|
||||
|
||||
Part of the standalone-install plan lilleman approved on 2026-11-20. `do-release` and `do-epic` stand for the names item 478 picks. Goal 2, "Make my claude setup shareable between computers", and an audience of lilleman, with client teams as readers of what the loop writes, no longer fit. The goals and the audience are the human's to write; propose a wording and ask.
|
||||
|
||||
Reference in New Issue
Block a user