ML in Production · 5 min read
Databricks’ five-attempt test puts GPT-6 Sol ahead of Sonnet 5
Databricks found that five coding-agent attempts lifted solve rates by 50% or more, reversed a model ranking and exposed where automatic retries still deepen the wrong fix.
Key takeaways
- Databricks’ “Try Again” feedback improved reported coding-agent pass rates by 50% or more.
- On 97-task SWE-bench-Live, GPT-6 Sol moved from roughly 10 percentage points behind Sonnet 5 to 5 points ahead.
- GPT-6 configurations solved approximately 55%–67% more SWE-bench-Live tasks by attempt five than by attempt one.
- On 100-task Databricks Bench V2, the six evaluated agents solved 8%–23% more tasks by attempt five.
- Sonnet 5.5, GPT-6 Sol and GPT-6 Astra converged at 95%–97% success by attempt five on Databricks Bench V2.

Databricks’ “Try Again” evaluation lifted coding-agent pass rates by 50% or more, while GPT-6 Sol erased a nearly 10-percentage-point deficit to Sonnet 5 and finished 5 points ahead on SWE-bench-Live. One attempt was a leaderboard, not a verdict.
Why does a second attempt matter?
Most coding benchmarks give an agent a codebase, environment, tests and one prompt, then grade the first response. That measures one-shot execution, not whether the agent can absorb feedback, reconsider a failed approach or repair its mistake. Developers routinely request revisions, so the benchmark no longer resembles the workflow it claims to measure.
Databricks reports that merged pull requests per engineer rose to about 5.3 times the level recorded two years earlier, alongside widespread adoption of agentic coding tools. The company’s research team is testing agents used in Genie, its AI experience for data-driven tasks, and Smart Routing in Unity AI Gateway, which automatically selects models for coding tasks to optimize performance and cost.
How does “Try Again” work?
Teams usually simulate a human reviewer with a second agent that generates tailored, multi-turn critiques. Databricks calls that useful but cumbersome: the simulator may leak ground-truth solutions, introduce variability and bias, or fail in new ways.
Its alternative strips the exercise back. After a failed test, the agent receives “Not quite right, try again…” plus the number of checks passed. It does not learn which checks failed or why. Coding benchmarks still run normally; only failure handling changes.
The premise is human: people rarely accept a first result when they can tell it is not right, even if they cannot diagnose the fault. The method approximates that request without pretending to model every turn of a developer session.
The evaluation permits five total attempts, each continuing from the previous solution in the same workspace, and ends when the agent succeeds or exhausts its allowance. Databricks reports cumulative solve rate: the share of tasks completed within the first N attempts. The feedback stays blunt, but lifts pass rates by 50% or more in the reported experiments.
Which benchmarks and agents were tested?
- SWE-bench-Live: Agents solve GitHub issues, and Databricks grades them against tests from the ground-truth pull request. The team selected 97 tasks whose ground-truth patches passed three independent runs, filtering out flaky or ungradeable cases.
- Databricks Bench V2: An extension of the original internal Databricks Bench, it contains 100 tasks built from internal coding-agent use. Each sample includes a task prompt, a repository commit and relevant workspace files, plus an evaluation rubric.
- Configurations: The study used Codex and Claude Code agents powered by frontier models from OpenAI and Anthropic, respectively, all at high reasoning effort. It measured cumulative performance through as many as five attempts.
A contamination note tempers the newest-model comparison. The team found contamination in some SWE-bench-Live cases involving the latest frontier models, so it used the last versions for which no contamination was detected. Because Databricks Bench V2 was internal, the team used all latest frontier models there.
What changed on the leaderboard?
- On SWE-bench-Live, Sonnet 5 began about 10 percentage points ahead of GPT-6 Sol. After repeated attempts, GPT-6 Sol moved ahead by 5 points, reversing the one-shot order.
- On Databricks Bench V2, GPT-6 Astra opened with a 9-to-11-point lead over both Sonnet 5.5 and GPT-6 Sol. By attempt five, all three converged at a 95%–97% success rate.
- Most agents improved continuously rather than gaining only at the final retry. GPT-6 configurations on SWE-bench-Live solved roughly 55%–67% more tasks by attempt five than by attempt one.
- Databricks Bench V2 began from higher success rates, yet its six evaluated agents still solved 8%–23% more tasks by attempt five. Iteration narrowed the field as performance approached saturation.
The practical lesson is straightforward: a first-attempt score can substantially understate an agent’s recoverable capability. With only a pass count and a generic prompt, agents often found overlooked edge cases or corrected overly broad assumptions.
A retry was not a guaranteed escape. On one SWE-bench-Live format-detection task, an agent used all five attempts to improve CSV recognition while the failing check concerned invalid inputs. It never diagnosed the real problem. More attempts can also mean more work on the wrong hypothesis.
What should data teams do with this?
For data teams, treat retry performance as a separate selection metric, not a footnote to a one-shot benchmark. Run representative coding tasks under both protocols, report solve rates after attempts one through five, and let model rankings reflect how agents behave in the repeated-feedback sessions users actually have.
Databricks already uses “Try Again” in its evaluation toolkit for Unity Gateway Smart Routing and Genie Code; users routinely go back and forth with agents. It also keeps richer user simulation available when the added complexity is justified. The authors invite other researchers and developers to adopt the lightweight method.
The economics still need a column of their own. The study reports pass-rate gains, not the compute cost of those extra attempts, so a 95% score should not be mistaken for a free 95%.
Authors Krista Opsahl-Ong, Ivan Zhou and Erich Elsen put the case plainly: “Try Again” offers “a simple way to extend benchmarks to approximate multi-turn coding sessions.” That is the useful verdict. Persistence belongs on the scorecard. First-impression rankings are poor evidence for iterative use.
docs.databricks.com (Original)
More from Grace Kim
Show full bio
Market editor covering companies, deals and strategy in Analytics Digest is a professional daily at Analytics Digest.
89 articles