LLM eval glossary

This glossary defines 43 terms used to build, run and read LLM evals, from pass@k and LLM-as-judge to Cohen’s kappa and the Wilson interval. Each definition stands on its own and has its own link. Jump to a letter or a topic, and check the sources at the end.

Last updated

Terms by topic

For the arithmetic behind several of these terms, see how many examples an LLM eval needs and the eval sample size calculator.

A

Accuracy

Accuracy is the share of items a system gets right: correct items divided by all items. In LLM evals it is often reported as the pass rate.

On an imbalanced set, accuracy can look high while a rare failure goes unseen, so report precision and recall for the class you care about as well.

See also: Precision, Recall, Confusion matrix

Annotation guideline

An annotation guideline is the written instruction set that tells human labelers how to label each item, with definitions, edge cases and examples of each label.

A clear guideline raises inter-annotator agreement. When an LLM judge takes over the labeling, its rubric plays the same role.

See also: Inter-annotator agreement, Rubric

B

Benchmark

A benchmark is a fixed, usually public set of tasks with a defined metric, used to compare models on the same footing.

Public benchmarks measure general ability and rarely match one product’s inputs, so teams pair them with an eval set built from their own traffic.

See also: Eval set, Saturation, Data contamination

Bootstrap confidence interval

A bootstrap confidence interval is an interval for a statistic found by resampling the eval set with replacement many times, recomputing the statistic on each resample and taking quantiles of the results.

It needs no variance formula, so it works for metrics such as F1 or a win rate, where a closed-form interval is awkward. [13]

Example: for 80 passes out of 100 items, the 95% percentile bootstrap interval is about 72% to 88%.

See also: Confidence interval, Wilson interval

C

Calibration

Calibration is how well a model’s stated confidence matches how often it is right: among answers given with 80% confidence, a calibrated model is right about 80% of the time.

It matters when a model or judge returns a confidence that decides whether to answer, abstain or send the item to a person. Guo and co-authors found that modern neural networks are poorly calibrated. [17]

See also: LLM-as-judge

Clopper-Pearson interval

The Clopper-Pearson interval is an exact confidence interval for a proportion, built from the binomial distribution instead of a normal approximation. It covers the true rate at least as often as the stated level, so it is usually wider than the Wilson interval.

Example: 80 passes out of 100 items give about 70.8% to 87.3% at 95% confidence. [9]

See also: Wilson interval, Wald interval

Cohen’s kappa

Cohen’s kappa is a measure of agreement between two raters on categorical labels that corrects for the agreement expected by chance. A kappa of 1 is perfect agreement and 0 is chance level.

Teams use it to compare an LLM judge’s labels with human labels on the same items, as in the guide to checking your LLM judge agrees with humans. [4] [5]

κ = (pₒ − pₑ) / (1 − pₑ), where pₒ is the observed agreement and pₑ the agreement expected from each rater’s label rates.

Example: a judge and a human agree on 85 of 100 items; the judge passes 80 and the human 75, so pₑ = 0.8 × 0.75 + 0.2 × 0.25 = 0.65 and κ = (0.85 − 0.65) / 0.35 ≈ 0.57.

See also: Inter-annotator agreement, Krippendorff’s alpha, Judge agreement guide

Confidence interval

A confidence interval is a range computed from sample data by a method that captures the true value in a stated share of repeated samples, the confidence level, often 95%.

Report a pass rate with its interval so readers can see whether two runs differ by more than chance. [7] [16]

Example: 80 passes out of 100 items is 80%, with a 95% Wilson interval of about 71% to 87%.

See also: Margin of error, Wilson interval, Sample size calculator

Confusion matrix

A confusion matrix is a table that counts predicted labels against true labels. For pass and fail it holds four counts: true positives, false positives, false negatives and true negatives.

It shows which way a judge errs, which a single agreement number hides.

See also: Precision, Recall, Judge agreement guide

D

Data contamination

Data contamination is the presence of test items, or close copies of them, in a model’s training data. A contaminated model can pass by recalling answers, so its result overstates how it handles new inputs. It is also called benchmark leakage.

Magar and Schwartz showed that models can memorize contaminated items and sometimes exploit them; Jacovi and co-authors suggest publishing test sets encrypted, with a license against redistribution. [14] [15]

