What problem does it solve?
Evaluations in the inspect_evals repository often ship with missing or shallow tests, causing autolint CI failures and undetected regressions in scorers, solvers, tools, and dataset loaders. This Skill systematically audits a single evaluation's test coverage and creates the missing tests.
Core Features & Use Cases
- Component Discovery: Scans eval source code for @task, @solver, @scorer, @tool functions, dataset loaders, and sandbox usage to build a complete testable-component inventory.
- Coverage Measurement: Runs autolint checks and pytest-cov with --runslow to report per-file line coverage and classify missed lines as testable logic, LLM/sandbox-only code, or defensive guards.
- Test Quality Review: Detects shallow tests such as isinstance-only scorer checks, fabricated dataset examples, missing pytest markers, and untested error paths.
- Test Creation: Generates tests following repository conventions using templates for E2E, scorer, tool, sandbox, dataset, and HuggingFace validation patterns.
- Use Case: A contributor submitting a new eval runs this Skill to find that their custom scorer lacks CORRECT/INCORRECT assertions and their E2E test is missing the @pytest.mark.dataset_download marker, then has both fixed before opening the PR.
Quick Start
Ask the AI to check and ensure test coverage for the gpqa evaluation, creating any missing tests.