Test the Instrument
Every checking mechanism has two error rates: the faults it lets through and the sound work it rejects. Measure both on known cases before trusting it.
- Kind
- Pattern
- Stages
- Review, Learn
- Roles
- Factory designer, Reviewer
- Evidence
- Proposed
- Entry
- Abridged
This page is the abridged form. The full entry, with its reasoning, costs and evidence, is in preparation for the book The Engineering of Confidence.
Use when
You rely on a test suite, a comparison harness or a reviewer, and do not know how often it misses faults or rejects sound work.
In brief
Before the first run, pass a known-good reference through every instrument and check that seeded-bad candidates fail where intended. Record both error rates.
What it costs
Planted faults measure sensitivity to those kinds of fault on that code, and faults nobody thought to plant stay uncovered.
Evidence
ProposedThe author’s own framework or experiments. No outside source yet.
No outside source is named for this pattern yet.
Related patterns
Full entry
The full entry is in preparation for the book.
How to cite this page
Vibhor Mahajan. (2026). Test the Instrument. In Design Patterns for AI Software Factory. Last changed 2 December 2026. https://softwarefactorypatterns.com/patterns/test-the-instrument/
In the manuscript: Chapters 7 and 8.