Repository navigation
docs(container): state the positive-control leak rate as the measured interval, not a constant - #211
Conversation
… interval, not a constant #41. The comment guarding this battery recorded the positive control as "~1 run in 5" and derived a percentage from it. Re-measured on three trees (18/25 aggregate, 5/5, 7/10, 6/10) the control leaks at ~0.72, and the 95% Clopper-Pearson interval for the recorded 1-in-5 ([0.005, 0.72]) overlaps only at its extreme edge — so the recorded figure does not reproduce and a reader who perturbs this test would get numbers that contradict it, then distrust the whole note, including the part that matters. No behaviour changes: the guidance the comment exists to preserve is the INTERMITTENCY, which is invisible in the source and is exactly what makes an underpowered battery look clean. So this keeps that, drops the constant and the derived percentage, and states the interval plus the honest limit of what was measured — the rate is environment-dependent and the MECHANISM IS UNIDENTIFIED (scheduling is a plausible guess, not an established cause). `>=10` survives every measurement taken and stays. The kill is still recorded as load-bearing: removing it alone reintroduces the leak. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)
Review — BLOCKHead SHA: Change class: docs-only — comment-only edit inside Blocks
(No comment-thread items: the thread is empty, nothing to disposition.) Verdict: BLOCK ollama-cloud/deepseek-v4.1-flash — action-review. |
… and route its driver to a named row spec#211 review, findings 1-3, all arithmetic-checked: 1. The interval contradicted its own provenance. The cited table is 5/5, 7/10, 6/10 (pooled 18/25 ~= 0.72), so the observed range is 0.6 to 1.0 — while the text said "1-in-5 to 7-in-10", whose top edge (0.70) sits under both the maximum (1.00) and the mean (0.72), and whose bottom edge (0.20) is exactly the constant the same sentence says did not reproduce. The endpoints now come from the table. 2. "Close to useless" survived only under the retired constant: a 3-run battery misses a real leak ~51% of the time at p=0.2, but only ~6% at the measured low end (0.4^3) and ~2% at the pooled rate (0.28^3). Restated with those numbers, and the formula is given so the next reader can check it rather than trust it. 3. "Environment-dependent" plus an unnamed mechanism is banned framing in place of an RCA, so the unexplained variance is routed to a NAMED row instead: spec#212, which owns measuring the driver (quiet vs loaded on one tree first, then core count and scheduler). No mechanism is invented here, and the finding is not deleted. The meta-lesson is recorded rather than hidden: a PR whose purpose is removing an unverified numeric claim introduced a fresh one, and it was caught by arithmetic against provenance rather than by intent. Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)
Review — PASSHead SHA: Security screen: PASS — comment-only edit; no secrets, egress, guardrail weakening, or scope mismatch (T1–T4 clean).
Comment disposition:
Verdict: PASS ollama-cloud/deepseek-v4.1-flash — action-review. |
Summary
Closes #41 — a comment-accuracy fix, not a behaviour fix, in
container/stream_load_cleanup_test.go.The comment guarding this battery recorded its positive control as a constant — "leaks only ~1
run in 5" — and derived "a 3-run battery misses a real leak 51% of the time" from it. That rate does
not reproduce: re-measured on three trees the control leaked 18/25 (≈0.72) — 5/5 on
b39ae868,7/10 on
40a4541c, 6/10 onf1c08774— and the 95% Clopper-Pearson interval for the recorded 1-in-5(
[0.005, 0.72]) meets that only at its extreme edge. A reader who perturbs this test therefore getsnumbers that contradict the note, and the natural next step is to distrust the whole note — including
the part that matters.
So this keeps the fact the comment exists to preserve and drops what does not hold:
battery look clean), the load-bearing group kill ("removing it alone reintroduces the leak"), and
>=10, which survives every measurement taken;51%derived from it. That percentage was the reason the oldtext called a 3-run battery "close to useless", and it is the part the numbers do not support: at the
measured low end a 3-run battery misses a real leak ~6% of the time (
0.4³) and at the pooled rate~2% (
0.28³). The battery still has to be long — the low end governs and the leak isintermittent, so a clean
0,0,0is weak evidence — but the claim now rests on the measured range andshows its arithmetic instead of inheriting a number from the constant that did not reproduce;
5/5,7/10,6/10,pooled
18/25 ≈ 0.72), and the fact that the once-recorded~1 run in 5is the one value it does nottake. The driver of that spread is not established, and rather than answer an anomaly with
"environmental / probably" (B14), it is routed to a named row: spec#212, which owns measuring it
— quiet vs loaded on one tree first, then core count and scheduler — and will replace the interval with
a cause plus its measured range.
How tested
The changed artifact is prose in a
_test.gofile, so the proof is (a) the module's own committed CIstill passing on this head and (b) the claim's provenance being the measurement rather than a constant.
Module gate on this head —
gofmt,go vet,go test ./...andgolangci-lint v2.13.2, i.e. thisrepo's own committed standards (prose-only change, so no runtime bed applies):
Claim-keyed sweep (R5/Rule 11) — the retired constant on
origin/main, then on this head, where theonly surviving mention is the provenance note that says it did NOT reproduce:
Diff for this head:
$ git diff --stat origin/main...HEAD container/stream_load_cleanup_test.go | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-)Head
3279b7bdb5b97228c51dd894c2e0efaf4072ab0dWhat I did NOT do, stated plainly: I did not re-run the perturbation myself. The rate table above is
the issue's own measurement, attributed and not re-derived; what I executed here is the module gate and
the sweep. That is why this lands at
documentation reviewedrather than a runtime tier.Rulebook compliance
/charly-internals:git-workflowloaded before branching and committing (this is acommit/PR action), with
/charly-internals:strict-policyfor R1/R2/R5/RDD, and thespecrepo's ownAGENTS.mdread first as Part II rule 4 requires of any subrepo.constant that does not reproduce). Root-caused before remediation in the issue itself — the mechanism
is explicitly unidentified, and this change does not invent one: it states the interval and names
the limit. Nothing is classified as a flake and no warning is parked.
reconciled in the same commit (sweep pasted above), and the surviving mention is deliberate provenance
rather than a live claim.
introduced and none is left behind.
derived percentage rather than hiding a weakness behind it.
execute, and nothing in it tells anyone to run a checkout-relative recipe (the trap that cost two PRs
a block today, filed as
charly#837). The only commands named in this body are the gate and the sweep,and every one runs from this repo alone.
origin/main, 0 live hits on this head).git status --shortis empty after the commit; no force-push, no hook bypass, no push tomain.measurement that contradicts the old text, and it is pasted above with its provenance. The changed
path is executed live by
go test ./container/(the file this comment lives in), which passes.emitted artifact here is the comment a human reads, validated against the measurement it cites.
/charly-check:checkreferences/beds-and-r10.md: a plain module with nocharly.ymlproject and nodisposable: trueentity, so no bed can exist here — the schema is not runtime behaviour). The gate for that class is
this module's own committed standards, green on this head and pasted in full above.
the percentage derived from it, and both are corrected where they live. The guidance that was
missing is the part a reader needs and the old text could not give: that the rate is an interval
and derived from the table's own numbers, that the
51%was wrong for the measured rate, and that thedriver of the spread is tracked by spec#212 — so the next person to perturb this test neither
re-derives a wrong constant nor distrusts the note's load-bearing
>=10, and the open question has anowner rather than an adjective. This PR's
own prose is held to the same bar: the one place a rate appears, it is attributed and bounded.
Change classification
Documentation — a comment inside one
_test.gofile: no code, no pins, no scripts, no behaviouralconfig changed, and the module still builds and tests green. That is exactly the
documentation reviewedtier, whose proof is that every non-runtime standard passed — pasted above(
gofmt,go vet,go test ./...0 failures,golangci-lint0 issues) — and a runtime tier would beforbidden for prose-only work.
Divergence from the issue worth stating: spec#41 says "Not worth a solo PR — fold into the next
change that touches
container/". I landed it solo because it was assigned as its own row; the issue'sbatching preference is recorded here rather than silently overridden, and the reviewer can weigh it.
Agent: loader-paths
Assisted-by: DeepSeek Harness ollama-cloud/deepseek-v4.1-flash (documentation reviewed)