BIRD-CRITIC
Models fix real user SQL issues in MySQL, PostgreSQL, SQL Server and Oracle applications. Test cases check each fix.
600 development tasks plus 200 held-out tests. Single-dialect sets include PostgreSQL (530 tasks) and SQLite (500 tasks, March 2026). NeurIPS 2025 paper.
- Made by
- BIRD team (HKU)
- Released
- January 2025
- Kind
- Data science and SQL
- Level
- Expert
- Scored
- Checked automatically
- Answers
- Code
- Tasks
- Public, plus a private test set
- Measures
- Capability
- Language
- English
- Interaction
- Single turn
- Items from
- Real work and use
- Refresh
- One fixed set
- Run by
- A host
- Strongest model tested
-
DeepSeek-R1 #131 on the capability index
- Last model added
- March 2025
- Updated automatically
- Yes, daily
- Scores refreshed
- November 24th, 2026
In the authors’ words
Resolution of complex SQL issues persists as a significant bottleneck in real-world database applications. Current Large Language Models (LLMs), while adept at text-to-SQL translation, have not been rigorously evaluated on the more challenging task of debugging SQL issues. To address this gap, we introduce BIRD-CRITIC, a new SQL issue debugging benchmark comprising 530 PostgreSQL tasks (BIRD-CRITIC-PG) and 570 multi-dialect tasks (BIRD-CRITIC-Multi), distilled from authentic user issues and replayed within new environments to facilitate rigorous evaluation. Baseline evaluations underscore the task's complexity, with the leading reasoning model O3-Mini achieving only 38.87% success rate on BIRD-CRITIC-PG and 33.33% on BIRD-CRITIC-Multi. Meanwhile, advancing open-source models for database tasks is crucial for empowering local development while safeguarding data privacy. Therefore, we present Six-Gym (Sql-fIX-Gym), a training environment for elevating open-source model capabilities for SQL issue debugging. This environment leverages SQL-Rewind strategy, which automatically generates executable issue-solution datasets by reverse-engineering issues from verified SQLs. However, popular trajectory-based fine-tuning methods do not explore substantial supervisory signals. We further propose f-Plan Boosting, which extracts high-level debugging plans from SQL solutions, enabling teacher LLMs to produce 73.7% more successful trajectories for training. We integrate these components into an open-source agent, Bird-Fixer. Based on Qwen-2.5-Coder-14B, Bird-Fixer achieves 38.11% success rate on BIRD-CRITIC-PG and 29.65% on BIRD-CRITIC-Multi, surpassing leading proprietary models such as Claude-3.7-Sonnet and GPT-4.1, marking a significant step toward democratizing sophisticated SQL-debugging capabilities. The leaderboard and source code are available: https://bird-critic.github.io/
o1-preview leads with 35.5% among models released by March 2025
Best score per model from the benchmark's own leaderboard, read on November 24th, 2026. Where a model ran with several settings or harnesses, we keep its best.
The newest model with a score here came out in March 2025, and nobody has tested a newer one. Among the 20 highest-ranked models on the capability index, these have no score yet:
- Claude Fable 5.2
- GPT-6.2 Astra
-
Gemini 4 Carbon
- GPT-6 Astra
- and 16 more
- 1 o1-preview 35.5%
- 2
DeepSeek-R1 32%
- 3 GPT-4o Nov 2024 27.5%
- 4 o1-mini 25%
- 5
DeepSeek-V3 Mar 2025 24.5%
- 6
Phi-4 22%
- 7 Claude 3.5 Sonnet 21.5%
- 8
Gemini 2.0 Pro 21%
- 9
Qwen2.5-Coder-32B-Instruct 20%
Source: Official BIRD-CRITIC leaderboard
| # | Model | Score | Setting | Released | Run on | Source |
|---|---|---|---|---|---|---|
| 1 | o1-preview | 35.5% | Sep 2024 | Apr 2025 | Official leaderboard | |
| 2 | | 32% | Jan 2025 | Apr 2025 | Official leaderboard | |
| 3 | GPT-4o Nov 2024 | 27.5% | Nov 2024 | Nov 2024 | Official leaderboard | |
| 4 | o1-mini | 25% | Sep 2024 | Apr 2025 | Official leaderboard | |
| 5 | | 24.5% | Mar 2025 | Apr 2025 | Official leaderboard | |
| 6 | | 22% | Dec 2024 | Apr 2025 | Official leaderboard | |
| 7 | Claude 3.5 Sonnet | 21.5% | Jun 2024 | Apr 2025 | Official leaderboard | |
| 8 | | 21% | Feb 2025 | Apr 2025 | Official leaderboard | |
| 9 | | 20% | Nov 2024 | Apr 2025 | Official leaderboard |
Number one over time
Lab claims count from the day the card came out, independent runs from the model’s release.
Source: Official BIRD-CRITIC leaderboard
Scores over time
All the scores we have, one dot each, so a model tested at several settings appears more than once.
Source: Official BIRD-CRITIC leaderboard
No lab model card reports it yet
We read the headline results of 546 launch posts from 59 labs, and none of them list this benchmark.
More in Coding
- SWE-bench Verified In use 500 human-validated GitHub issues from 12 Python repos. Agent writes a patch that must pass hidden tests. Claude Opus 4.7 83.5%
- LiveCodeBench v6 In use Competitive programming problems collected after model cutoffs from LeetCode, AtCoder, Codeforces. Scored pass@1 on hidden tests.
DeepSeek-V4-Pro 93.5%
- SWE-bench Multilingual In use 300 GitHub-issue tasks across nine programming languages in SWE-bench format. Patch graded by repository tests. Claude Fable 5.2 96.6%
- DeepSWE In use 113 original long-horizon engineering tasks across 91 repos and five languages, written from scratch. Hand-written verifiers accept alternative solutions. GPT-6 Astra 74.1%
- SciCode In use Scientist-curated research coding problems split into subproblems across natural sciences. Code checked against test cases.
Seed2.1 Pro 59.8%
- Codeforces rating In use Model solves recent Codeforces contest problems. An Elo-style rating is computed from simulated contest performance.
DeepSeek V4.1 Flash 3,471
Data audit
9 of 10 checks pass, 1 warning. Look first at the Newest score check. The newest came 20 months ago, in March 2025, for DeepSeek-V3. Every benchmark
Catalog record 2 pass
- Pass Task access Public tasks, plus a private test set.
- Pass Confidence Checked against a primary source.
Scores 1 warning 3 pass 1 note
- Pass Independent runs Scores from the official leaderboard (9 entries).
- Pass Models scored 9 models we track.
- Warning Newest score The newest came 20 months ago, in March 2025, for DeepSeek-V3.
- Note Frontier models None of the top 10 has a score. The strongest tested is DeepSeek-R1 (#131).
- Pass Headroom The best is 35.5%, under 85%, so it still separates models.
Leaderboard import 3 pass
- Pass Importer We read the board on bird-critic.github.io: 10 rows for models we track at the last read.
- Pass Last read November 24th, 2026.
- Pass Read worked The last read worked.
Consistency 1 pass 2 notes
- Note Lab claims No model has both a lab number and an independent run.
- Pass Known issues No published audit found problems.
- Note Epoch AI review Epoch AI hasn’t reviewed it.