Same model, 29.9 points apart: build a tiny agent eval to see why A developer built a small Python simulator to demonstrate how agent harnesses, not just models, drive benchmark scores, citing a Hugging Face guide that found Terminal-Bench accuracy varied by up to 29.9 percentage points when the model was held fixed and only the harness changed. The toy eval models task difficulty, model skill and a harness bonus across 40 seeded tasks, showing that a single rollout is one sample rather than a stable result. An audit kept the model fixed, changed only the agent harness, and saw scores move by up to 29.9 points. Build a small Python eval that shows why. A note on how this was written: an AI writing assistant drafted it from the source listed at the end, and every claim was checked against that source before it went out. At a glance If two agents get different scores on the same benchmark, how much of that gap comes from the model? I used to assume most of it. Then I read a new guide from Hugging Face on building agentic evaluations, and one line stuck with me. In an audit of Terminal-Bench, researchers kept the model fixed and changed only the agent harness, which is the software that wraps the model and its tools. Accuracy varied by up to 29.9 percentage points. The model was the same and only the wrapper was different. A gap that size could swap the order of a leaderboard. So today I want to build one small thing: a toy agentic eval in Python that you can run in a notebook. It doesn't measure any real model. It's a simulator that shows two effects the guide points at. The harness moves the score, and a single run is one sample, not a fact. The guide describes three eras of evaluation. Question and answer benchmarks like MMLU 2020 and GPQA 2023 check a response against a key. Agentic benchmarks like SWE-bench and WebArena check what an agent changed in an environment. Team and swarm benchmarks score what a group of agents produced. The guide focuses on the middle one, and so will I. Here are its parts in plain words. A task gives the agent its instruction. The agent harness wraps the model and its tools and lets it work inside a pinned environment. One rollout is one attempt at the task. A grader checks the result, and the scores across tasks become the number you see in a release post. The guide's point is that once an agent uses tools, each part of that surrounding software can change the score. It also notes that research groups don't use the same words for these parts, and it ends with a glossary. I'll stick to task, harness, rollout and score. One more thing I'd keep in mind: a benchmark score pools a lot together. That single number hides which tasks failed, how much a rerun would move it, and how much of it belongs to the wrapper and not the model. I start with a set of made-up tasks, each with a difficulty between 0 and 1. A fixed seed means you get the same tasks I do. python import numpy as np import pandas as pd rng = np.random.default rng 7 n tasks = 40 tasks = pd.DataFrame { 'task': f't{i:02d}' for i in range n tasks , 'difficulty': rng.uniform 0, 1, n tasks , } print tasks.head print 'mean difficulty:', round tasks 'difficulty' .mean , 3 Output: task difficulty 0 t00 0.625095 1 t01 0.897214 2 t02 0.775686 3 t03 0.225207 4 t04 0.300166 mean difficulty: 0.471 This prints the first few tasks and the average difficulty. Look at the spread. Some tasks are easy, and some are close to impossible for an agent of middling skill. Next comes a rollout. Each attempt passes or fails at random. The pass chance goes up with the model's skill plus a harness bonus and goes down with the task's difficulty. python def rollout skill, harness bonus, difficulty, rng : chance the agent finishes each task in one attempt logit = 6 skill + harness bonus - difficulty p = 1 / 1 + np.exp -logit return rng.random len difficulty < p d = tasks 'difficulty' .to numpy one run = rollout 0.55, 0.0, d, rng print 'tasks passed in one run:', one run.sum , 'of', n tasks print 'score:', round one run.mean 100, 1 , '%' tasks passed in one run: 25 of 40 score: 62.5 % This is the kind of number a single benchmark run gives you. Remember it, because the next step runs the exact same setup again. Nothing changes here except the dice. The model skill, the harness and the tasks all stay the same. Only the random draws differ from run to run. python def scores skill, harness bonus, runs, rng : d = tasks 'difficulty' .to numpy return np.array rollout skill, harness bonus, d, rng .mean 100 for in range runs same = scores 0.55, 0.0, runs=20, rng=rng print '20 runs, same model, same harness' print 'lowest:', same.min , 'highest:', same.max print 'mean:', round same.mean , 1 , 'sd:', round same.std ddof=1 , 1 20 runs, same model, same harness lowest: 45.0 highest: 67.5 mean: 57.6 sd: 6.1 Look at the gap between the lowest and highest run. That gap is pure noise, since nothing about the model or the harness moved. If a release post compares two models on one run each, a difference smaller than this range tells you very little. This is the part I check first in any comparison now. One run per option is one sample each. Before I read a gap as real, I want repeated runs or a stated spread for a single run. Now for the Terminal-Bench idea. The model's skill stays the same as in step 2. I try three harnesses: a bare one that hurts a little, a default one, and a tuned one with better tools and prompts. In the simulator, each one just has a different bonus. harnesses = {'bare': -0.10, 'default': 0.0, 'tuned': 0.12} rows = for name, bonus in harnesses.items : s = scores 0.55, bonus, runs=20, rng=rng rows.append {'harness': name, 'mean': s.mean , 'sd': s.std ddof=1 } table = pd.DataFrame rows .round 1 print table gap = table 'mean' .max - table 'mean' .min print 'gap, tuned minus bare:', round gap, 1 , 'points' harness mean sd 0 bare 49.5 6.2 1 default 56.2 5.5 2 tuned 66.2 5.1 gap, tuned minus bare: 16.7 points Compare the gap between harnesses with the spread you saw in step 2. The bonuses are values I made up, so the size of this gap says nothing about any real system. What matters is the shape: the wrapper alone can move the mean by more than the noise does. The guide's audit found the real version of this. My toy only shows why it can happen. Anything that changes the agent's chance of finishing a task tool access, retries, prompts, time limits ends up in the score, and the score carries the model's name. This is where the problem shows. Model A is stronger and model B is weaker see the skill values in the code . Suppose A was tested in the bare harness and B in the tuned one, and both numbers land in the same table. a bare = scores 0.60, harnesses 'bare' , runs=20, rng=rng b tuned = scores 0.55, harnesses 'tuned' , runs=20, rng=rng a tuned = scores 0.60, harnesses 'tuned' , runs=20, rng=rng print 'model A stronger in bare harness: ', round a bare.mean , 1 print 'model B weaker in tuned harness: ', round b tuned.mean , 1 print 'model A in tuned harness: ', round a tuned.mean , 1 model A stronger in bare harness: 52.9 model B weaker in tuned harness: 69.6 model A in tuned harness: 70.6 Look at which of the first two lines is higher, then compare B with the third line. The fair comparison puts A and B in the same harness. Mixing harnesses can make the weaker model look better. The last block asks a different question. Even with the same harness, how often does a single run of each pick the wrong model? flips, trials = 0, 200 for in range trials : a = scores 0.60, 0.0, runs=1, rng=rng 0 b = scores 0.55, 0.0, runs=1, rng=rng 0 flips += b = a print 'single-run comparisons where weaker B tied or beat A:', flips, 'of', trials print 'share:', round flips / trials, 2 single-run comparisons where weaker B tied or beat A: 68 of 200 share: 0.34 The printed share is how often a one-run head to head gets the order wrong in this toy setup. If it isn't close to zero, one run each is not enough to pick a winner. Make one change to the last block. In both lines, replace runs=1 with runs=5 and replace 0 with .mean . Each side is now the average of several runs instead of one. Run the block again and compare the new share with the old one. It should drop, because averaging pulls each score toward its true mean. If it barely moves, raise the number of runs and watch where the share levels off. Then try the same three questions on a real eval you care about. Did every model in the table use the same harness? How many rollouts went into each number? Is the gap bigger than what a rerun of the same setup would give? My simulator treats every task as independent and the harness as a flat bonus. A real harness probably helps on some tasks and hurts on others, and real tasks can contain errors. The guide has a whole section on this. It says errors in tasks and graders are common and looks at how they get found and fixed. My toy grader is always right, and no real grader is. The guide also argues for sharing how an evaluation was built, including what went wrong, so others can find mistakes and reuse the work. It says Hugging Face hosts around 3500 eval leaderboards and saw about a 16X growth in eval datasets on the hub in the past year, to about 17000. More evals is good. More evals that write down the harness and the run count is better. Where I've landed: when I read an agent benchmark now, I treat the harness as part of the result and a single run as a single sample. When you compared two agents on your own tasks, how many runs did it take before the order stopped flipping?