diff --git a/CHANGELOG.md b/CHANGELOG.md index 0187817f..5b0b1f8c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ## Unreleased +- `task-bench --tasks shipped-features` benches rebuilding features the project shipped: it takes each one's change out of the code, tells Haiku the tagline of its plan item, and checks the build with the tests that change holds. `--shipped ` sets how many it takes, and a feature whose branch landed by fast-forward is passed over. - `task-bench` plants a Python mutant in a file whose lines end in CRLF, which it could not re-apply before, and a Go mutant there keeps applying. - This repo documents its own `task-bench` command in the README → Test, with `task-bench-image/Dockerfile`, an image that holds pytest, git and tmux, so each scoring run in `larv-review` benches claude-config and records its figures. - The stability reviewer now checks a lookup key built by joining path segments, or matched by prefix, for two inputs that give one key, such as a column named like its own table or the namespaces `ns` and `ns.sub`. diff --git a/todo.md b/todo.md index a3d70043..5819ddde 100644 --- a/todo.md +++ b/todo.md @@ -17,7 +17,6 @@ | ID | Release | Blocked by | Exempt | Item | L | E | I | R | S | Moves | Score | |---|---|---|---|---|---|---|---|---|---|---|---| | 531 | 0.16.0 | | | **Bench the shipped features of a branch that landed by fast-forward: take as the feature the commits from the one after the item finished before it, up to the commit that took its item out of the plan.** | 2 | 2 | 1 | 3 | 3 | 1.1 by 3 | 1.1 | -| 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.** | 4 | 2 | 1 | 5 | 6 | 1.1 by 3 | 0.5 | | 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 | | 526 | 0.16.0 | | owner | **Plant bugs for `task-bench` in Rust, from the mutants cargo-mutants kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 | | 527 | 0.16.0 | | owner | **Plant bugs for `task-bench` in TypeScript, from the mutants Stryker kills.** | 3 | 2 | 1 | 4 | 4 | 1.1 by 1 | 0.3 | @@ -126,22 +125,6 @@ Touches: - `bin/task_bench/main.py`: `(module)` (small) - `README.md`: `## Tools` (small) -### 507. 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. - -Such tasks don't cost anything to write and are realistic. A shipped feature whose revert doesn't apply cleanly at both the base and the head is passed over. - -A chunk lands as several commits, not one. So a shipped feature is a chunk on the base's first-parent history that took an item out of the plan, as `branch_chunks` cuts that history, newest first: - -- Haiku is told the tagline of each item the chunk took out. -- The feature's change is one diff, from the commit before the chunk to its tip, leaving out the project's records: the plan, the changelog and the other files its config names. Later chunks append to those, so a revert of them would never apply. -- The revert applies that diff in reverse to a copy of each side's tree, in `shipped-features//` in the bench's folder, where `` counts the features taken. The reference patch is the same diff forwards, and the acceptance tests are the test files it touches, as the head holds them. -- A shipped feature counts as a bench feature does, in `feature_tasks.py`: the tests fail at both sides after the revert and pass with the reference patch. One whose change holds no test is passed over. -- A chunk whose branch landed by fast-forward is passed over: there each commit is a chunk of its own, so the history doesn't say which commits built the feature. - -A panel of three readers seated as the audience picked the spellings on 2026-11-24: `--tasks shipped-features`, 3 to 0, and `--shipped `, first for two and second for the third. - -Re-scored after the first read of the code, from L 3 and S 5 to L 4 and S 6, when deriving tasks from git history looked like a new pattern across four packages. Reusing `branch_chunks` kept it to about 330 lines. - ### 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: