API reference¶
One page per module, rendered from the docstrings. The most-used names are also importable from inspect_evals_utils itself; inspect_evals_utils.huggingface is not, so the base package imports without the huggingface extra.
| Module | Summary |
|---|---|
inspect_evals_utils.cache |
The cache directory shared by inspect_evals and standalone evals. |
inspect_evals_utils.code |
Helpers for extracting generated code and JSON from Markdown responses. |
inspect_evals_utils.datasets |
Load JSON and CSV datasets, caching remote files and retrying transient download errors. |
inspect_evals_utils.huggingface |
Hugging Face wrappers that retry on rate limits and transient errors, and require a pinned revision=. |
inspect_evals_utils.ids |
Stable sample ids, duplicate and known-broken sample filters, optional-dependency checks. |
inspect_evals_utils.messages |
Helpers for rendering chat message content as text for scorers. |
inspect_evals_utils.metadata |
Read an eval's eval.yaml file. |
inspect_evals_utils.prompts |
A dataclass for declaring a prompt together with its provenance and contracts. |
inspect_evals_utils.readmes.cli |
The inspect-evals-readmes command. |
inspect_evals_utils.readmes.generate |
Generate and maintain auto-generated sections in per-eval README files. |
inspect_evals_utils.readmes.sections |
Generic script to add missing section tags to eval READMEs. |
inspect_evals_utils.scorers |
Grader vocabulary and the free-text verdict parser for LLM-judged scorers. |
inspect_evals_utils.shuffle |
Turn a shuffle task parameter into a dataset loader's shuffle and seed. |