See also: Benchmark, Held-out set

E

Eval harness

An eval harness is the code that runs an eval: it loads the eval set, sends each item to the model with fixed settings, applies the checks or the judge, and records a result per item.

A harness that pins the prompt, model version and sampling settings makes two runs comparable.

See also: Eval set, Regression suite, Trace

Eval set

An eval set, or eval dataset, is the collection of inputs, with expected outputs or checks, that a team runs a model against to measure it.

Build it from real inputs, include known failures and hard cases, and size it for the margin of error you need.

See also: Golden set, Held-out set, Sample size

Exact match

Exact match is a metric that counts an output as correct only if it equals the reference answer, usually after normalization such as lowercasing and trimming whitespace.

It is cheap and deterministic but marks a correct paraphrase as wrong, so it suits short answers such as numbers, labels or identifiers.

See also: Reference-based and reference-free evals, Accuracy

F

F1

F1, also called the F-measure, is the harmonic mean of precision and recall. It is high only when both are high.

F1 = 2 × precision × recall / (precision + recall)

Example: precision 0.75 and recall 0.60 give F1 ≈ 0.67. [12]

See also: Precision, Recall

G

Golden set

A golden set, or golden dataset, is a curated set of inputs with expected outputs or labels that experts have checked, used as the trusted reference for an eval.

Teams keep it small enough to review by hand, version it, and add each new failure found in production.

See also: Ground truth, Eval set, Regression suite

Ground truth

Ground truth is the correct answer or label for an item, set by a trusted source such as an expert, a verified record or an executable test.

Agreement, precision and recall are all measured against it, so errors in the ground truth flow into every metric.

See also: Golden set, Inter-annotator agreement

H

Hallucination

A hallucination is fluent model output that the input or known facts do not support, such as an invented citation, number or name.

Ji and co-authors separate intrinsic hallucinations, which contradict the source, from extrinsic ones, which the source cannot verify. A common check asks whether every claim in an answer appears in the retrieved context, as in the example rubrics in the LLM-as-judge rubric guide. [18]

See also: Reference-based and reference-free evals, Rubric

Held-out set

A held-out set is data kept apart from everything used to build or tune a system, so results on it estimate how the system handles new inputs.

Many teams split data into a dev set, used while they iterate on prompts, and a test set, run rarely, for example before a release.

See also: Data contamination, Eval set

I

Inter-annotator agreement

Inter-annotator agreement is the degree to which independent labelers give the same label to the same items, usually reported with a chance-corrected measure such as Cohen’s kappa or Krippendorff’s alpha.

Low agreement means the task or the guideline is unclear, and it limits how closely any judge can be shown to match people. The guide to checking your LLM judge agrees with humans covers how to measure it. [4]

See also: Cohen’s kappa, Krippendorff’s alpha, Annotation guideline

J

Judge bias

Judge bias is a systematic tilt in an LLM judge’s verdicts that does not reflect quality. Known types include position bias, verbosity bias and self-enhancement bias.

Zheng and co-authors describe all three: favoring the answer in one position of a pair, favoring longer answers, and favoring answers from the judge’s own model. Test for position bias by swapping the order of each pair and counting how often the verdict flips. [3]

See also: LLM-as-judge, Pairwise comparison, Cheaper judge guide

K

Krippendorff’s alpha

Krippendorff’s alpha is a chance-corrected agreement coefficient that works for any number of raters, for missing labels, and for nominal, ordinal, interval or ratio data. An alpha of 1 is perfect agreement and 0 is chance level. [4] [6]

α = 1 − Dₒ / Dₑ, where Dₒ is the observed disagreement and Dₑ the disagreement expected by chance.

See also: Cohen’s kappa, Inter-annotator agreement

L

LLM-as-judge

LLM-as-judge is the practice of using a language model to check another model’s output against a rubric, a reference answer or a second output, and return a verdict.

It lets a team review many outputs, but check its verdicts against human labels before you trust its pass rate. Zheng and co-authors report that strong judges agreed with human preferences over 80% of the time, about as often as humans agreed with each other. [3]

See also: Rubric, Judge bias, Judge rubric guide

M

Margin of error

The margin of error is half the width of a symmetric confidence interval: the ± figure reported with an estimate at a stated confidence level.

