Try Again Benchmark Changes Coding Agent Rankings

Chart showing how a try again coding agent benchmark changes model rankings

A new coding agent benchmark tweak from Databricks shows that letting agents retry after failure changes how models rank. The “Try Again” protocol adds one step to standard tests: if the solution fails, the agent is told it wasn’t quite right and gets another go. That alone lifted pass rates by 50% or more.

The team says the change matters because real coding work rarely ends after one attempt. Databricks reports its research team’s merged pull requests per contributor have grown about five times since the start of the year, a period that overlaps with wide use of agentic coding tools.

The problem with one-shot tests

Standard benchmarks hand an agent a codebase, an environment, tests and a task, then grade the first answer. People work differently. When a result isn’t right, they ask the agent to revise it instead of starting over, and sometimes they can’t say exactly what’s wrong, only that something is.

One fix is user simulation, where a second AI plays the human and gives feedback. Databricks notes the drawbacks: the feedback must fit each task and each mistake without leaking the answer, and the simulator itself becomes another system to build and validate, adding variability and bias.

How Try Again works

The protocol is simple. Run the benchmark as usual. If the agent fails any test, tell it to try again and report only how many checks passed, never which ones failed. The agent keeps working from its earlier solution in the same workspace, up to five attempts in total. Researchers then track the cumulative solve rate.

The team tested it on two benchmarks, using Codex and Claude Code agents powered by frontier models from OpenAI and Anthropic:

  • SWE-bench Live, using 97 tasks whose reference patches passed in three independent runs. The team found contamination in some of the newest models and used the latest versions without it.
  • Databricks Bench V2, an internal set of 100 tasks built from real coding agent use, scored with rubrics.

Rankings shift with retries

On SWE-bench Live, Sonnet 5 beat GPT-6 Sol by nearly 10 percentage points on the first try. But Sol improved more with each retry and finished ahead, 51.9% to 47.4%.

On Databricks Bench V2, retries narrowed the gaps. Astra started 9 to 11 points ahead of Sonnet 5.5 and Sol, but all three reached 95% to 97% by attempt five.

The lesson is that the best first-attempt model isn’t always the best at recovering. The GPT-6 setups solved roughly 55% to 67% more SWE-bench Live tasks by attempt five than on attempt one. On Databricks Bench V2, the six models gained 7 to 17 points.

Why this is a cheap upgrade

The appeal is that nothing new has to be built. A team that already runs SWE-bench Live or an internal suite only needs a loop that reruns failed tasks and a message that reports how many checks passed. There is no second AI to maintain, and no risk that the feedback leaks the solution.

It also mirrors how many people actually prompt: a vague “not quite” followed by another pass. Measuring that behavior says something about how an agent responds under pressure, which a single run can’t show.

When retrying doesn’t help

Even with almost no guidance, agents often found overlooked edge cases or dropped overly broad assumptions. Sometimes they dug deeper into the wrong theory. In one format-detection task, an agent spent all five attempts improving CSV recognition while the failing check was about handling invalid input, so it never passed.

What Databricks plans to do

Databricks now uses Try Again as a first-line way to extend coding benchmarks toward multi-turn use. It informs work on Genie Code and Smart Routing in Unity Gateway, where the goal is the best quality at the lowest cost across a whole workflow, not a single attempt.

The company urges other researchers to adopt the approach as a lightweight add-on. It adds that user simulation remains worth the investment for teams that need richer feedback. Anyone choosing a model from a coding agent benchmark may want to check whether it measures one shot or several.

Source: Databricks

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.