# [Telling AI coding tools to simply try again solved up to 67% more tasks](https://www.redasiainc.com/knowledge/telling-ai-coding-tools-to-simply-try-again-solved-up-to-67-more-tasks) (2026-12-05)

Databricks researchers gave AI coding tools up to five chances with no hints. Success rose sharply, and the ranking of which AI is best changed.

## The short version

- On 3 December 2026, Databricks researchers reported that OpenAI's coding tools solved 55% to 67% more tasks on a public test when told to try again, up to five times.
- The extra tries changed which AI looked best. OpenAI's GPT-6 Sol started behind Anthropic's Sonnet 5 on one test and finished ahead of it.
- For companies, this means tests based on one try can steer you to the wrong tool.

## What did Databricks test?

The Databricks AI Research team published the study on the Databricks blog on 3 December 2026. It looked at AI coding tools, which write and fix software code on their own.

Most tests of these tools give them one try at each task. Real work is different. A developer who doesn't like the result asks the AI to have another go.

So Databricks copied that habit in the simplest way. When a tool's answer failed, it got a short message: not quite right, try again. The message said how many checks had passed, but not which ones failed or why. Each tool could try up to five times.

Databricks ran this on 2 tests. One uses 97 real code problems taken from public software projects. The other uses 100 tasks drawn from how Databricks' own staff use coding tools. The tools were Codex from OpenAI and Claude Code from Anthropic, each running their makers' latest AI models.

## What did the researchers find?

The Databricks team found that trying again helped a lot. On the public test, OpenAI's tools solved about 55% to 67% more tasks by the fifth try than on the first. In the team's words, trying again can lift pass rates by 50% or more.

On Databricks' own test, the tools started from higher scores. They still solved 8% to 23% more tasks by the fifth try.

The ranking also changed. On the public test, Anthropic's Sonnet 5 started well ahead of OpenAI's GPT-6 Sol. After five tries, GPT-6 Sol had overtaken it.

On Databricks' own test, one OpenAI model started clearly ahead of the others. By the fifth try, the top 3 tools all solved between 95% and 97% of tasks.

Trying again doesn't fix everything. In one task, a tool spent all 5 tries improving how it spotted CSV files, a common spreadsheet format. The failing check was about something else, so it never passed.

## Why does this matter for companies choosing AI tools?

Many companies in Indonesia pick AI coding tools by looking at public rankings. Those rankings mostly measure the first try. Databricks' study suggests that can be a poor guide. The tool that wins on the first try may not be the one that serves your developers best over a working session.

The study also says something about how people use these tools. Databricks reports that merged code changes per engineer rose about 5.3x over two years at the company, as its staff adopted AI coding tools.

If you are deciding where AI fits across your company, our page on AI transformation sets out how to choose and measure tools against your own work.

## What to do

- Test AI coding tools on your own tasks, and allow several tries, the way your developers actually work.
- Look at the cost of reaching a working answer, since extra tries take extra time and money.
- Watch for tools that keep trying the wrong fix. A person should step in after two or three misses.
- Treat any ranking based on one try as a starting point.

- **Do AI coding tools get better if you ask them to try again?** Yes, in Databricks' tests. With up to five tries and no hints, some AI coding tools solved 55% to 67% more tasks than on their first try.
- **Are AI coding rankings reliable?** Only partly. Databricks found that the AI that does best on its first try is not always the best once it can revise its work.

- One attempt isn't enough: Letting coding agents try again changes the leaderboard: https://www.databricks.com/blog/one-attempt-isnt-enough-letting-coding-agents-try-again-changes-leaderboard
