# One Run Is an Anecdote

> One run is an anecdote: Nolan Lawson built the same app five times per JavaScript framework. Report the median, the range, and the failed runs.

- Canonical URL: https://webofmike.com/one-run-is-an-anecdote/
- Author: Mike Moore (https://webofmike.com/about/)
- Published: 2026-11-10
- Last modified: 2026-11-25
- Tags: AI Agents, Evals, Thoughts
- Cite as: Mike Moore, "One Run Is an Anecdote", Web of Mike (webofmike.com), 2026-11-10. https://webofmike.com/one-run-is-an-anecdote/


<!-- ART: dial gauge with a single strip of masking tape reading "RUN 3 WAS WEIRD". Never explained. -->

One agent run is an anecdote. Nolan Lawson built the same specified app five times per JavaScript framework, reported the median with the range, and still saw individual runs cross over each other. If you publish a single number, you published the dice, so report the median, the spread, the failed runs, and how many times you actually ran it.

Nobody on a test floor trusts a new gauge until it passes a repeatability study.

Same part, same operator, same fixture, measured again and again. If the readings wander more than the tolerance you're trying to check, the gauge can't tell good from bad. You don't get to use it yet. Doesn't matter how nice the display is.

Agent benchmarks skip this step constantly. Somebody runs the agent once, gets a number, writes a post.

## How many times did Lawson build the same app?

Nolan Lawson got tired of vibes-based framework claims and [built a benchmark](https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks): one spec'd Pokémon app against the PokéAPI, one agent, a conformance suite to keep it honest, and the same app built five times per JavaScript framework. He reported the median of the runs, with the range.

The app is a list with search and filters, closer to a content site than a Figma. He says so up front. He used Opus 5.5 at high effort, official MCP or skills where they existed, and a sandbox. He did not tell the agent it would be scored in Lighthouse. He scored development cost, time, tokens, lines of code, and Lighthouse performance and accessibility.

I'm not going to rank frameworks here. Read his post for that. The part I care about is the spread.

## Why do the ranges overlap if the medians do not?

One framework's median build cost was roughly a dollar worse than another's. Lawson names the pair: React Router's median versus Hono plus htmx. The cheapest run of React Router came in at $2.82. The most expensive run of Hono plus htmx hit $3.19. Pick one run from each and you can tell either story.

That is a gauge that cannot resolve the difference you want to print. On a floor, if the repeatability of the meter is bigger than the spec gap, you do not ship a pass/fail on that gap. You either change the gauge or you stop claiming the gap.

Time and tokens moved with cost. Nuxt's token range in his table runs from 3.16 million to 8.18 million. Angular's time range runs from 9.8 minutes to 23.7. Those are not rounding errors. They are the process.

Lawson's phrasing is blunter than mine: sometimes you get a low dice roll and the agent goes off on a tangent wasting tokens, through no fault of the thing you're testing.

That's measurement noise. On a test floor you'd characterize it before you trusted any result. With agents the noise isn't just in the gauge. It's in the unit under test, every single time it runs.

And the measuring tool wobbles too. He notes Lighthouse's Largest Contentful Paint can decide one image is the largest element, then pick a different one on the next run. That's a gauge that moves its own probe. For LCP he took the median of 5 Lighthouse runs per app, then the median across apps. He still reports wild swings, including Next.js apps that lazy-loaded images in four runs and not in one.

If you need a reminder that a score can look precise and still be off, [Jev's calibration curve](/jev-calibration/) is the same lesson on a different meter. A 0.97 that is right 88 percent of the time is not a 0.97. LCP that picks a different element next run is not a 810 ms fact. It is a distribution.

## What happens if you throw out the failed runs?

Angular failed to produce a measurable app in two runs. Lawson took three iterations instead of five for some metrics, and he said so in the post instead of quietly rerunning until it worked. The failure mode was specific: in two runs the agent built an SSR app that rejected non-localhost traffic, even though the instructions said the app would sit behind a reverse proxy. He treated that as a valid failure to follow the spec.

He later clarified that this only affects the code size and performance measurements. All five Angular iterations are in the cost section. That distinction matters. Dropping failed runs from the metric they broke, then pretending you still have n=5, is how a station loses its scrap report.

[Tests lying to your agent](/tests-lying-to-your-agent/) is what happens when a red result is noise. This is the other direction: a real fail that never makes the chart. Both make the next agent dumber. One teaches it to chase ghosts. The other teaches you that the process always works.

The same honesty problem shows up in [trajectory evals](/kagent-trajectory-evals/). If you only keep the sessions that look like the golden path, you are grading a highlight reel. A subset match on tool names will not tell you the agent wandered for twenty minutes first.

Lawson also reports that the installed MCP or skill was not used the same way every run. Nuxt's MCP was never used. Next.js agents read the skill file in 1 of 5 runs. TanStack Start's skill files were discovered in 2 of 5. He still counts those runs, because that is how people actually use the tools. Forcing every run to use the MCP would have been a different experiment, and a quieter one.

## What should an honest agent benchmark report?

So the minimum bar looks like this:

- **Same task, same setup, multiple runs.** Write down how many.
- **Median and range.** Not the best run. Not the average with the outlier quietly dropped.
- **Failed runs stay in the report.** With the reason.
- **Know your gauge.** If the metric itself moves run to run, say so, and don't lean on it for small differences.

If you are about to publish numbers, use this as the test plan:

1. **Write the task once.** Lawson used one spec and a conformance suite on the accessibility tree so the agent could not cheat with a convenient DOM. If the suite is the spec, freeze it before the first run.
2. **Freeze the setup.** Model, effort, sandbox, "use the latest version of X." Do not retune mid-table.
3. **Decide n before you like the result.** Five was his n. Three is a floor, not a virtue. If a cell has fewer points because of failures, the cell says so.
4. **Record every run, including wrecks.** Cost, wall time, tokens, whether the app was measurable, and the failure reason. Lawson kept the Angular localhost fails instead of burning budget until they vanished.
5. **Report median, min, max.** If you also want mean, show it beside the range, not instead of it.
6. **Repeat the gauge.** For Lighthouse-style scores, he nested medians: several scans per app, then several apps. If one scan can pick a different LCP element, one scan is not a number.
7. **State the crossover.** If the worst run of A beats the best run of B, you do not have a ranking. You have overlapping distributions. Print that sentence.
8. **Publish the harness.** Lawson put the benchmark on GitHub and asked people to fork it. A number without a recipe is a vibe with extra decimal places.

That last one is how you keep yourself honest when the next model ships.

## How should I report agentgateway codeSearch numbers?

I'm about to publish per-agent numbers for agentgateway codeSearch across several coding agents. This is the rule for that series:

Same PR-review task for every agent. Three runs with codeSearch, three without. Median reported, range shown, failed runs kept. No single best run gets a headline.

If the range is wider than the difference, the post will say that too. That's a result. It just isn't a fun one.

The earlier [Grok Bot on agentgateway codeSearch](/agentgateway-codesearch-grokbot/) write-up is one real workflow, counted with tiktoken on what the gateway returned. It is a measurement of that session, not a five-run median across agents. The series has to do the Lawson step: same task, repeated, spread shown. One dramatic save is how you notice the gauge. Repeatability is how you trust it.

This also sits next to [every call passed and nothing got done](/every-call-passed-and-nothing-got-done/). Funnel's A/B looked great on seconds per call and worse on the whole task. A single fast run of a "cheaper" agent is the same trap. You need the sequence, and you need more than one of them.

## Related

- Source: [The AI cost of JavaScript frameworks](https://nolanlawson.com/2026/10/28/the-ai-cost-of-javascript-frameworks), Nolan Lawson, Oct 28, 2026
- [Grok Bot on agentgateway codeSearch](/agentgateway-codesearch-grokbot/)
- [Regression tests for kagent agents with agentevals](/kagent-trajectory-evals/)
- [Your tests are lying to your agent](/tests-lying-to-your-agent/)
- [Is Jev actually calibrated?](/jev-calibration/)
- [Every call passed and nothing got done](/every-call-passed-and-nothing-got-done/)

