Sonnet 5 beat GPT-6 Sol on SWE-bench Live by nearly ten points. Then Databricks added two words to the benchmark, let each agent run up to five times, and Sol finished ahead, 51.9 percent to 47.4.
The two words were “try again.” Databricks published the protocol on November 30, and it is the cheapest benchmark change I have seen reorder a leaderboard. Run the benchmark as usual. If the agent’s solution fails the tests, do not tell it which tests or why. Tell it the number of checks that passed and the words “Not quite right, try again,” and let it continue in the same workspace with its own previous attempt in front of it. Stop when it passes or when it has used five attempts. Report the share of tasks solved within the first N attempts.
That is the whole method. There is no simulated user, no tailored feedback, no second model grading the first. And it was enough to lift pass rates by 50 percent or more, to flip one ranking outright, and to flatten a nine-point lead on a second benchmark to almost nothing. The post is framed as an evaluation tweak. It is better read as evidence that the number everyone quotes measures a run that never happens: a single attempt with no follow-up.
The Protocol Mirrors How People Actually Complain
Databricks’ argument for withholding the failing tests is the part most teams will skip and should not. A user who sees a broken feature rarely knows which assertion failed. They know something is wrong, and they say so. The simulated-user approach to modeling this — a second AI playing the human, writing task-specific feedback — is more realistic, and it drags in a second system that has to be built, validated, and kept from leaking the answer. The “try again” protocol gives up the realism and keeps the signal: a count, and a nudge.
The two benchmarks they ran it on are deliberately different. SWE-bench Live is public: agents solve real GitHub issues and are graded on the tests from the real fix. Databricks curated 97 tasks whose reference patches passed in three independent runs, which removed the flaky ones. Databricks Bench V2 is internal: 100 tasks taken from their own coding-agent usage, each graded against a rubric rather than hidden tests. The agents were Codex running OpenAI models and Claude Code running Anthropic models. One footnote matters for anyone comparing to public boards: they found contamination in the newest frontier models on SWE-bench Live, so they fell back to the last uncontaminated versions. The names below are those versions.
Three Results, and Only One Is Comfortable
The first result is the flip. On SWE-bench Live, Sonnet 5 leads GPT-6 Sol by nearly ten points on the first attempt. Sol gains more from each retry, and by the fifth attempt it is ahead at 51.9 percent against 47.4. That is a swing of about fourteen points from where the one-shot board had them. On a chart you have probably seen, Sol is the second-place model. Inside a loop with a retry, it is the first-place model.
The second result is the gain. The GPT-6 configurations solved roughly 55 to 67 percent more tasks by the fifth attempt than on the first. On the internal benchmark, the gains were smaller in proportion, 7 to 17 points across six models, because the starting point was higher.
The third result is the one that should worry anyone who sells a model. On Databricks Bench V2, GPT-6 Astra starts with a nine to eleven point lead over Sonnet 5.5 and Sol. By the fifth attempt, all three land between 95 and 97 percent, and the lead is gone. The models converged. The loop did the work that the model was being credited for.
Databricks’ own reading is that the model best on the first attempt is not necessarily the best through iteration, and that this matters for routing, where you are optimizing quality and cost across a whole workflow rather than one call. That is correct, and it is the smaller implication. The larger one is that the benchmark has been drifting away from the model for a while; this is what it looks like when the drift is made explicit with one prompt.
The Agent That Spent Five Attempts on the Wrong Bug
The most useful paragraph in the post is the one about failure. On a format-detection task in SWE-bench Live, the agent used all five attempts improving how its code recognized CSV files. The failing check was about how the code handled invalid input. Every attempt refined the same wrong hypothesis, and every attempt failed the same check.
This is not a capability gap. Nothing in the task required anything exotic. It is a diagnosis gap. The agent looked at its own solution, with its own reasoning from the previous attempt still in context, and reached the same conclusion about what mattered. The retry gave it another run. It did not give it another view.
Databricks describes this as going deeper into refining the wrong hypothesis, which is accurate. I would put it more sharply: a retry inside the same context is a correlated retry. It re-rolls the dice with most of the same dice. When the first failure was a slip — an overlooked edge case, an overly broad assumption — the second pass catches it, which is why the aggregate gains are large. When the first failure was a misreading of the task, the second pass inherits the misreading, which is why some tasks never recover. Reinforcement-trained agents have already been shown to recover from their own errors far better than their base models; this is the boundary of that recovery.
The Math of the Second Pass
The same day, GitHub rebuilt Copilot code review around the same observation, from the reviewer’s side, and the arithmetic is worth stealing. Suppose one review agent has a 60 percent chance of flagging a given bug. Run it twice, independently and in parallel, and the chance at least one run catches it is 84 percent. Three times, 94 percent. The formula is one minus the probability that every run misses. Cost scales linearly; recall does not.
Two caveats from GitHub’s own data turn the formula into a design rule. First, repeating the same reviewer hits diminishing returns after the third run, because a model’s blind spots are shaped by its training and do not go away on the fourth look. Second, mixing models beats repeating one: at $3 per pull request, combining GPT-6.1 Sol and Claude Opus 5.5 caught 66.2 percent of critical bugs on their ReviewBench, against 61.3 percent for the best single-model option at the same price. The new tiers follow directly. Lite runs four copies of one smaller model and votes on agreement. Max runs eight reviewers across three model families and has an agent reconcile them, which takes about twelve minutes at the median and leaves roughly two findings per review instead of one.
Put the two posts side by side and there are three kinds of second pass, with three different independence profiles. The re-roll is GitHub’s parallel reviewers: independent by construction, additive by formula, expensive because every run is paid. The re-read is Databricks’ retry: one agent, same workspace, same context, plus a count. Cheap, and correlated with itself. The re-route is a second attempt by a different model or in a fresh context: more independent than the re-read, cheaper than a full re-roll, and the one almost nobody has wired into their harness. The agent that burned five attempts on CSV parsing needed a re-route on attempt three. It got five re-reads instead.
What the Flip Does to Model Selection
If you pick models from a one-shot board, you are selecting for first-draft quality. That is a real property, and it is the one that matters least once a human is in the loop, because the human’s job is precisely to reject the first draft. What you want to select for is response to rejection, and the Databricks protocol measures it for the price of one extra prompt.
The cost side changes shape too. Per-attempt price stops being the relevant number the moment retries are allowed; the number that matters is cost per solved task across the loop. A made-up example with round numbers: a model that solves 40 percent on the first attempt and 75 percent by the fifth, at a dollar an attempt, costs about $3.60 per solved task once you account for solved tasks stopping early. A model that solves 50 percent first and 55 percent by the fifth, at a dollar fifty an attempt, costs about $7.90. The second model wins the one-shot comparison by ten points and loses the loop by more than half. Token price has been a poor predictor of the bill for a while; this is the mechanism, measured in attempts instead of tokens.
There is a second-order effect for anyone building a router. Databricks runs this protocol for its Smart Routing product, and the reason is now obvious: the best model for attempt one and the best model for attempt three may not be the same. A router that picks per task is choosing for a workflow it never observes. A router that picks per attempt — cheap and fast for the first draft, a different family for the first retry, a human for the third — is choosing for the workflow that actually runs. The router has been eating the model decision for a while; this gives it a finer grain to work at.
What to Do This Week
- Rerun your last model comparison with five attempts and one line of feedback. You do not need a new harness. Take the eval you already have, add “Not quite right, try again,” plus the count of passed checks, and report solve rate at attempts one, three, and five. If the ranking does not move, your tasks are first-draft tasks. If it moves, you have learned which model you should have bought.
- Price per solved task, not per attempt. Multiply attempts by price, divide by cumulative solve rate, and let solved tasks stop accruing cost. A model that looks expensive per token and cheap per solve is the one your loop wants.
- Log the tasks that fail the same check every time. Those are diagnosis failures, not capability failures, and no number of re-reads will fix them. Route them to a person, or to the next rule.
- Decorrelate the third attempt. If attempts one and two fail the same checks, the third should change something other than the model’s mood: a fresh context holding only the task and the diff, a different model family, or the name of one failing test. Three re-reads buy less than two re-reads and one re-route.
- Match your feedback signal to your users. If your internal evals hand the agent full failing-test output and your users say “that’s not right, fix it,” you are optimizing a loop nobody runs. Grade on the signal you actually get.
- On the review side, buy two different reviewers before you buy a stronger one. GitHub’s numbers say a second model family at the same budget beats a bigger version of the first. Vote on agreement for speed; use an aggregator when the diff is expensive.
In Harness Engineering: The Complete Guide to Agent-First Software Development, I defined a harness as everything between the model’s output and a result you can trust. A retry is the smallest harness that exists: one line of feedback and a second run. Databricks showed that this one-line harness is enough to reorder the frontier. The lesson is not that retries are free. It is that the model you benchmarked lives inside your loop, and if your loop has a retry in it, the one-shot number was measuring a model your users never meet.