Mahal Systems

Overview › Benchmark catalog

BIRD-Critic (SWE-SQL)

Fits SQL support or database debugging agents that take a user complaint and a broken query and must return a working one. Borrow its test-case grading on the live database and its variants (Open 570 multi-dialect, PostgreSQL 530, Flash 200, BigQuery 200).

What it asks the agent to do

  • fix a user's broken SQL given their issue description and the database
  • diagnose why a query returns wrong results or fails on a given dialect
  • rewrite SQL across PostgreSQL, MySQL, SQL Server, Oracle or BigQuery
  • produce a corrected query that passes hidden test cases

What to borrow from it

grading designcase templatetaxonomy

Caveats

Ground-truth SQL and test cases are withheld and must be requested by email; human score on the single-dialect set is 78.87% versus about 35-39% for the best models; issues are drawn from user posts rather than one company's workload.

Details

Workloadssql, coding, it ops
Interactionsingle turn
Environmentdatabase
End state checkedYes
ToolsSQL execution in a per dialect database environment
Gradingprogrammatic check, unit tests
Size570
Datamixed
Personal datanone
LicenseMIT
Harnessown repo
Statusactive

Links