Databricks: Coding Agents Solve Up to 63% More When Told to Try Again

Databricks let coding agents retry failed tasks with a bare "try again". GPT-6 models in Codex solved 55 to 63% more SWE-bench-Live tasks after five attempts, Claude models gained less, and the leaderboard flipped. What the numbers show, what is missing, and how to use it.

Christopher Ort
By i10X News Desk · Reviewed by Christopher Ort · 5 min read
Share
Laptop with code and test results on a desk, symbolizing coding agents that retry failed tasks in the Databricks study.
Image: AI-generated, i10X
On this page
  1. How the Databricks "Try Again" test works
  2. Which models gain most from a second attempt
  3. One step further: Why retries change the ranking, and what they cost
  4. What teams using coding agents can take from this
  5. i10x Perspective

Coding agents solve far more tasks when they are simply told to try again, and the extra attempts change which model looks best. That is the result of a new Databricks study on “Try Again” evaluation, published on December 3. On SWE-bench-Live, the GPT-6 models running in OpenAI’s Codex agent solved about 55 to 63 percent more tasks after five attempts than after one. Claude models running in Claude Code started stronger but gained much less, so the leaderboard flipped. For teams that pick a coding model from a one-shot benchmark table, the study is a reason to check how that model behaves in the second and third round.

How the Databricks “Try Again” test works

The setup is deliberately simple. An agent gets a task, a repository and tests, exactly as in a normal benchmark run. If its solution fails, it does not end there. The agent receives a short message that the result is not right yet, plus how many checks passed, but not which ones failed or why. It then continues in the same workspace, with up to five attempts in total. Databricks reports the cumulative solve rate: the share of tasks solved within the first N attempts.

The authors tested two benchmarks. The first is a curated set of 97 tasks from SWE-bench-Live, which uses real GitHub issues and grades against the tests of the original fix. The second is Databricks Bench V2, 100 internal tasks built from how Databricks engineers actually use coding agents, graded with a rubric. Every configuration ran three times at high reasoning effort, and the charts show the mean.

Which models gain most from a second attempt

Grouped bar chart of SWE-bench-Live solve rates on the first attempt and after five attempts for GPT-6 Astra, Opus 5, GPT-6 Sol, Sonnet 5 and GPT-6 Luna, read from Databricks' charts.
Source: Databricks “Try Again” study, December 3, 2026; values read from Databricks’ charts and rounded by i10X News.

On SWE-bench-Live, Opus 5 led on the first attempt with about 42 percent and Sonnet 5 followed at about 41 percent. GPT-6 Astra started at about 37 percent and GPT-6 Sol at about 32 percent. After five attempts the order was reversed at the top: GPT-6 Astra reached about 58 percent, Opus 5 about 55 percent, GPT-6 Sol about 52 percent and Sonnet 5 only about 47.5 percent. In Databricks’ own words, Sonnet 5 beat GPT-6 Sol by nearly 10 points at first and ended about 5 points behind.

Model (agent)Attempt 1After 5 attemptsGain (points)Gain (relative)
GPT-6 Astra (Codex)37%58%+21+56%
Opus 5 (Claude Code)42%55%+13+32%
GPT-6 Sol (Codex)32%52%+20+63%
Sonnet 5 (Claude Code)41%47.5%+6+15%
GPT-6 Luna (Codex)26%42.5%+16+62%

SWE-bench-Live, 97 curated tasks, mean of three runs at high reasoning effort. Values read from Databricks’ chart and rounded; gains calculated by i10X News.

Databricks Bench V2 tells a different story because the tasks are easier for current models. GPT-6 Astra began with a lead of 9 to 11 points over Sonnet 5.5 and GPT-6 Sol, but all three ended between 95 and 97 percent, and Opus 5.5 finished highest at about 99 percent. When a benchmark is close to saturated, retries mostly erase the differences.

One step further: Why retries change the ranking, and what they cost

The pattern in our table has a clear shape. On SWE-bench-Live, the three GPT-6 configurations in Codex gained 16 to 21 points, while the two Claude configurations in Claude Code gained about 6 and 13 points. By our reading of the chart, most of the gain arrives with the first retry: GPT-6 Astra jumps about 13 of its 21 points between attempt one and attempt two. Models that start lower have more room, but Sonnet 5 started high and still flattened early, which points to how well a model and its agent use vague feedback, not only to raw skill. Databricks does not separate the model from the agent harness, so part of the difference may come from Codex versus Claude Code rather than from the models themselves.

