Evaluation harnesses

Hand-drawn two offset terracotta ladder frames lying across flowing cream, sand, umber and moss contour bands with fine hatching.

An evaluation harness is the software that runs a fixed evaluation of a language model or AI agent end to end and scores it (Grace et al., 2026; Cooning et al., 2026). Its choices matter: the same model on the same benchmark can score more than ten points apart under two harnesses, and model rankings can change with them (Fourrier et al., 2023; Biderman et al., 2024). Researchers disagree on how often rankings change, since some studies find them nearly stable under small prompt edits (Alzahrani et al., 2024; Hua et al., 2025). For agents, the scaffold around the model moves scores too, by how much is disputed (Kapoor et al., 2025; Huang et al., 2026e). Error bars and enough detail to reproduce a result are seldom reported (Biderman et al., 2024; Balloccu et al., 2024).

Harness, benchmark and scaffold

A harness is separate from the benchmark it runs. A benchmark is a dataset and a scoring method used to compare models, while the harness is the infrastructure that runs the evaluation (Cooning et al., 2026).

The word “harness” also names a different thing: the system that lets a model act as an agent. Anthropic calls this an agent harness or scaffold, and notes that evaluating an agent evaluates the scaffold and the model together (Grace et al., 2026). One preprint finds the term used loosely, so that SWE-bench’s program for running agents against tasks is also called a harness (de Macedo, 2026). In its terms, the evaluation harness acts after the fact and the agent harness during it (de Macedo, 2026).

This article uses “harness” for the evaluation harness and “scaffold” for the agent’s. Errors in the tasks, reference answers and graders themselves are covered in Errors in AI benchmarks. Model graders are covered in LLM-as-a-judge.

The main frameworks

Evaluation frameworks fall into two families: harnesses that run academic benchmarks on models, and tools for testing applications built on models. The main harnesses appeared between 2021 and 2024 (Gao et al., 2021; Liang et al., 2022; UK AI Security Institute & Meridian Labs, 2024).

Model-benchmark harnesses

The lm-evaluation-harness was first released on 2 September 2021 as a framework for few-shot evaluation (prompting with a few worked examples) of language models (Gao et al., 2021). Its authors describe it as an orchestration library that runs any benchmark on any model reliably and reproducibly, without deciding which benchmarks matter (Biderman et al., 2024). Tasks are defined in configuration files, and it serves as the backend of Hugging Face’s Open LLM Leaderboard (EleutherAI, n.d.).

HELM (Holistic Evaluation of Language Models) took the opposite approach and fixed the protocol. Posted in November 2022 to improve the transparency of language models, it prompts all models the same way, with simple generic few-shot prompts (Liang et al., 2022). Before HELM, models had on average been evaluated on 17.9% of its core scenarios; HELM ran 30 models on 42 (Liang et al., 2022).

Later harnesses build each evaluation from separate parts. Inspect, from the UK AI Security Institute and Meridian Labs (2024), defines each evaluation as a dataset, a solver and a scorer (UK AI Security Institute & Meridian Labs, 2024). OpenAI Evals is a registry of benchmarks where users supply data in JSON and parameters in YAML (OpenAI, n.d.k). Lighteval and OpenCompass each bundle many tasks over several inference backends (Hugging Face, n.d.; OpenCompass Contributors, n.d.).

FrameworkMaintainer (GitHub owner)DesignGitHub stars (19 Nov 2026)
lm-evaluation-harnessEleutherAI, first release 2021Configuration-based tasks; over 60 benchmarks with hundreds of subtasks (EleutherAI, n.d.; Gao et al., 2021)14,503 (GitHub, 2026a)
HELMLiang et al., 2022Scenarios of task, domain and language; seven metric categories (Liang et al., 2022)2,976 (GitHub, 2026l)
InspectUK AI Security Institute and Meridian Labs, 2024Dataset, solver and scorer (UK AI Security Institute & Meridian Labs, 2024)3,287 (GitHub, 2026b)
OpenAI EvalsOpenAIRegistry; JSON data and YAML parameters; no new evals with custom code (OpenAI, n.d.k)19,770 (GitHub, 2026i)
LightevalhuggingfaceOver 1000 tasks, several backends; modelled on lm-evaluation-harness and HELM (Hugging Face, n.d.)2,588 (GitHub, 2026g)
OpenCompassShanghai AI LaboratoryOver 100 datasets; rule-based and model-judged scoring (OpenCompass Contributors, n.d.; Cao et al., 2026a)7,604 (GitHub, 2026h)
promptfoopromptfooCommand-line tool for testing and red-teaming applications; compares models side by side (promptfoo, 2026)27,453 (GitHub, 2026j)
DeepEvalconfident-aiUnit tests for applications; scores from 0 to 1 with a pass threshold (Confident AI, 2026)19,561 (GitHub, 2026d)
Ragasexplodinggradients (now vibrantlabsai)Toolkit for evaluating applications with model-based and traditional metrics (Ragas, 2026)16,383 (GitHub, 2026f)

