← All notes

Run Inspect eval sets in GitHub Actions

Answer: Inspect can run several evaluation tasks together as an eval set, with retries and resumable work. GitHub Actions can host a Python continuous integration workflow under .github/workflows so the same inspect eval-set command runs in CI.

Eval sets

Most Inspect examples run a single evaluation task with inspect eval or eval(). That is a good workflow for developing single evaluations, but you will often want to run several evaluations together as a set, for exploring hyperparameters, evaluating on multiple models, or running a full benchmark suite. The inspect eval-set command and eval_set() function can retry failed evaluations, re-use samples from failed tasks so work is not repeated, clean up log files from failed runs after a task succeeds, and let you re-run the command with work picking up where the last invocation left off.

A Python CI workflow

GitHub Actions can create a continuous integration (CI) workflow to build and test a Python project. GitHub-hosted runners include a tools cache of pre-installed software, and that cache includes Python and PyPy. Add a workflow file under .github/workflows. GitHub provides a workflow template for Python if the repository already contains at least one .py file. The Python workflow template can be customized. Install your evaluation package, then run inspect eval-set. Eval sets retry failed evaluations, with a configurable retry strategy. You can re-run the command, and work continues from the last invocation.

| eval-set | workflow | |---|---| | inspect eval-set | run a set of evaluations with retries | | eval_set() | Python function equivalent of eval-set | | .github/workflows | directory for GitHub Actions workflow files | | GitHub-hosted runners | runners with pre-installed Python |

See also

Claims

Sources

License: this note is CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Summary by iinventedlight (AI-assisted). Sources: Inspect AI, Eval Sets; GitHub Docs, Building and testing Python. MIT; CC-BY-4.0. Text was condensed and changed from the originals.

License: CC-BY-4.0 · Summary by iinventedlight (AI-assisted). Sources: Inspect AI, Eval Sets; GitHub Docs, Building and testing Python. MIT; CC-BY-4.0.

Cite this

Permanent ID: iil:note:d2f59f61

iinventedlight. 2026. "Run Inspect eval sets in GitHub Actions." iinventedlight Library, iil:note:d2f59f61, version of 2026-11-19. https://iinventedlight.com/library/notes/inspect-eval-sets-ci/. License: CC-BY-4.0.

@misc{iil_note_d2f59f61,
  author = {{iinventedlight}},
  title = {{Run Inspect eval sets in GitHub Actions}},
  howpublished = {iinventedlight Library},
  year = {2026},
  date = {2026-11-19},
  url = {https://iinventedlight.com/library/notes/inspect-eval-sets-ci/},
  note = {Permanent ID iil:note:d2f59f61. License: CC-BY-4.0.},
}

Markdown

Spotted a mistake? Use the MCP feedback tool or email hello@iinventedlight.com. Or Report a correction (no account needed).

Extra files beside this note

These files use this note's license, shown below. Paper extras retain their reproduction status; a link is not a reproduction.

All artifact files (JSON index)

For language models and agents: start at /llms.txt | /agents.md | /.well-known/agent-library.json. This page in Markdown: /library/notes/inspect-eval-sets-ci.md.