# Databricks proposes retry test for coding agents

Published 2026-12-04 · AI.info Team · AI.info

> Databricks researchers tested coding agents with up to five attempts per task instead of scoring only their first solution. They report that retries improved results and changed some model rankings, although agents could still pursue the wrong approach.

Giving coding agents up to five attempts at a task improved their scores and changed some model rankings, according to tests by [Databricks](https://www.databricks.com/blog/one-attempt-isnt-enough-letting-coding-agents-try-again-changes-leaderboard) researchers. The team proposes a retry-based evaluation as an alternative to benchmarks that grade an agent’s first solution.

In a December 3 research post, the team said the method approximates a common interaction in which a user knows an answer is wrong and asks the agent to revise it.

Agents continue from their previous solution in the same workspace. Evaluation stops when an agent succeeds or uses up its attempts, and the researchers report the share of tasks solved within a given number of attempts.

The team tested the method on SWE-bench-Live and Databricks Bench V2, using Codex and Claude Code agents powered by [OpenAI](https://ai.info/companies/openai) and [Anthropic](https://ai.info/companies/anthropic) models, respectively. All models were evaluated with high reasoning effort.

On SWE-bench-Live, the researchers selected 97 tasks whose reference patches passed in three independent runs, filtering out tasks that were unreliable or could not be graded. The benchmark asks agents to solve [GitHub](https://ai.info/companies/github) issues and grades their work against tests from the reference pull request.

The internal Databricks Bench V2 contains 100 tasks built from coding-agent usage at the company. Each includes a task prompt, a workspace environment and a rubric for assessing the agent’s work.

Databricks says the GPT-6 configurations it evaluated on SWE-bench-Live solved approximately 55–67% more tasks by the fifth attempt than on the first. On the internal benchmark, where initial success rates were higher, the six agents solved 8–23% more tasks by their fifth attempt.

In the SWE-bench-Live tests, Sonnet 5 led GPT-6 Sol by nearly 10 percentage points on the first attempt, according to the researchers. GPT-6 Sol later overtook Sonnet by 5 percentage points.

On Databricks Bench V2, GPT-6 Astra began with a 9–11 point lead over Sonnet 5.5 and GPT-6 Sol, but all three reached 95%–97% success by the fifth attempt, the team reported. The company says the retry method is one tool it uses to evaluate work on Genie Code and Unity Gateway Smart Routing.

The researchers also identified some cases of contamination on SWE-bench-Live in some of the latest frontier models. They therefore used the last model versions where they detected no contamination for that benchmark; for the internal benchmark, they used all the latest frontier models.

Retries did not always help an agent identify the underlying problem. In one format-detection task, an agent spent all five attempts improving CSV recognition, while the failing check concerned the handling of invalid inputs, according to the research post.

## Databricks on AI.info

- Company: [Databricks](https://ai.info/companies/databricks) — Databricks is a unified data and AI platform for data engineering, analytics, governance, machine learning and enterprise AI applications.

## Sources

1. Original source · Blog post [Databricks](https://www.databricks.com/blog/one-attempt-isnt-enough-letting-coding-agents-try-again-changes-leaderboard) “One attempt isn't enough: Letting coding agents try again changes the leaderboard” databricks.com

## Companies in this story

- [Databricks](https://ai.info/companies/databricks)

## Related stories

- [Codex and DeepSeek coding agents acted on false user claims, preprint finds](https://ai.info/news/coding-agents-false-user-claims-benchmark)
- [Kiro details private coding-agent benchmark with over 300 tasks](https://ai.info/news/kirobench-private-coding-agent-benchmark)
- [Databricks Ventures backs exploitation-prediction startup Empirical Security](https://ai.info/news/databricks-ventures-empirical-security-investment)
- [Databricks details shared-storage read replicas for Lakebase](https://ai.info/news/databricks-lakebase-shared-storage-read-replicas)
- [Databricks previews live Power BI and Tableau import checks](https://ai.info/news/databricks-mcp-power-bi-tableau-import-preview)

## Explore

[More articles](https://ai.info/news)

---

Canonical: https://ai.info/news/databricks-coding-agent-retry-evaluation
