Turn production failures into regression tests by grouping each incident and its derived cases into a single family. Put families used to diagnose, tune, or validate a fix in development. Build the release holdout from separate, previously unseen families. If a family crosses the boundary, quarantine it, mark the affected evaluation as contaminated, and rerun with a freshly frozen holdout.
Assign the family before assigning the split
A single failure can produce a raw trace, a retry with a new request ID, a redacted reproduction, and a fixture with an expected answer. Give each artifact its own case ID and preserve the relationship to the source event. Assign a common family ID whenever evidence shows the cases are versions of the same incident or descend from the same reproduction.
Begin with strong links such as the incident ID, parent case ID, or an exact source hash. Keep the source object and revision reference under the controls that protect it. Use near-duplicate matches to queue review of possible relatives. A common failure category, such as missing currency, is too broad to establish shared incident lineage on its own.
Scikit-learn's grouped cross-validation documentation explains the underlying requirement. Related observations can share a dependency, so an evaluation of generalization to unseen groups must reserve whole groups. The incident family is the group in this workflow. Scikit-learn grouped data guidance
Worked example with a contaminated fixture
In this illustrative ledger, the team discovered one shared parent while reviewing its split manifest.
| Case | Evidence of lineage | Original split | Disposition |
|---|---|---|---|
| 47-a, duplicate invoice trace | Incident I-47 | Development | Keep with I-47 |
| 47-b, redacted retry | Retry of 47-a | Development | Keep with I-47 |
| 93-x, sanitized replay | Derived from 47-b | Release holdout | Quarantine from release holdout |
| 91-a, failed invoice validation | Separate incident I-91, confirmed unexposed | Unassigned | Eligible for a new holdout |
The release reviewer marks the earlier evaluation contaminated and records the affected manifest and run IDs. I-47 is already exposed to development, so the reviewer removes the complete family from the holdout and preserves its useful cases as development regressions. The team can use I-91 to restore invoice-validation coverage if its input and pass criteria fit the missing evaluation slice. If the reviewer cannot establish that I-91 was unseen, release coverage remains open until a suitable case is available.
Freeze the evidence used for release
Create a manifest that records the case ID, family ID, source revision, lineage references, exposure status, split, and grading rubric version. Check that the intersection of development and holdout family IDs is empty. Check exact source duplicates across splits, including cases introduced by imported datasets. Review unresolved lineage before locking. Freeze the manifest with a version and digest before scoring the candidate, and preserve it with the results.
Resolve family identity across confirmed links before testing split membership. In the example, 93-x is part of I-47 through 47-b, even though the case name carries a different number. Store the parent links so another reviewer can follow that chain. Leave an unresolved possible relative out of the release holdout until its lineage is decided.
Exposure includes cases used to choose a configuration and cases shown to someone writing a fix. If a holdout failure is later handed to the development team, mark that family exposed. Keep the earlier result tied to the manifest used at that time and replace the exposed family for future evaluations. If the lineage was already shared before the earlier run, flag that run's claim about unseen families as invalid.
Start with the last incident you turned into an evaluation. Trace the raw event, retries, and edited fixtures to one family in the manifest, then check where each member landed. For the larger evaluation design, see sinc-LLM's guide to coverage, slices, and provenance.
sinc-LLM