BIRD-CRITIC family · from SQL diagnostics to real-world software engineering

BIRD CRITIC 1.5

In 2025, BIRD-CRITIC 1.0 introduced the first benchmark for LLMs' ability to diagnose and repair real-world SQL bugs, across MySQL, PostgreSQL, SQL Server, and Oracle. BIRD CRITIC 1.5 extends from SQL diagnostics to real-world software engineering in database-relevant tasks, across production Python, Ruby, PHP, and Node.js repositories.

300 instances 4 ecosystems 2 splits — Lite / Full
Model Performance

Leaderboard

Solve rate: the percentage of tasks where the agent's patch made the failing tests pass.

Scope
Rank by
Scaffold
# Model Solve rate Solved / total
Loading results…

Benchmark Construction

Method

Every instance starts as a real GitHub pull request from a production repository — then goes through a verification gate and a human-in-the-loop rewrite before it's allowed into the benchmark.

  1. Filter ecosystems and collect real PRs

    We manually identify DB-related ecosystems and repositories, then collect merged pull requests from them — each one a real bug fix paired with the test that caught it, not a synthetic or LLM-authored task.

  2. Convert to Harbor and verify it's a real test

    Each candidate is converted into a runnable Harbor task and put through a gate: applying the reference patch (oracle) must make the test suite pass, and doing nothing (nop) must leave it failing. Instances that don't clear this bar are dropped.

  3. Rewrite the problem statement, then review it by hand

    Raw PR descriptions rarely name the exact files, classes, or interfaces an agent needs. We rewrite each instruction to spec-level detail — pinning down what the hidden test requires while withholding the actual implementation — and every rewrite goes through human quality review before it ships.

  4. Rebalance for difficulty

    Instances that every agent solves (or none can, for the wrong reasons) don't tell you anything. We periodically re-run the full set, retire the ones that stop discriminating between agents, and replace them with harder verified instances.

Examples

Four real bugs, one per ecosystem

The real problem statement and diff from each fixing pull request, and how many of the four Full-split models solved it.

Loading case files…

Benchmark Coverage

Full benchmark coverage

An at-a-glance map of 300 repair tasks across four languages, 25 repositories and plugins, and nine data-management domains.

Coverage atlas for BIRD CRITIC 1.5 Full: 300 tasks across Python, Node.js, PHP, and Ruby, drawn from 25 repositories and plugins in nine data-management domains.
Full split distribution: Python 75 · Node.js 46 · PHP 75 · Ruby 104. Open image for full resolution.