For a pass rate p on n items, the normal approximation gives z × √(p(1 − p) / n), with z = 1.96 for 95%.

Example: 80% on 100 items gives a margin of about ±7.8 points at 95% confidence. [8]

See also: Confidence interval, Sample size, Sample size calculator

McNemar’s test

McNemar’s test is a test of whether two models’ pass rates differ when both ran on the same items. It uses only the items where they disagree: b, the items only model A passes, and c, the items only model B passes.

Pairing removes the variation between items, which is why Miller recommends paired comparisons for evals. [10] [16]

Without a continuity correction, χ² = (b − c)² / (b + c); for small counts, use the exact binomial test on b and c.

Example: if 15 items pass only on model B and 5 only on model A, the exact test gives p ≈ 0.041.

See also: Statistical significance, Regression suite, Sample size guide

O

Offline and online evals

Offline evals are runs of a model on a fixed eval set before release; online evals are measurements of live traffic after release, from sampled judge checks, user feedback or A/B tests.

Offline evals catch regressions before users see them, and online evals catch inputs the eval set never covered.

See also: Eval set, Trace, Agent evals from traces

P

Pairwise comparison

A pairwise comparison shows a judge, human or model, two outputs for the same input and asks which is better, instead of rating each output alone.

An LLM judge can favor one position in the pair, so run each pair in both orders and count a win only when the two verdicts agree. [3]

See also: Win rate, Judge bias

pass@k

pass@k is the probability that at least one of k sampled outputs for a task passes its check, such as unit tests, averaged over tasks.

Chen and co-authors give an unbiased estimator from n ≥ k samples per task, of which c pass. It measures what a user gets with several attempts, not how reliably one attempt works. [1]

pass@k = E[1 − C(n − c, k) / C(n, k)], where C is the binomial coefficient and E the mean over tasks.

Example: with n = 10 samples and c = 3 passing, pass@1 = 0.30 and pass@5 = 1 − 21/252 ≈ 0.92.

See also: pass^k, Run-to-run variance

pass^k

pass^k, read “pass hat k”, is the probability that all k independent trials of a task succeed, averaged over tasks. It measures how reliably an agent repeats a success.

Yao and co-authors introduced it in τ-bench. Unlike pass@k, it never rises as k grows. [2]

pass^k = E[C(c, k) / C(n, k)], for n trials per task of which c succeed.

Example: with c = 3 successes in n = 10 trials, pass^2 = 3/45 ≈ 0.067.

See also: pass@k, Run-to-run variance, Output consistency guide

Precision

Precision is the share of items a check flags as positive that are positive: true positives divided by all flagged items.

For a judge that flags failures, precision answers: when it says fail, how often is it right? [12]

precision = TP / (TP + FP)

See also: Recall, F1, Confusion matrix

R

Recall

Recall is the share of positive items that a check flags: true positives divided by all positive items. It is also called sensitivity or the true positive rate.

For a judge that flags failures, recall answers: of the real failures, how many did it catch? [12]

recall = TP / (TP + FN)

See also: Precision, F1, Confusion matrix

Red teaming

Red teaming is adversarial testing: people or models craft inputs on purpose to make a system fail, for example to produce harmful, off-policy or leaked output.

Perez and co-authors used one language model to write test cases for another. Add the failures you find to the eval set as regression cases. [19]

See also: Regression suite, Eval set

Reference-based and reference-free evals

A reference-based eval compares an output with a known correct answer; a reference-free eval checks an output on its own terms, for example whether it follows a policy or is supported by the retrieved context.

Reference-free checks suit open-ended tasks where no single answer is right; reference-based checks suit tasks with one right answer.

See also: Exact match, Ground truth, LLM-as-judge

Regression suite

A regression suite is a fixed set of eval cases, often past failures, rerun on every prompt, model or code change to confirm that what worked before still works.

A prompt regression is a change that breaks cases the old prompt passed. Freeze the cases and compare results case by case, as in the guide to testing a model upgrade before you switch.

See also: Golden set, McNemar’s test, Model upgrade guide

Rubric

A rubric is the written set of criteria a judge, human or model, applies to each output, with pass and fail conditions and an example of each.

