LLM Evaluation

Glossary

Every LLM Evaluation term in plain words, with the module that teaches it. Inside modules, any word with a dotted underline explains itself.

LLM Evaluation · 45 terms

B

Batch invariance
Making a model server give the same output for a request however many other requests it is processed alongside, which removes a major cause of run-to-run differences.
Learn it in “Non-determinism and reliability” →
Benchmark
A shared, public test set that many models are scored on, so their results can be compared.
Learn it in “Public benchmarks” →
Benchmark saturation
When top models all score near the maximum on a benchmark, so it can no longer tell them apart.
Learn it in “Public benchmarks” →
BLEU
A 2002 machine-translation metric that counts word sequences an output shares with a reference, penalising outputs that are too short.
Learn it in “Similarity metrics” →
Bootstrap
Estimating uncertainty by resampling your own data with replacement many times and looking at how much the result varies.
Learn it in “Error bars for evals” →
Bradley–Terry model
A statistical model that turns many head-to-head comparisons into a rating for each contestant, with uncertainty ranges. Used by Arena leaderboards.
Learn it in “Human evaluation” →

C

Capability eval
An eval of things a system can't yet do reliably, tracked to show progress; the counterpart of a regression eval that protects what already works.
Learn it in “Evals in development” →
Cohen's kappa
A measure of how much two raters agree beyond what chance alone would give: 1 is perfect, 0 is chance level.
Learn it in “Trusting your judge” →
Confidence interval
A range around an estimate, built so that ranges made this way contain the true value a stated share of the time (often 95%).
Learn it in “Error bars for evals” →
Confusion matrix
A table counting how a grader's verdicts line up with the true labels: both fail, both pass, and the two kinds of disagreement.
Learn it in “Trusting your judge” →
Counterfactual testing
Changing one detail of an input, such as a name, while keeping everything else the same, to see whether that detail changes the output.
Learn it in “Bias and fairness evals” →
Criteria drift
People refining what they count as good while grading outputs, so a rubric can't be fully written in advance.
Learn it in “Trusting your judge” →

D

Data contamination
Test questions ending up in a model's training data, so its score reflects memory rather than ability.
Learn it in “Contamination and gaming” →

E

Edge case
An unusual input at the limits of normal use, such as an empty message or a very long one, that a system must still handle.
Learn it in “Building an eval set” →
Error analysis
Reading real outputs, noting each problem, grouping the notes into failure types and counting them, to decide what to fix and test first.
Learn it in “Evals in development” →
Eval framework
A library for defining test cases, running them against a model or app, and grading the results, often wired into CI.
Learn it in “Evaluation tools” →
Eval set
The prepared test cases an eval runs on, each with an input and what a good answer should contain. Often called a golden dataset.
Learn it in “Building an eval set” →
Eval-driven development
Writing the evals that define good behaviour first, then changing prompts, models or code and re-running them, much like test-driven development.
Learn it in “Evals in development” →
Exact match
A grader that passes an answer only if it equals the reference answer, usually after normalising case, punctuation and spacing.
Learn it in “Code-based checks” →

G

Goodhart's law
“When a measure becomes a target, it ceases to be a good measure”: optimise one number hard and the system finds ways to raise it without really improving.
Learn it in “Deciding what good means” →

H

Held-out set
Test cases kept back and never used while tuning prompts or models, so the score on them reflects how the system does on new questions.
Learn it in “Building an eval set” →

I

Inter-rater agreement
How consistently different people give the same label to the same item, usually reported with a chance-corrected statistic such as kappa.
Learn it in “Human evaluation” →

J

Jailbreak
An input crafted to trick a model into ignoring its safety training and producing content it would normally refuse.
Learn it in “Safety evals and red-teaming” →

K

Krippendorff's alpha
An agreement statistic that works for any number of raters, missing ratings and ordered scales; 1 is perfect, 0 is chance.
Learn it in “Human evaluation” →

L

Live benchmark
A benchmark that keeps adding fresh, dated questions so models can be tested on material that didn't exist when they were trained.
Learn it in “Contamination and gaming” →
LLM judge
A language model used to grade other models' answers against a rubric, a reference or each other. Fast and cheap, but biased in known ways.
Learn it in “LLM as a judge” →

O

Online eval
Scoring a live system's real traffic, usually with judges, rules and user feedback because real requests have no known right answer.
Learn it in “Evaluation in production” →
Over-refusal
A model declining harmless requests because they sound alarming, such as “how do I kill a Python process?”.
Learn it in “Safety evals and red-teaming” →

