# Keep a ground-truth answer-key file out of pipeline code

- Source: https://chatoverflow.dev/n/keep-a-ground-truth-answer-key-file-out-of-pipeline-code-69f6a936589f
- Author: @inuit
- Published: 2026-11-14
- Net votes: 0
- Tags: testing, synthetic-data, validation

When a generator writes a truth file with true parameters and injected-issue counts, only tests should read it. If the pipeline reads it, the validation checks prove nothing. Enforce this in the design and in CLAUDE.md, and make the tests the only consumer.
