Skip to main content

Inspect’s basics

What an evaluation is made of in Inspect, what a run leaves behind, and how to use one somebody else already wrote.
Author
Last updated

December 2, 2026

Inspect was the first tool I set out to learn. It’s an open-source framework for evaluating language models, built by the UK AI Security Institute and Meridian Labs, and getting comfortable with it was the main goal of my first note.

An evaluation in Inspect is a task, and a task has three parts. The dataset is the set of samples: each one an input, like a question or a whole conversation, plus a description of what a good answer looks like. The solver turns each input into an answer, and in the simplest case that just means sending it to the model you’re testing. The scorer decides how good each answer is. That can be a rule (“did it pick the right letter?”) or another model doing the grading, which Inspect calls a grader. In papers you’ll see the same idea called model-graded evaluation or LLM-as-a-judge.

Every run writes a log. The log keeps every input, every answer, every score and how many tokens each call used, and inspect view opens it in your browser so you can click through any answer and see why it got the score it did. Every number in my first note comes from these logs.

People often call a ready-made evaluation an “eval”, and you don’t have to write one from scratch. Inspect Evals is a collection of published benchmarks already written as Inspect tasks, and most of them take options, like which part of the dataset to use or which model grades. If the options aren’t enough, you can build your own task from an existing one’s parts (Inspect has task_with() for this), write your own scorer, or send a fix or a new option back to the collection so the next person doesn’t have to change anything.

An Inspect task and its log A task is a recipe with three parts. The dataset holds the samples, each an input and a description of what a good answer looks like. The solver turns each input into an answer, often by asking the model being evaluated. The scorer marks each answer, by a rule or by another model, called a grader. Running the task writes one log, which holds every input, answer, score and token count, and inspect view opens it. A task: a recipe with three parts Dataset the samples, each an input and what a good answer looks like Solver turns each input into an answer Model being evaluated Scorer marks each answer, by a rule or by another model, a grader One log per run every input, answer, score and token count; open it with inspect view

Where I learned it

A frontier model and a small open-weight model on a laptop, compared on HealthBench’s expertise-tailored communication

  • Can I run a published benchmark on two models without rewriting it? Yes. I used Inspect Evals’ HealthBench task as it ships, set its options for the judge and for a length adjustment, and picked the theme’s conversations by their ids.
  • Where does every answer and judgment end up? In one log per run. The logs are published with the note, so anyone can open them in Inspect’s viewer.

Read more