Application-testing frameworks

promptfoo, DeepEval and Ragas each have more GitHub stars than lm-evaluation-harness (GitHub, 2026j; GitHub, 2026d; GitHub, 2026f; GitHub, 2026a).

These tools test a product rather than rank models (promptfoo, 2026; Ragas, 2026). DeepEval describes itself as similar to Pytest, a Python testing tool, but for unit tests of model-based applications (Confident AI, 2026). Its metrics use a model acting as judge, as well as other natural-language-processing models that run locally (Confident AI, 2026). Tools that run command-line coding agents through repeated trials are described in Evaluation tooling for AI agents.

How harness choices move scores

Small implementation choices in a harness can change a model’s score by more than ten points. The best-known case is MMLU, a multiple-choice test of 57 subjects (Biderman et al., 2024). LLaMA 65B scored 0.637 on it under HELM, 0.636 under the original code and 0.488 under the January 2023 lm-evaluation-harness (Fourrier et al., 2023).

The three implementations differed in prompt wording and in how they scored an answer. One read the probability of the answer letter, one matched generated text to the answer, and one summed the probabilities of the full answer text (Fourrier et al., 2023). The choice changed the order of models on the leaderboard (Fourrier et al., 2023). The harness was then updated to match the original implementation (Fourrier et al., 2023).

The scoring method depends partly on what a model’s interface allows. HELM has models write the answer letter, because some interfaces do not expose token probabilities. Its MMLU scores mostly match those in model papers, but some differ by up to 5.0 points (Mai & Liang, 2024). Scoring by generated text adds variance from prompt formatting (Biderman et al., 2024).

How a question is posed matters as much as how it is scored. GPT-NeoX scores 72.4% on the ARC-Easy questions when it completes the answer sentence, and 26.5% when it picks a lettered option (Biderman et al., 2024). Even how scores are averaged matters: averaging MMLU over questions rather than over its 57 subjects changes results by several points (Biderman et al., 2024).

Prompt formatting that keeps the meaning the same can also move scores widely. Changes to the layout of few-shot examples changed LLaMA-2-13B’s accuracy by up to 76 points (Sclar et al., 2023). The sensitivity persisted with larger models, more examples and instruction tuning (Sclar et al., 2023). Math reasoning benchmarks are also highly sensitive to subtle implementation choices (Hochlehnert et al., 2025). How wording affects model output more generally is covered in Wording instructions for AI models.

Whether model rankings change Contested: studies disagree on this

Studies disagree on whether harness choices change which model comes out ahead, or only the absolute scores. Rankings are usually compared with a rank correlation (Kendall’s tau or Spearman’s rho): 1 means the same order, 0 no relation, and negative values a mostly reversed order.

Several studies find that rankings change. On MMLU, changing the order of answer options or the way an answer is selected moved models by up to 8 places (Alzahrani et al., 2024). In a study of 20 models on 39 tasks, 15 of 25 tasks had pairs of paraphrased instructions that ranked models in mostly opposite order (Mizrahi et al., 2024). A poor template can drop strong models to near chance, and the best template for one setup often fails in another (Voronov et al., 2024).

Other results show rankings holding under small changes. Removing the subject name or adding a word to MMLU prompts left the order of 11 models nearly unchanged (Kendall’s tau above 0.9) (Alzahrani et al., 2024). One model topped MMLU under every template when scores were averaged over subjects (Polo et al., 2024). Within single subjects, though, most models’ scores varied by about 10% across templates (Polo et al., 2024).

