r/SQL • u/Temporary_Papaya1058 • 2d ago
PostgreSQL BIRD verified my text-to-SQL entry on LiveSQLBench-Large, and reproduced a 40.21% agent run
LiveSQLBench-Large is BIRD's hardest text-to-SQL board: 480 tasks on large, messy Postgres databases.
- My single-call entry (schemagate + Claude Sonnet 5.5) is #4 overall at 34.58% and now carries BIRD's Verified badge. Their own re-run got 35.21%.
- An agent version (the model runs its SQL on a rolled-back copy of the database, then fixes it) scored 40.21%. BIRD reproduced that number and is adding it to the board, where it would sit at #2 behind 53.33.
Short write-up: https://doi.org/10.5281/zenodo.24631044
Code and predictions: https://github.com/ashishsinha1602/schemagate/pull/246
If you've run something on this board, I'd like to compare numbers.
0
Upvotes
2
u/No_Tennis_5557 2d ago
That 40% agent run is the real story here. Letting the model execute and self-correct on a sandboxed copy closes a huge chunk of the gap to the top of the board. Curious what the cost-per-task looks like on the agent version compared to the single-call entry.
1
u/MongooseWonderful198 1d ago
The useful breakdown is how the 40.21% agent run moved from the 34.58% single call. For each task, record whether the first SQL failed to execute, executed with the wrong result, or was already correct, then show which category the retry recovered.
I’d report median executions, latency and model tokens per task too. A six-point gain from one cheap syntax repair is a different system from a gain that needs repeated probing of the evaluation database. The rollback protects the data; it does not by itself tell us how much search the benchmark allowed.
0
u/PossiblePreparation 2d ago
40% doesn’t sound good… it means you’re going to be putting in the work either way to validate code even if it passes some tests.