Databricks finds coding-agent rankings shift when failed attempts get another try
Its “Try Again” protocol gives agents minimal feedback and keeps their workspace intact. The results measure eventual success, not just first-pass accuracy.
Loading page…
Its “Try Again” protocol gives agents minimal feedback and keeps their workspace intact. The results measure eventual success, not just first-pass accuracy.
Listen to this story
Databricks AI Research’s November 30 evaluation finds that coding-agent rankings depend on whether scoring includes repair attempts: agents revised prior work up to five times, receiving only the number of checks passed as feedback. On SWE-bench Live, GPT-6 Sol moved from behind Sonnet 5 to finish at 51.9% versus 47.4%; on Databricks’ internal 100-task benchmark, three leading models converged at 95–97%. The findings support evaluating agents across full workflows, though benchmark-specific model versions and retries that reinforce a mistaken diagnosis limit broad conclusions.
Each retry continued in the same workspace from the agent’s prior solution; agents stopped after succeeding or using all five attempts.
SWE-bench Live included 97 issues with reference fixes that passed three independent runs; contamination led Databricks to use older model versions there.
On Databricks Bench V2, six models improved by 7–17 percentage points, while Astra’s initial lead largely disappeared by attempt five.
Databricks AI Research found that giving coding agents up to five attempts improved task completion and changed or narrowed model rankings. Published November 30, the experiments show why developers choosing an agent for repeated revisions can reach different conclusions from those judging only its first answer.
The proposed “Try Again” protocol supplies remarkably little guidance. After a failed solution, the agent receives a retry prompt and the number of checks it passed—not the specific failing test cases. The researchers used that feedback to examine whether an agent could recover without a person diagnosing its mistake.
Each retry continues from the previous solution in the same workspace. That makes the experiment a test of revision: the agent retains its earlier work rather than starting the assignment from scratch. Evaluation follows a short loop:
Databricks evaluated Codex and Claude Code agents powered by OpenAI and Anthropic models on two task sets. The public SWE-bench Live sample contained 97 GitHub issues. Researchers selected tasks whose reference fixes passed three independent runs, filtering out cases with unreliable tests or solutions they could not grade.
The second set, Databricks Bench V2, comprised 100 tasks built from internal coding-agent usage. Each included a task prompt, a working environment with repository and workspace files, and grading criteria. Scores tracked cumulative completion: the share of tasks solved within the first specified number of attempts.
On SWE-bench Live, Sonnet 5 began nearly 10 percentage points ahead of GPT-6 Sol. Sol gained more from revisions and overtook it by the fifth attempt. The reversal illustrates the distinction the protocol is designed to expose: first-answer accuracy and the ability to repair an answer are different measures.
Databricks’ reported cumulative solve rate after up to five attempts.
The initial leader finished behind Sol under the retry protocol.
The internal benchmark produced convergence rather than a reversal. Astra’s initial lead of 9–11 percentage points over Sonnet 5.5 and Sol largely disappeared, with all three reaching 95–97% success by attempt five. Across the six models evaluated there, improvements ranged from 7 to 17 percentage points.
The model selections differed between benchmarks. Databricks says it detected contamination in some latest frontier models on SWE-bench Live, so used the last versions where none was detected. For its internal benchmark, it used the latest models. Those choices matter when interpreting the named models and their scores.
Researchers observed agents finding overlooked edge cases and correcting overly broad assumptions when reviewing their work. But persistence sometimes reinforced the wrong explanation. On one format-detection task, an agent spent all five attempts improving CSV recognition. The failing check concerned invalid inputs, so none of those revisions fixed the problem.
Databricks positions the protocol as a lightweight alternative to building another AI system to simulate a user. Such simulations can supply richer feedback, but require task-specific guidance and safeguards against leaking answers or grading criteria. The team says that approach remains valuable where the added complexity is justified.
The company has begun using Try Again internally to evaluate methods for Unity Gateway Smart Routing and Genie Code. For routing, its stated aim is to choose models for quality and cost across an entire workflow—not merely the opening attempt.
Loading discussion...
Join the conversation
Explain which matters more in the work you would delegate.
Be the first to share a perspective or an experience.
Reader comments
Newest comments first. Replies stay oldest first.