In one preprint, how answers are extracted explains part of the instability. Rankings across 12 templates were unstable when answers were matched by simple rules (Spearman’s rho 0.15 to 0.42 on multiple-choice sets) (Hua et al., 2025). With a model grading the answers, the same rankings were stable (0.90 to 0.95). On math, where the rules check that two expressions are equivalent, both methods gave 0.96 (Hua et al., 2025).

The size of the change matters too. Small edits, and scores averaged over subjects, leave rankings stable, while reordering answer options or rewording instructions can reorder models (Alzahrani et al., 2024; Polo et al., 2024; Mizrahi et al., 2024).

Adding few-shot examples reduces the sensitivity of rankings but does not remove it (Alzahrani et al., 2024). Because the best format differs between models, comparing models under one fixed prompt format is questionable (Sclar et al., 2023). Performance averaged over several paraphrased instructions diverges from performance on the original one (Mizrahi et al., 2024).

Agent scaffolds and agent benchmarks Weak evidence: few or small studies support this

For agents, changing the scaffold around the same model can move scores by many points, though one small pilot found no large effect. Anthropic states that performance on SWE-bench, a benchmark of software-repair tasks, varies significantly with the scaffold for the same model (Schluntz, 2025).

The measured gaps are large in several studies. On the Holistic Agent Leaderboard’s 50-task SWE-bench subset, Claude-3.7 Sonnet scored 50.0% with a task-specific scaffold and 26.0% with a generalist one; GPT-5 Medium scored 46.0% and 12.0% (Kapoor et al., 2025). The task-specific scaffold won 11 of 12 such comparisons, while generalist scaffolds usually cost less (Kapoor et al., 2025).

Citing figures from other sources, a preprint reports that Claude Code raised Claude Opus 4.5’s score on SWE-bench Pro by 9.5 points over another scaffold, from 45.9% to 55.4% (Zhang et al., 2026x). In the same paper’s small controlled test on 100 tasks, changing the scaffold moved three models by 8.5 to 13.0 points (Zhang et al., 2026x). There, scaffold variance exceeded model variance, a result the authors do not claim is universal (Zhang et al., 2026x).

Which scaffold is best depends on the model. On one web-browsing benchmark the best scaffold differed by model family (Kapoor et al., 2025). On a 50-issue SWE-bench subset, the ranking of five scaffolds changed across three models (Fan et al., 2025). An analysis of leaderboard data for 18 models concluded that the leaderboard obtained depends heavily on the scaffold run (Gundlach et al., 2026).

Other results point to smaller effects. In a pilot of 10 tasks per model, a standard scaffold scored equal to or higher than each lab’s own coding tool, with no significant difference (Huang et al., 2026e). Its authors say this rules out a large handicap but not a small one, and that model capability drives success more than the scaffold (Huang et al., 2026e). On another benchmark, Claude Code scored 89.7% and a purpose-built agent 82.1%, and the ranges of plausible true scores (95% confidence intervals) overlapped (Nadgir et al., 2026).

Some evaluators fix one scaffold to keep results comparable. Epoch AI scores models in a simple loop unless stated otherwise, and runs other scaffolds such as Claude Code through Inspect-SWE (Epoch AI, n.d.).

Variance and error bars Weak evidence: few or small studies support this

Scores vary between runs, and error bars are rarely reported. The lm-evaluation-harness authors and Miller both note that uncertainty is seldom reported (Biderman et al., 2024; Miller, 2024).

Scores vary from run to run even when settings should make them fixed. Five models set to be deterministic varied in accuracy by up to 15% across 10 runs, and none was repeatable on all eight tasks (Atil et al., 2024). On small math benchmarks of 30 and 40 problems, the standard deviation across random seeds was 5 to 15 points (Hochlehnert et al., 2025). Those authors recommend at least 30 seeds for such benchmarks (Hochlehnert et al., 2025).