Narrow, observable criteria, one per judge call, give verdicts that are easier to check against human labels. The guide to writing an LLM-as-judge rubric has two to copy.

See also: LLM-as-judge, Annotation guideline, Judge rubric guide

Run-to-run variance

Run-to-run variance is the spread in results when the same eval runs again with nothing changed. Sampling at a temperature above zero, nondeterministic serving and judge noise all cause it.

Repeat each case several times before you read a small difference between two runs as real, as in the guide to measuring LLM output consistency.

See also: pass^k, Confidence interval, Output consistency guide

S

Sample size

Sample size is the number of items in an eval set. It sets how precise a pass rate is: the margin of error shrinks with the square root of the number of items.

For a margin E at confidence z, the normal approximation needs n = z² × p(1 − p) / E², rounded up.

Example: a pass rate near 80% with a margin of ±5 points at 95% confidence needs 246 items; a rate of 50%, the worst case, needs 385. [8]

See also: Margin of error, Statistical power, Sample size guide

Saturation

Saturation is the point at which top models reach or near the ceiling of a benchmark, so it can no longer tell them apart.

Errors in a benchmark’s own answer key can set that ceiling below 100%. A saturated benchmark is often replaced by a harder version.

See also: Benchmark, Data contamination

Statistical power

Statistical power is the probability that a test detects a difference of a given size when that difference is real; 80% is a common target. Power grows with sample size and with the size of the difference.

Example: telling an 80% pass rate from 85% at a 5% significance level with 80% power takes about 906 items per model with a two-proportion z-test. [11]

See also: Sample size, Statistical significance, Sample size calculator

Statistical significance

Statistical significance is the label for a result whose p-value falls below a threshold set in advance, often 0.05: data at least this extreme would be unlikely if there were no real difference.

Significance does not say how large or important a difference is, and running many comparisons raises the chance that one passes the threshold by luck.

See also: Statistical power, McNemar’s test, Confidence interval

T

Trace

A trace is the full record of one request through an LLM app or agent: the input, each model call, tool call and intermediate output, and the final answer, with timing and token counts.

Traces are the raw material for agent evals: teams turn failing traces into test cases, as in the guide to building agent evals from production traces.

See also: Offline and online evals, Eval harness, Agent evals from traces

W

Wald interval

The Wald interval is the textbook normal-approximation confidence interval for a proportion. Its limits can fall below 0% or above 100%, and at 0 or n passes it shrinks to a single point.

p̂ ± z × √(p̂(1 − p̂) / n)

Example: 80 passes out of 100 items give about 72.2% to 87.8% at 95% confidence. [7] [9]

See also: Wilson interval, Clopper-Pearson interval, Sample size calculator

Wilson interval

The Wilson interval is a confidence interval for a proportion, from Wilson (1927), that inverts the normal test instead of plugging in the observed rate. Its limits stay between 0% and 100%, and Brown, Cai and DasGupta (2001) recommend it over the Wald interval.

The eval sample size calculator computes it for a pass rate you have. [7] [9]

(p̂ + z²/2n ± z × √(p̂(1 − p̂)/n + z²/4n²)) / (1 + z²/n)

Example: 80 passes out of 100 items give about 71.1% to 86.7% at 95% confidence.

See also: Wald interval, Clopper-Pearson interval, Confidence interval

Win rate

Win rate is the share of pairwise comparisons that one model wins against another, often with ties counted as half a win.

Report the number of ties and the result of a position-swap check with it.

Example: 60 wins, 25 losses and 15 ties out of 100 comparisons give a win rate of (60 + 7.5) / 100 = 67.5%.

See also: Pairwise comparison, Judge bias, Bootstrap confidence interval

Sources

