Answer product-owner round 1: 0 🔴, 2 🟡 (0 misread); the digest and the gather prompt name the folders that hold each side without a shipped feature, and the help's exit-1 paragraph reads whole

This commit is contained in:
2026-11-24 01:29:45 +01:00
parent c6ebfe0cfe
commit 8d4609fad7
3 changed files with 20 additions and 13 deletions
+15 -12
View File
@@ -86,14 +86,17 @@ commits a rebase landed together, which share a commit time. A chunk with a comm
that item out unbuilt, so it didn't ship it. The bench goes through the shipped features newest first, until --shipped of
them, 5 by default, count. For each:
- it takes the chunk's change out of a copy of each side's tree, as `git apply -R` does. The plan and the project's records stay
as the side holds them, since later chunks wrote on in them: the changelog, the decisions, the score anchors, the comprehension
history and the reading cost. So Haiku can read there what the changelog says of the feature;
- Haiku is told the tagline of the item, or of each item the chunk shipped, and nothing more;
as the side holds them, since later chunks added to them. The records are the changelog, the comprehension history, the
decisions, the reading cost and the score anchors. So Haiku can read there what the changelog says of the feature;
- Haiku is told the tagline of the item, or of each item the chunk shipped;
- the acceptance tests are the test files the change touched, and its files under a `testdata` folder, each as the head holds it;
- the reference patch is the change itself.
With those, a shipped feature counts, and a build passes, as for a feature. The bench also passes over one whose change doesn't
come out of both trees cleanly, as where a later chunk rewrote its lines, and one whose change touched no test the head still
holds. The report says which and why. The table has a row per shipped feature and side, named by its items, as `item 7`.
With those, a shipped feature counts, and a build passes, as for a feature. The bench also passes over three kinds:
- one whose branch landed by fast-forward. Its commits keep a commit time each, so the history doesn't say which of them
built it;
- one whose change doesn't come out of both trees cleanly, as where a later chunk rewrote its lines;
- one whose change touched no test the head still holds.
The report says which and why. The table has a row per shipped feature and side, named by its items, as `item 7`.
The project's config must name the checkout, with the plan at `todo.md`, the comprehension history at
`docs/comprehension-history.md` and the reading cost at `docs/reading-cost.md`. --seed, --bugs and --prefix don't go with
--tasks shipped-features, and --shipped goes with no other kind.
@@ -136,10 +139,10 @@ number from 1, a --tasks that is none of bugs, features, data-sources and shippe
fails, the seats' places don't name any Go or Python file, the tests fail at a side without a bug, or no mutant becomes a bug. With --tasks
features or data-sources it exits 1 on a --seed, --bugs or --prefix; where no config names the checkout or its config sets no
`bench-tasks`, or the folder holds no task of that kind, one that lacks a part, or a `generate-register` that is no executable
file, each before docker runs; and where the tests fail at a side without the acceptance tests, or no task counts. Where the
file, each before docker runs; and where the tests fail at a side without the acceptance tests, or no task counts.
With --tasks shipped-features it exits 1 on a --seed, --bugs or --prefix, and on a --shipped that is no whole number from 1;
where no config names the checkout or its config keeps the plan or one of those two records elsewhere, or the base's history
shipped no item, each before docker runs; and where the tests fail at a side with every feature in, or no shipped feature
where no config names the checkout, its config keeps the plan, the comprehension history or the reading cost at another path
than the one above, or the base's history shipped no item, each before docker runs; and where the tests fail at a side with every feature in, or no shipped feature
counts. A --shipped with another kind of task exits 1 too.
Where the API refuses a run, the bench stops there and exits 1 too, after the table of the runs that finished.
With --record-figures it also exits 1, saying why: before it plants a bug, where no config names the checkout or the history
@@ -301,9 +304,9 @@ def bench(given: dict[str, str], env: typing.Mapping[str, str], read: typing.Cal
def bench_in(folder: pathlib.Path, given: dict[str, str], env: typing.Mapping[str, str], tasks_from: str | Features | ShippedFeatures, checkout: str, sides: dict[Side, str], git: Git) -> list[str] | Failure:
"""The report of a bench of the commits sides names, which empties folder and keeps its runs there. The bench plants bugs at
the places tasks_from names, where it is what `larv-review places` prints, and has Haiku build the features, add the data
sources, or rebuild the shipped features, it holds otherwise."""
"""The report of a bench of the commits sides names, which empties folder and keeps its runs there. Where tasks_from is what
`larv-review places` prints, the bench plants bugs at the places it names. Where tasks_from holds features, data sources or
shipped features, the bench has Haiku build, add or rebuild them."""
containers = Containers(docker_cli(env), f"task-bench-{uuid.uuid4().hex[:12]}", given["--test"], int(env.get(SHARE_VARIABLE) or MEMORY_MIB), f"{os.getuid()}:{os.getgid()}")
shutil.rmtree(folder, ignore_errors=True)
trees: dict[Side, str] = {}