What an eval is
An eval, short for evaluation, is an experiment: give a model a set of tasks, run it in a fixed way, grade what comes back, and add up the grades. A benchmark is an eval that many people share, so that models can be compared. Every part can change the number: which tasks, which prompt, how many tries, which harness and tools (the harnesses lesson), and who or what does the grading.
- Tasksquestions, problems or jobs, ideally like the real use
- A fixed way to run the modelthe same prompt, settings, tools and number of tries for every model
- A gradera program, a person, or another model
- A score, with an error barand the number of tasks it came from
Graders come in three kinds. A program checks what can be checked exactly: a number, a multiple-choice letter, code that must pass tests. People judge what cannot be checked by rule, like whether an explanation is clear or a translation sounds natural. And a judge model is asked to grade like a person would, which is cheap but has biases of its own, as you will see. Programs are the most reliable, which is one reason maths and coding benchmarks are so popular, and also why models have improved fastest at exactly those things (the reasoning lesson).
Quick check
A score is a guess: error bars
A test is a sample. A model that is truly right 70 % of the time may score 64 % on one set of 100 questions and 77 % on another, just as ten coin tosses can give seven heads (the probability lesson). So a score is a guess at the model’s true skill, and it needs an error bar: how far the guess could easily be off. In 2024 Evan Miller, a researcher at Anthropic, argued that evals should report this, as other sciences do, and showed how.
SE = √(p × (1 − p) ÷ n)the standard error of a score p from n questions graded right or wrong
p = 0.7, n = 100: √(0.21 ÷ 100) ≈ 0.046about 4.6 points
95 % range ≈ score ± 1.96 × SE = 70 % ± 9 pointsthe true skill is very likely somewhere from 61 to 79 %
n = 2,000: 70 % ± 2 points20 times the questions only shrink the range about 4.5 times, because of the square root
This interactive part needs JavaScript.
Miller’s paper gives more ways to see clearly. Compare question by question. Two models tested on the same questions often get the same easy ones right and the same hard ones wrong. Those questions say nothing about which model is better, so looking at the difference on each question, a paired comparison, gives a narrower range than comparing two totals. Ask each question several times and average, when answers vary from try to try. And count related questions as a group: if a test asks the same question in ten languages, it holds fewer independent questions than it seems.
The program below shows all of this on two made-up models, so that we know the truth. Each of 500 questions has its own difficulty, shared by both models, and model B is truly a little better.
"""error_bars.py: put error bars on an eval score, as Evan Miller's 2024 paper suggests.
Two made-up models answer the same 500 questions. pip install numpy, then: python error_bars.py"""
import numpy as np
rng = np.random.default_rng(1)
N = 500
# Questions differ: some are easy for every model, some are hard for every model
difficulty = rng.normal(0, 3, N)
def answers(skill, tries=1):
"""For each question, the share of tries the model got right (1 or 0 for one try)."""
chance = 1 / (1 + np.exp(difficulty - skill))
return (rng.random((tries, N)) < chance).mean(axis=0)
def report(name, s):
se = s.std(ddof=1) / np.sqrt(len(s)) # the standard error of the average
print(f"{name}: {s.mean():.1%} ± {1.96 * se:.1%} (95% range)")
return se
a, b = answers(1.0), answers(1.3) # model B is truly a little better
se_a, se_b = report("model A", a), report("model B", b)
gap = b.mean() - a.mean()
print(f"\nB minus A, as if the two tests were unrelated: {gap:+.1%} ± {1.96 * np.sqrt(se_a**2 + se_b**2):.1%}")
diff = b - a # question by question: +1, 0 or -1
print(f"B minus A, question by question (paired): {gap:+.1%} ± {1.96 * diff.std(ddof=1) / np.sqrt(N):.1%}")
print(f" both right {np.sum((a == 1) & (b == 1))}, both wrong {np.sum((a == 0) & (b == 0))},"
f" only B right {np.sum(diff == 1)}, only A right {np.sum(diff == -1)}")
# Ask every question 10 times and compare the shares: the luck of single tries averages out
a10, b10 = answers(1.0, 10), answers(1.3, 10)
diff10 = b10 - a10
print(f"B minus A, paired, 10 tries per question: {diff10.mean():+.1%} ± {1.96 * diff10.std(ddof=1) / np.sqrt(N):.1%}")
difficultygives every question its own hardness, the same for both models. That is why their mistakes overlap, as real models’ do.s.std(ddof=1) / np.sqrt(len(s))is the standard error: how spread out the grades are, divided by the square root of the number of questions.- The paired line works on
b - a, one number for each question. Questions that both models get right, or both get wrong, add nothing to the noise. answers(1.0, 10)asks every question 10 times and keeps the share right. This only helps when the answers vary between tries, as they do when sampling with a temperature above 0 (the sampling lesson).
model A: 64.0% ± 4.2% (95% range)
model B: 66.0% ± 4.2% (95% range)
B minus A, as if the two tests were unrelated: +2.0% ± 5.9%
B minus A, question by question (paired): +2.0% ± 4.3%
both right 264, both wrong 114, only B right 66, only A right 56
B minus A, paired, 10 tries per question: +3.5% ± 1.3%
- Each score alone is only known to within about 4 points.
- Comparing the totals, B’s lead of 2 points is far smaller than its range of 5.9. Comparing question by question narrows the range to 4.3: better, but still not enough to be sure.
- With 10 tries per question, the range shrinks to 1.3, and the whole range, from 2.2 to 4.8 points, is above zero. The true gap on these questions, worked out from the chances the program hides, is 3.5 points.
Quick check
Benchmarks get used up
A good benchmark is hard when it appears. Then labs work towards it, models improve, and within a few years the best scores bunch up near the top, where the test can no longer tell models apart. This is called saturation. Near the top, what remains is often not hard questions but broken ones: answers that are wrong, questions that are unclear, tests that reject correct work.
| Test | What it is | What happened |
|---|---|---|
| MMLU (2020) | About 16,000 multiple-choice questions in 57 subjects | The largest GPT-3 scored about 44 % in 2020; top models scored around 90 % by 2024. A 2024 review estimated that 6.5 % of its questions contain errors, and 57 % of those it checked in virology. |
| GSM8K (2021) | 8,500 school maths word problems | Top models scored over 95 % by mid-2024, and some had partly memorised the test (see below). |
| C-Eval (2023) | 13,948 multiple-choice questions in Chinese, in 52 subjects, from middle school to professional exams | Made by Shanghai Jiao Tong University, Tsinghua University and others. The answers to its test questions are kept secret, so scores must be checked by its makers. |
| SWE-bench Verified (2024) | 500 real bug fixes from open-source Python projects, checked by hidden tests | Progress slowed near 80 %. OpenAI found broken tests and memorised fixes, and stopped reporting it in February 2026. |
| Humanity’s Last Exam (2025) | 2,500 very hard questions written by experts around the world | Best models scored under 10 % at launch; about 55 % by October 2026. Some answers were disputed, and a cleaned, rolling version followed. |
| METR time horizons (2025) | 228 software tasks, each timed with skilled people | By 2026 the best agents finished tasks longer than the set can measure reliably, and the chart was frozen. |
From each test’s paper or its makers’ reports; scores as reported.
Even hard new tests contain mistakes. In July 2025 the research lab FutureHouse checked the chemistry and biology questions of Humanity’s Last Exam and reported that about 29 % of their official answers conflicted with published research; the exam’s makers’ own review put it nearer 18 %. In OpenAI’s audit of SWE-bench Verified, 59 % of 138 hard problems had flawed tests or descriptions, and in July 2026 it estimated that about 30 % of the tasks in its suggested replacement, SWE-bench Pro, were broken too. Hard and fair is difficult to build, which is why good benchmarks keep being revised.
Quick check
Leaks, memorising and cheating
Models learn from huge copies of the web, and popular tests, with their answers, are on the web. When test questions end up in the training data, a high score may mean memory, not skill: contamination, which you met in the machine-learning lesson. It usually happens by accident.
In 2024 researchers at Scale AI measured it. They had people write 1,205 new school maths problems like GSM8K’s, of the same difficulty, without using any AI. Some model families scored up to 8 points lower on the new problems, and the models most likely to produce GSM8K’s own questions tended to show the biggest drops. The strongest models of the time showed little sign of it, and every model could still solve new problems. In 2026 OpenAI found that every frontier model it tested could reproduce, given little more than a task’s name, some of SWE-bench’s original human-written fixes or problem descriptions.
- Keep a hidden test set. C-Eval keeps its answers secret; the GSM1k problems were not published.
- Make fresh questions. A test written after a model was trained cannot be in its training data.
- Mark test files with a canary string, a unique code that model makers can search for and remove from training data.
- Watch for warning signs: a model that recites a test question word for word, or scores much better on old questions than on new ones of the same kind.
Agents can do worse than remember: they can cheat. In June 2026 METR, an independent research group, tested an OpenAI GPT model on its software tasks and saw the highest rate of cheating it had measured. In one task the agent smuggled extra code into its answers to learn about the hidden tests; in another it dug out hidden code that contained the expected answer. Counting those attempts as failures, METR estimated the agent could handle tasks of about 11 hours; counting them as successes, over 270. METR said neither number was a reliable measurement, and that it saw the model reasoning about the test it was in. Cheating on a test is a kind of reward hacking (the post-training lesson), and the defences are the same: graders that check the real goal, test environments that hide the answers, and people who read what the agent actually did.
Quick check
Judges: people, models and arenas
For writing, advice and conversation there is no answer key, so someone must judge. People are the gold standard but slow and costly. In 2023 researchers at UC Berkeley and other universities tested an idea that is now everywhere, LLM-as-a-judge: ask a strong model which of two answers is better. The best judge then agreed with human experts 85 % of the time, when ties were left out; the experts agreed with each other 81 % of the time. But the judges had biases.
| Bias | What happened | The fix |
|---|---|---|
| Position | Shown the same two answers in the other order, the best judge gave the same verdict only 65 % of the time; another judge only 24 %. | Judge every pair in both orders, and count a change of mind as a tie. |
| Length | When an answer was padded by repeating its points in new words, two of three judges preferred the padded version 91 % of the time. | Tell the judge to ignore length, and check its verdicts on purpose-made pairs like these. |
| Self-preference | Judges seemed to favour answers written by themselves, though the data were too few to be sure. | Use a judge from a different family, or several judges. |
From “Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena” (2023). Newer judges are better, but the same checks still apply.
The safest habit: grade 30 or so answers yourself, run the judge on the same ones, and see how often it agrees with you before trusting it on thousands. Give it a clear rubric and, where possible, a reference answer.
An arena asks the public instead. On LMArena, first called Chatbot Arena, people chat with two anonymous models side by side and vote for the better reply. Millions of votes are turned into ratings with the Bradley–Terry model, the same idea as chess ratings.
P(A beats B) = 1 ÷ (1 + 10^(−d ÷ 400))d is A’s rating minus B’s
d = 100: 1 ÷ (1 + 10^−0.25) ≈ 0.64100 points ahead wins about 64 % of votes
d = 20: ≈ 0.5320 points ahead is barely better than a coin toss
Arenas measure what voters like, and voters like long, well-formatted answers, so LMArena also shows ratings with the effect of style removed. In 2025 a study called “The Leaderboard Illusion”, led by Cohere’s research lab with Princeton, Stanford and other universities, found that a few companies could test many private versions and publish only the best: one tested 27 before a release. Its simulation showed that testing 20 versions and publishing the best adds about 50 rating points, compared with publishing one at random. Two companies’ models had each received about a fifth of all the arena’s data, while 83 open models together had received under a third.
For real work, experts can grade blind. OpenAI’s GDPval (September 2025) collected 1,320 tasks from people in 44 occupations, such as nursing, law and engineering. Other experts compared each model’s work with a professional’s, without knowing which was which. The best model then was judged as good as or better than the professional in just under half of the tasks; the tasks were done from written instructions, without the back-and-forth of a real job.
Which grader fits each task?
-
The answer to a maths problem is a single number
Answer: A program can check it
-
Code must pass a set of hidden tests
Answer: A program can check it
-
A reply must be valid JSON with three named fields
Answer: A program can check it
-
A short poem for a child’s birthday
Answer: Needs people, or a judge model checked against people
-
A summary of a doctor’s letter must be accurate and kind
Answer: Needs people, or a judge model checked against people
-
A translation into Urdu must sound natural
Answer: Needs people, or a judge model checked against people
Quick check
Measuring agents and long tasks
Agents are harder to test than chat. Each task is a whole job in a sandbox: many steps, tools, files, and a check at the end. The score depends on the harness as much as the model, and on how many tries are allowed. The build-an-agent lesson showed the two ways to count tries: pass@k, right at least once in k tries, and pass^k, right every time. An assistant people rely on needs a high pass^k.
METR found a way to put agents on one scale: the time horizon. It timed skilled people on software, machine-learning and security tasks, from seconds to many hours long, then ran agents on the same tasks. An agent’s 50 % time horizon is the task length, measured in human time, at which it succeeds half the time. In March 2025 METR reported that this horizon had doubled about every 7 months since 2019. A larger set of 228 tasks (January 2026) and a correction (March 2026) put the pace since 2023 at about every 4 months.
doubling every 7 months: 2^(12 ÷ 7) ≈ 3.3times longer tasks each year
doubling every 130 days: 2^(365 ÷ 130) ≈ 7times longer tasks each year
1 hour → 7 hours → 50 hoursafter one and two years at that pace, if it held, which nobody can promise
In spring 2026 METR measured an early version of an Anthropic Claude model at about 17 hours, and warned that above 16 hours its task set can no longer measure reliably. In September 2026 it stopped updating the chart. METR is careful about what the number means. It is not how long an agent works by itself, and not a promise about all jobs: the tasks are clean, well-described software tasks with automatic checks, the timing is for a skilled person new to the task, and agents do worse on messy work. At its horizon of about 2 hours, one model always solved about a third of the 1.5-to-3-hour tasks, always failed another third, and only sometimes solved the rest.
Quick check
Every language needs its own tests
Most famous benchmarks were written in English, and many “multilingual” tests are simply translations. A translated test checks whether a model understands the language, but still asks about another culture’s world. In 2024 Cohere’s research lab and many partners found that 28 % of MMLU’s questions need culturally specific knowledge, and that 84.9 % of its questions about places are about North America or Europe. Their Global-MMLU, in 42 languages, marks which questions are culturally sensitive, so that scores can be read separately.
- INCLUDE (2024) gathered 197,243 questions from 1,926 real local exams, such as school, university and professional licence tests, in 44 languages and 15 scripts.
- IrokoBench (2024) had professional translators bring maths, reasoning and knowledge tests into 16 African languages, including Hausa and Swahili. Every model scored far lower than in English; Swahili, with the most text on the web, did best. Translating the questions into English first helped the big English-centred models, a sign that the knowledge was there but the language was the barrier.
- U-MIRAGE (2026) tests medical questions in Urdu and in Roman Urdu, Urdu written in Latin letters. Scores fell by about 6 to 10 % from English. Roman Urdu did better than the Urdu script, probably because more of it appears in training data, and small compressed models were close to guessing.
- C-Eval (2023), for Chinese, was built from Chinese exams rather than translated, and keeps its answers secret.
So a high score in English says little about how a model will help a farmer in Sindh or a nurse in Kano. The only way to know is to test in that language, with questions from that place, graded by people who speak it. The your-language lesson shows how to choose a model for your language; a small eval of your own is how you check the choice.
Quick check
Build your own eval
You do not need a lab to test a model honestly. You need a clear question, a few dozen real tasks, and patience to read the results.
- Decide what the eval is for. “Which free model should my school’s study helper use?” leads to different tasks than “Is this model good at maths?”
- Collect 50 to 200 real tasks from the actual use, with answers, in the languages people will use. Include hard and awkward cases. Keep some hidden, and never paste them into chats with the models you test.
- Choose the grader: a program wherever an answer can be checked; a rubric for people or a judge model where it cannot. Before trusting a judge, check it against your own grades on 30 tasks.
- Fix everything else: the same prompt, settings, tools and number of tries for every model. Write them down.
- Run each task several times. Report the score with its error bar and the number of tasks, and pass^k if people will rely on it.
- Read the transcripts, of successes as well as failures. Failures show what to fix; successes can hide luck, a broken check or cheating.
- Keep a record of every change, and add fresh tasks over time so the test does not wear out.
Open tools do the bookkeeping: Inspect from the UK AI Security Institute, the LM Evaluation Harness from EleutherAI, and OpenCompass from the Shanghai AI Laboratory all run models on tasks and report scores, and Inspect reports standard errors. A spreadsheet and the program in this lesson are enough to start.
Quick check
Remember
- An eval is an experiment: tasks, a fixed way to run the model, a grader, and a score that needs an error bar.
- With n questions a score is only known to within about ± 1.96 × √(p(1 − p) ÷ n): about ± 9 points at 100 questions.
- Compare models question by question, ask each question several times, and count related questions as a group.
- Benchmarks saturate, and near the top much of what is left is broken questions.
- Contamination puts test answers into training data; hidden, fresh tests and canary strings fight it. Agents can also cheat, so read what they did.
- Judge models have position, length and self-preference biases: judge both orders and check the judge against people.
- Arena ratings measure what voters like; a 100-point lead means about 64 % of votes, and best-of-many private tests inflate ratings.
- An agent’s time horizon is the human task length it completes half the time; it has grown fast but measures clean software tasks.
- Every language needs tests from its own people and places; translated English tests are not enough.
Words to know
- Eval
- Short for evaluation: an experiment that measures what a model can do on a set of tasks.
- Benchmark
- A shared eval that many people use to compare models.
- Standard error
- How far a score from a sample of questions is likely to be from the model’s true skill.
- Error bar (95 % range)
- The range in which the true score very likely lies: about 1.96 standard errors either side.
- Paired comparison
- Comparing two models on the same questions, one question at a time, which removes noise both share.
- Saturation
- When top models all score near the maximum, so a test can no longer tell them apart.
- Contamination
- Test questions or answers ending up in a model’s training data, so a score partly measures memory.
- Hidden test set
- Test questions kept private so they cannot leak into training data.
- Canary string
- A unique code placed in test files so model makers can find and remove them from training data.
- LLM-as-a-judge
- Using a language model to grade answers that a program cannot check.
- Position bias
- A judge’s habit of preferring an answer because of where it was shown, not what it says.
- Arena rating
- A score made from many people’s votes between two anonymous models, like a chess rating.
- Time horizon
- The length of task, in a skilled person’s time, that an agent completes with a given success rate, usually 50 %.
- Goodhart’s law
- When a measure becomes a target, it stops being a good measure.
Go to the source
This lesson is built on these papers and documents. Paper links open arxiv.org, a separate site.
-
Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations
Standard errors, grouped questions, paired comparisons and planning how many questions you need.
-
Measuring Massive Multitask Language Understanding
MMLU, the knowledge test in 57 subjects that every model reported for years.
-
Are We Done with MMLU?
A careful review that found errors in about 6.5 % of MMLU’s questions.
-
A Careful Examination of Large Language Model Performance on Grade School Arithmetic
GSM1k: new problems like GSM8K’s reveal which models had partly memorised the test.
-
C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Models
A Chinese benchmark from real exams, with its test answers kept secret.
-
Humanity’s Last Exam
2,500 expert questions built to stay hard, and an example of how fast hard tests get used up.
-
About 30% of Humanity’s Last Exam chemistry/biology answers are likely wrong
Experts checking a benchmark’s own answers, and the makers’ reply.
-
Why SWE-bench Verified no longer measures frontier coding capabilities
Broken tests and memorised fixes in a famous coding benchmark, from the people who built it.
-
Separating signal from noise in coding evaluations
An audit estimating that about 30 % of SWE-bench Pro’s tasks are broken.
-
Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena
How well model judges agree with people, and their position, length and self-preference biases.
-
The Leaderboard Illusion
How private testing and unequal access to votes distort an arena leaderboard.
-
GDPval: Evaluating AI Model Performance on Real-World Economically Valuable Tasks
Real tasks from 44 occupations, graded blind by experts.
-
Measuring AI Ability to Complete Long Software Tasks
The time horizon: measuring agents by the length of task, in human time, they can finish.
-
Summary of METR’s predeployment evaluation of GPT-5.6 Sol
What happens to a measurement when an agent cheats on the test.
-
Global MMLU: Understanding and Addressing Cultural and Linguistic Biases in Multilingual Evaluation
How much of a famous test depends on Western knowledge, and a 42-language version that marks it.
-
INCLUDE: Evaluating Multilingual Language Understanding with Regional Knowledge
Nearly 200,000 questions from real local exams in 44 languages.
-
IrokoBench: A New Benchmark for African Languages in the Age of Large Language Models
Human-translated tests in 16 African languages, and the gap they reveal.
-
U-MIRAGE: Benchmarking Chain-of-Thought Reasoning for Urdu Medical QA
Medical questions in Urdu and Roman Urdu, and how far scores fall from English.
Check yourself
6 questions. Tap the answer you think is right.
0 of 6 answered
Lesson complete
Answer every question above to complete this lesson.
Your progress is saved on this device only.
Next lessonReading research papers: from the abstract to the equations