Miller recommends reporting the standard error, the expected spread of the average score, beside each score (Miller, 2024). To compare two models, he recommends a paired standard error computed on the same questions (Miller, 2024). Standard errors that account for questions grouped together (clustered) can be larger: about three times on the DROP reading benchmark (1.34 against 0.44) (Miller, 2024). Sampling 10 answers per question instead of one cut the smallest detectable difference from 13.2% to 7.5% in his example (Miller, 2024).

Harness error bars cover only part of this variance. The lm-evaluation-harness reports bootstrapped standard errors (estimated by resampling the questions) by default (Biderman et al., 2024). These reflect which questions were sampled, not variation from sampling the model again, so a small gain on a small dataset may vanish on a re-run (Biderman et al., 2024).

Reproducibility and reporting Weak evidence: few or small studies support this

Published evaluations often omit what is needed to reproduce them, and one re-evaluation under standard settings found lower scores. The lm-evaluation-harness authors say crucial details are insufficiently documented in most works (Biderman et al., 2024). Of 212 papers evaluating GPT-3.5 or GPT-4, 113 provided a code repository (Balloccu et al., 2024). Agent evaluation lacks standard practice, which leads to a pervasive lack of reproducibility (Kapoor et al., 2024).

Re-running reported results can expose the gap. Re-evaluating recent small reasoning models on a math benchmark under one standard framework found substantial drops from the scores in their papers (Hochlehnert et al., 2025). One author matched OpenAI’s published gpt-oss-20b scores, but only after rebuilding the tools and agent scaffold that the paper did not disclose (Mavrin, 2026).

The recommendations agree on sharing. They ask authors to release the exact evaluation code and report the prompts (Biderman et al., 2024). Balloccu et al. add model versions, experiment dates and data, and re-running baselines on the same samples instead of copying reported numbers (Balloccu et al., 2024). Their audit lists its own limits: some papers were unclear, and some of its estimates rest on its authors’ judgment (Balloccu et al., 2024).

Evaluation beyond English Weak evidence: few or small studies support this

What is known about harnesses beyond English rests mainly on one Chinese platform and one multilingual study. OpenCompass comes from the Shanghai AI Laboratory and was built to address fragmented benchmark data and processing workflows (Cao et al., 2026a). HELM treats language as one dimension of each scenario (Liang et al., 2022).

The same harness problems appear in multilingual work. A study of 40 models on benchmarks translated into 21 European languages ran on adapted versions of lm-evaluation-harness (Thellmann et al., 2024). Its accuracy varied across versions of the harness (Thellmann et al., 2024).

Further reading

  • Biderman et al., “Lessons from the Trenches on Reproducible Evaluation of Language Models” (Biderman et al., 2024): the lm-evaluation-harness authors on prompt sensitivity, scoring choices, error bars and reporting.
  • Fourrier et al., “What’s going on with the Open LLM Leaderboard?” (Fourrier et al., 2023): the MMLU case, explaining how three implementations of one benchmark gave different scores and rankings.
  • Liang et al., “Holistic Evaluation of Language Models” (Liang et al., 2022): the design of a harness that fixes one protocol for all models.
  • Miller, “Adding Error Bars to Evals” (Miller, 2024): how to compute standard errors and compare two models statistically.
  • Kapoor et al., “Holistic Agent Leaderboard” (Kapoor et al., 2025): a shared harness for agents, with same-model results under different scaffolds.

Known gaps

What this article cannot tell you yet.

  1. Popularity is shown only by GitHub stars on one day; package downloads, citations and use by model labs are not covered.
  2. Whether rankings are less stable when models score close together is not covered.
  3. Whether the harnesses’ current implementations of MMLU now give the same scores for the same models is not covered.
  4. The history before the first harnesses, such as earlier benchmark suites and toolkits, and the origin of OpenAI Evals are not covered.
  5. Only one small pilot compares a standard agent scaffold with vendor scaffolds under controlled conditions.
  6. Whether harness effects are larger or smaller in languages other than English is not covered.

References

Solid source
Rated highly trustworthy by the research, and every passage taken from it was found in it.
Weak source
Rated low, or a passage taken from it was not found in it.
Medium trust
Rated medium by the research.
Not checked
Rated high, but its passages could not all be checked against it.
Show all 47 references