IETS004: record_to_sample_test¶
record_to_sample is exercised by a test when the evaluation uses it.
Category: tests ยท Applies to: eval
What it does¶
When any file in the package mentions record_to_sample, some test file must mention it too. Skipped when the evaluation has none.
Why is this bad?¶
record_to_sample is where a dataset's fields become an evaluation's inputs and targets. A field renamed upstream fails silently there unless a test pins a real record.
Suppress on a line with # inspect-evals-lint: ignore[IETS004] or ignore[record_to_sample_test]; select or ignore it in configuration by either, or by the prefix IETS.