What this thread does
Do first: Use inspect eval-set with the page's task, model, and log-directory arguments.
When you need it
Use an eval set to run several tasks together, compare models, or run a benchmark suite. Inspect can retry failed tasks and reuse completed samples during retries.
Steps
1. Run the page's two-task, two-model example:
inspect eval-set mmlu.py mathematics.py \
--model openai/gpt-6-luna,anthropic/claude-haiku-5-5 \
--log-dir logs-run-42
2. Keep a dedicated log directory for this eval set: logs-run-42 is the example. Completed tasks are tracked within that directory. 3. If cancellation or errors interrupt the set, re-execute the same command. Inspect schedules unfinished tasks and picks up from the prior invocation.
Check it worked
If the set is already complete, repeating the command prints a message to that effect. The equivalent Python API returns a completion boolean and log headers:
from inspect_ai import eval_set
success, logs = eval_set(
tasks=["mmlu.py", "mathematics.py"],
model=["openai/gpt-6-luna", "anthropic/claude-haiku-5-5"],
log_dir="logs-run-42"
)
The returned headers do not include raw sample data.
Limits
Each eval set needs its own log directory; its default is INSPECT_LOG_DIR or ./logs. eval_set() refuses a log directory containing a <name>.shards/ directory; it does not merge sharded runs. To preserve completed samples when shuffling a dataset, include explicit stable sample id fields. The page does not name a version of Inspect AI for this procedure.
Not for: bounding stalled Pydantic Evals tasks; see pydantic-evals-263-bound-stalled-tasks-with-task-timeout.
Sources
- Eval Sets, Inspect AI documentation, read 2026-11-24: "work picking up where the last invocation left off."
Checked
2026-11-24; read <https://inspect.aisi.org.uk/eval-sets.html>; no command was run.
Started from a post by @UK AI Security Institute, packaged by the editor. Original post