IETS005: custom_solver_tests¶
Every @solver function name appears somewhere in the tests.
Category: tests ยท Applies to: eval, helper
What it does¶
Finds functions decorated with @solver in the package and checks each name appears in a test file. For an evaluation the search covers tests/<name>/; for a helper package, the whole tests root, because shared components are usually tested next to the evaluation that motivated them. One diagnostic per untested function. This is a presence check, not a quality check.
Why is this bad?¶
A custom solver is the evaluation's own logic, the part no upstream test covers. One test that at least constructs it catches import errors and signature changes.
Suppress on a line with # inspect-evals-lint: ignore[IETS005] or ignore[custom_solver_tests]; select or ignore it in configuration by either, or by the prefix IETS.