Three limits matter before anyone copies the numbers. First, the SWE-bench-Live run used older model versions (Opus 5 and Sonnet 5, not 5.5) because Databricks found signs of contamination in the newest ones, so the public benchmark ranking is not a ranking of today’s models. Second, the feedback is richer than what most users can give: the agent learns how many checks passed, which a person without a test suite does not know. Third, retries are not free. Each attempt is another full agent session, and Databricks reports no token counts or costs. A model that needs five rounds to reach 58 percent may cost more per solved task than one that reaches 55 percent in fewer rounds. That is the comparison buyers actually need, and it is missing.

The failure mode is worth knowing too. In one SWE-bench-Live task the agent spent all five attempts improving how the code recognized CSV files, while the failing check tested how it handled invalid input. A bare “try again” does not help when the agent is sure about the wrong cause. More rounds are not automatically better either: in MisalignmentBench’s 12-hour runs, agents built working code early and then lost part of it later in the session.

Still open: whether the Codex versus Claude Code gap holds for the newest model versions on SWE-bench-Live, and how many tokens each extra attempt costs.

What teams using coding agents can take from this

  • Build a retry into the loop. If your setup has tests, let the agent run them and try again at least once or twice before a human steps in; most of the gain in this study came from the first extra attempt.
  • Compare models on your own retry budget. Run a small set of your real tasks with two or three attempts each and track solved tasks per dollar, not only first-try success.
  • Switch to specific feedback after two misses. If the agent fails twice on the same task, name the failing check or the expected behavior instead of repeating “try again”.
  • Read one-shot leaderboards as a floor. A model that looks weaker on first attempts can end up ahead in the back-and-forth way most people actually use agents.

How we checked

Checked on 4 December 2026, 12:44 CET.

  • Databricks blog post of December 3, 2026, including its two result charts and the method footnote
  • Per-model values are read from Databricks’ charts and rounded, so they can be off by about one point
  • Point gains and relative gains are our own calculations from those readings
  • Databricks published no token or cost data, so cost per solved task could not be checked

i10x Perspective

Databricks has a reason to care: it routes coding requests between models in its Unity AI Gateway and sells its own coding assistant, Genie Code, so a metric that rewards recovery suits its products. The method is still a cheap and fair addition to any benchmark, and it fits what we found in our study of the hidden cost of coding agent harnesses: the agent around the model shapes the outcome as much as the model does. Databricks’ own AI Index already showed that cost per task differs widely between coding models. The next useful step would be the same test with token costs attached, so “solves more after five tries” can be weighed against “costs five times as much”.

Christopher Ort

Christopher Ort

Christopher Ort is the editor of i10X News at i10x.ai. He has worked hands-on with AI tools, models and agent workflows for years and leads i10X’s coverage of AI launches, funding and research. He is the author of “The Style Penalty”, an SSRN study on how frontier AI models judge AI-written CVs, covered by heise online and t3n.

Timeline

What happened before

  1. Release

    Claude Haiku 5.5

    1M context · $0.1 / $0.5 per 1M tokens

    support.claude.com (source, opens in a new tab)
  2. Release

    Claude Sonnet 5.5

    1M context · $2 / $10 per 1M tokens

    support.claude.com (source, opens in a new tab)
  3. Release

    Claude Opus 5.5

    1M context · $4 / $20 per 1M tokens

    First model of the Claude 5.5 family; performs at the level of Claude Fable 5.1 on most work and costs 40% less to run than Opus 5.

    anthropic.com (source, opens in a new tab)
  4. Partnership

    Accenture partnership on independent frontier-AI evaluation (≥$1B each over five years)

    With Accenture · Research

    anthropic.com (source, opens in a new tab)
  5. Release

    Claude Fable 5.1 & Mythos 5.1

    1M context · $10 / $50 per 1M tokens

    Anthropic's most advanced models for coding and knowledge work. Price/context shown for Claude Fable 5.1 (models overview).

    support.claude.com (source, opens in a new tab)
Full Anthropic timeline ›

Editor's picks

  1. Copilot Fusion Tops Coding Agent Index at $4.13 a Task: Who Gets Fusion Max
  2. Amazon FAR-1: 62B Robot Model Already Runs 500 Robots, but No One Else Can Use It
  3. Anthropic Pretraining Loss Curve: Why Kaplan Says Loss Alone Can’t Pace AI
  4. LangChain4j vulnerability lets attackers read other tenants’ RAG documents
  5. PraisonAI vulnerability lets attackers run agent tools on open servers