Checked

  1. [1] Mark Chen and co-authors, arXiv:2107.03374 (July 2021). The paper that released the HumanEval code benchmark and gives the unbiased pass@k estimator and a numerically stable way to compute it. Accessed 17 November 2026.
  2. [2] τ-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains, Shunyu Yao and co-authors. arXiv:2406.12045 (June 2024). Defines pass^k as the chance that all k independent trials of a task succeed, with an unbiased estimator. Accessed 17 November 2026.
  3. [3] Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena, Lianmin Zheng and co-authors. NeurIPS 2023 Datasets and Benchmarks Track. arXiv:2306.05685 (June 2023). Describes position, verbosity and self-enhancement bias in LLM judges, and reports over 80% agreement between strong judges and human preferences, the level humans reach with each other. Accessed 17 November 2026.
  4. [4] Inter-Coder Agreement for Computational Linguistics, Ron Artstein and Massimo Poesio. Computational Linguistics 34(4), 2008. A survey of agreement coefficients, including Cohen’s kappa and Krippendorff’s alpha, and how to read them. Accessed 17 November 2026.
  5. [5] cohens_kappa, statsmodels 0.15.0 documentation. Computes Cohen’s kappa from a square table of two raters’ labels, with optional weights. Accessed 17 November 2026.
  6. [6] Krippendorff’s alpha, Wikipedia. Defines alpha as one minus the ratio of observed to expected disagreement, for any number of raters, missing data and several levels of measurement. Accessed 17 November 2026.
  7. [7] NIST/SEMATECH e-Handbook of Statistical Methods, section 7.2.4.1, Confidence intervals. National Institute of Standards and Technology. Gives the Wilson interval for a proportion, credits Wilson (1927), and notes that its lower limit cannot be negative, unlike the most common normal-approximation interval. Accessed 17 November 2026.
  8. [8] NIST/SEMATECH e-Handbook of Statistical Methods, section 7.2.4.2, Sample sizes required. National Institute of Standards and Technology. Derives the sample size for a proportion from the normal approximation. Accessed 17 November 2026.
  9. [9] proportion_confint, statsmodels 0.15.0 documentation. Computes the normal (Wald), Wilson, Clopper-Pearson (“beta”) and other intervals for a binomial proportion. Accessed 17 November 2026.
  10. [10] mcnemar, statsmodels 0.15.0 documentation. McNemar’s test on a 2×2 table of paired outcomes, with the exact binomial version or the chi-square approximation. Accessed 17 November 2026.
  11. [11] power_proportions_2indep, statsmodels 0.15.0 documentation. Power of the z-test that two independent proportions are equal. Accessed 17 November 2026.
  12. [12] classification_report, scikit-learn 1.9.1 documentation. Reports precision, recall and F1 for each class. Accessed 17 November 2026.
  13. [13] bootstrap, SciPy 1.18.0 manual. Computes a bootstrap confidence interval of a statistic by resampling the data, with the percentile, basic and BCa methods. Accessed 17 November 2026.
  14. [14] Data Contamination: From Memorization to Exploitation, Inbal Magar and Roy Schwartz. ACL 2022. arXiv:2203.08242 (March 2022). Shows that models trained on contaminated data can memorize test items and, in some cases, exploit them. Accessed 17 November 2026.
  15. [15] Stop Uploading Test Data in Plain Text, Alon Jacovi and co-authors. EMNLP 2023. arXiv:2305.10160 (May 2023). Proposes publishing test data encrypted and licensed against redistribution, among other ways to limit contamination. Accessed 17 November 2026.
  16. [16] Adding Error Bars to Evals, Evan Miller. arXiv:2411.00640 (November 2024). Treats eval questions as a sample from a larger population, gives standard errors and recommends paired differences when comparing two models. Accessed 17 November 2026.
  17. [17] On Calibration of Modern Neural Networks, Chuan Guo and co-authors. ICML 2017. arXiv:1706.04599 (June 2017). Finds that modern neural networks are poorly calibrated and that temperature scaling corrects much of it. Accessed 17 November 2026.
  18. [18] Survey of Hallucination in Natural Language Generation, Ziwei Ji and co-authors. ACM Computing Surveys. arXiv:2202.03629 (February 2022). Separates intrinsic hallucinations, which contradict the source, from extrinsic ones, which the source cannot verify. Accessed 17 November 2026.
  19. [19] Red Teaming Language Models with Language Models, Ethan Perez and co-authors. arXiv:2202.03286 (February 2022). Uses one language model to generate test cases that make another fail. Accessed 17 November 2026.

Where Slancha fits

Slancha builds models that predict where a model has gaps, so a team can run fewer, targeted evals instead of the whole set. Slancha sells those models, not eval software: keep your existing eval or observability platform.

Pilots by arrangement.

Related: estimate what a run costs, check a cheaper judge and the ways to make AI evals cheaper.