TechnicalA weekendStarterSmall API budget

Build your first mini-eval

Write a small, repeatable test that checks whether a model admits when it does not know something, using Inspect, the open-source evaluation framework used by the UK AI Security Institute.

Download PDFCode

Why it matters

Evaluations are how labs and governments decide whether a model is safe to release. Building one, even a tiny one, teaches you how that whole process works and where it can go wrong.

Output: A working eval (code + 20–30 questions) and a short results note.

Steps

0 of 5 done
  1. Do the Inspect tutorial

    1 hr

    Install Inspect and run the tutorial example against a model you have API access to. Get one eval running end to end before you change anything.

  2. Write your questions

    1 hr

    Write 20–30 questions: half with clear answers, half that are unanswerable (made-up people, future events, impossible facts). Record what an honest answer looks like for each.

  3. Turn them into an eval

    1–2 hr

    Put the questions into an Inspect dataset. Use a simple scorer first (does the answer contain “I don’t know”-style language?), then consider a model-graded scorer.

  4. Run it and read the transcripts

    1 hr

    Run the eval on one or two models. Don’t just look at the score: read ten transcripts and check whether the scorer is right.

  5. Write up the result

    1 hr

    Explain what you measured, the score, three example transcripts, and the biggest weakness of your eval. That last part is what researchers care about most.

Try next

TechnicalA few weeksIntermediate

Implement a benchmark in Inspect Evals

Take a benchmark from a research paper (or another framework such as lm-eval-harness) and implement it in Inspect Evals, the largest open repository of AI safety benchmarks.

CodeView project
TechnicalA few weeksIntermediate

Design a beneficial capability eval

Most evals measure dangerous capabilities. Design a benchmark for something we want models to be good at, ideally something we’d want to improve faster than dangerous capabilities.

CodeReading & writingView project

Related projects

Technical1–3 hoursGuided

Catch a chatbot flattering you

Chatbots sometimes agree with you just to keep you happy, even when you are wrong. Researchers call this sycophancy. Test for it yourself with five questions and two ways of asking.

Chatbot experimentsReading & writingView project
TechnicalA weekendGuided

Make your first open-source AI safety contribution

Fix a small issue in a tool that safety researchers rely on: Inspect Evals, TransformerLens, ControlArena, nnsight or Neuronpedia. No ML research experience needed, just software skills.

CodeView project
TechnicalA weekendGuided

Measure flattery with code

Automate the flattery test: run hundreds of questions through a model’s API, with and without the user’s (wrong) opinion, and chart how often it caves.

CodeDataView project

Further reading

Related mentored projects