470. A gate on harness quality: self-reference and re-implementation
Refused by milestone 211 (design/roadmap/0211-self-referential-harnesses.md) and milestone 213 (design/roadmap/0213-harnesses-that-duplicate-the-implementation.md), each of which records it in its Follow-on. Milestone 448 (a refusal gets a number) gives a refusal this form.
The refusal, in its own words
From '211. A harness that states its property through the function under test cannot see that
function break', under ## Follow-on:
A lint for this defect. No check distinguishes "asserts through the function under test" from "legitimately asserts agreement", and agreeing with itself is sometimes the property you want, so a gate that flagged every such harness would be wrong more often than right. The output is eleven falsification patches and a worklist instead.
-- design/roadmap/0211-self-referential-harnesses.md
From '213. A harness that re-implements the code instead of calling it proves nothing about the
code', under ## Follow-on:
A gate. No check tells a deliberate model apart from an accidental copy, which is milestone 211's reason and it held through the sweep. The discriminator the sweep worked out is a question a person answers, "which side of the assertion did the crate produce?", and both sides look like arithmetic beside a call to any pattern a lint could match.
-- design/roadmap/0213-harnesses-that-duplicate-the-implementation.md
Why it is here rather than only there
Two sweeps found two defects in the proof suite, two months apart: harnesses that state their property through the function under test, and harnesses that re-implement the code instead of calling it. Both sweeps refused a gate, with the same reason arriving twice independently. No check distinguishes "asserts through the function under test" from "legitimately asserts agreement", and none tells a deliberate model apart from an accidental copy; both distinctions are answered by a person reading which side of the assertion the crate produced.
Revisit
- Condition. A mechanical discriminator. Both refusals turn on the same missing thing, and both shipped the honest alternative instead: eleven falsification patches and a worklist from one, 148 harnesses read by hand by the other. A candidate check that can tell a deliberate model from an accidental copy is what would reopen this.
Index row
Two independent sweeps of the proof suite reached the same refusal about gating their own findings, because the defect is a judgment a lint cannot make. They are gathered here because one refusal repeated is stronger evidence than two bullets nobody connects.