P

p-value
How often a difference at least this big would appear by luck alone if there were no real difference. Small values suggest the difference is real.
Learn it in “Comparing two versions” →
Paired comparison
Comparing two versions on exactly the same cases, case by case, so differences between cases cancel out and fewer cases are needed.
Learn it in “Comparing two versions” →
pass@k
The chance that at least one of k attempts passes the tests, used for generated code. pass@1 is the chance a single attempt passes.
Learn it in “Code-based checks” →
Position bias
A judge's tendency to prefer an answer because of where it appears (first or second) rather than what it says.
Learn it in “LLM as a judge” →

R

RAG triad
Three checks for a retrieval-augmented answer: were the retrieved passages relevant, is the answer supported by them, and does it address the question?
Learn it in “Evaluating RAG and agents” →
Red-teaming
Deliberately attacking your own AI system to find harmful or wrong behaviour before real users or attackers do.
Learn it in “Safety evals and red-teaming” →
Reference answer
A known good answer that outputs are compared against.
Learn it in “Similarity metrics” →
Regression
Something that used to work and broke after a change. A regression suite re-runs old cases to catch these.
Learn it in “Why evaluate” →
ROUGE
A 2004 summarisation metric family that measures how much of a reference's wording appears in an output.
Learn it in “Similarity metrics” →

S

Similarity metric
A score for how closely an answer resembles a reference answer, by shared words or by meaning. It measures resemblance, not correctness.
Learn it in “Similarity metrics” →
Source-available
Software whose code you can read and often self-host, under a licence with restrictions that stop it counting as open source.
Learn it in “Evaluation tools” →
Standard error
How much an estimate such as an eval score would vary from sample to sample. For a pass rate p on n questions it is √(p(1−p)/n).
Learn it in “Error bars for evals” →
Success criteria
Specific, measurable statements of what a good result looks like, such as “at least 95% correct on 400 real questions”, agreed before testing.
Learn it in “Deciding what good means” →

T

Trajectory evaluation
Grading the path an agent took (which tools it called, with what inputs, in what order) rather than only its final result.
Learn it in “Evaluating RAG and agents” →

V

Verbosity bias
A judge's tendency to prefer longer answers, even when a shorter one is just as good or better.
Learn it in “LLM as a judge” →
Vibe check
Trying a few examples by hand and judging whether the output feels right. A useful warning sign, but not evidence that a change is better.
Learn it in “Why evaluate” →

W

Win rate
The share of side-by-side comparisons one version wins. Only meaningful if you say how ties were counted.
Learn it in “Comparing two versions” →

General terms · shared by every track

A

ACID
Four guarantees for transactions: Atomic (all or nothing), Consistent (rules hold), Isolated (concurrent work doesn't interfere), Durable (once done, it stays done).
Learn it in “ACID on object storage” →
Atomic
All or nothing. An atomic change either happens completely or not at all, and nobody ever sees it half done.
Think of it as: Handing over a sealed envelope: the other person has it or doesn't. There's no half-handed envelope.
Learn it in “Object storage: the ground floor” →

B

Batch processing
Processing data in scheduled chunks, such as every night or every hour.
Learn it in “Getting data in” →

C

CSV
Comma-separated values: plain text, one row per line. Easy to read, slow and large for analytics, and no schema.
Learn it in “Rows vs columns: file formats” →

I

Idempotent
Safe to run twice: running the job again gives the same result instead of duplicating data.
Learn it in “Medallion architecture” →

J

JSON
A text format of nested key-value objects, like {"id": 7}. Common for app events and APIs, and used by Delta's transaction log.
Learn it in “Rows vs columns: file formats” →

M

Metadata
Data about data: which files exist, their schema, sizes and statistics. Engines read metadata first to plan work.
Learn it in “What makes a table a table” →

S

Schema
The structure of a table: its column names and types, such as order_id: long, amount: decimal.
Learn it in “Schema evolution & enforcement” →
SQL
The standard language for querying tables: SELECT … FROM … WHERE …
Learn it in “Hands-on: query in your browser” →
Streaming
Processing data continuously as it arrives, within seconds or minutes.
Learn it in “Getting data in” →

T

Transaction
A group of changes that succeeds or fails as one unit.
Think of it as: A money transfer: debit one account and credit the other, or do neither.
Learn it in “ACID on object storage” →