A working almanac Sunday, 29 November 2026
Reviery

Topic

LLM Evals

Testing a chatbot or AI agent starts with finding test questions and ends with what should stop a release. In between come grading and telling a real change from chance, in short worked examples.

An LLM eval, short for evaluation, is a test for a system built on a large language model, such as a chatbot or an AI agent. Anthropic's guide from January 2026 puts it as "a test for an AI system: give an AI an input, then apply grading logic to its output to measure success". Evals need a name of their own because ordinary software tests compare an output with the one correct output, and a language model can word the same answer a hundred ways, or say something false while every technical check passes.

The example I keep returning to is Air Canada's website chatbot. It told a customer whose grandmother had just died that a bereavement fare could still be claimed after travel, while linking to the airline's own page saying it couldn't, and in February 2024 a tribunal in British Columbia ordered the airline to pay C$812.02. The decision doesn't say what kind of chatbot it was, so I use it only as a clean record of the failure: software working perfectly while saying something wrong.

The vocabulary, as an exam

A task is one question on the paper, with its inputs and what counts as success. Because answers vary between runs, the same task is attempted several times, and each attempt is a trial. Graders are the markers. A transcript, also called a trace, is the full answer booklet, every step the system took, and the outcome is what is actually true at the end: for a booking agent, whether a reservation exists, whatever the agent says. Graders come in three kinds. Code is fast and reliable and has no feel for nuance; a second model copes with judgement calls but has to be tested itself; people are the most flexible and the slowest.

The test can be wrong too

Anthropic reports that one of its models first scored 42% on a benchmark called CORE-Bench, then 95% once grading bugs were fixed and the setup around the model was loosened. That's a company describing its own product, so I read it with care, but the lesson holds: don't trust a score until someone has read some transcripts. For getting started, its advice is that "20-50 simple tasks drawn from real failures is a great start".

The details are in my first post on LLM evals. Where the test questions should come from is the next post in the series.

Entries on this topic

  1. A chatbot got a refund rule wrong, which is what evals are for

    An airline's chatbot told a grieving customer they could claim a cheaper fare after flying, while linking to a page that said they couldn't. I went looking for the kind of test meant to catch this, and found out what an eval is.

    5 min read

All topics