Self-correcting SQL agent loop tops BIRD Mini-Dev at 89.13, no new model needed
Temporary_Papaya1058 · reddit · 2026-11-29
The author's one simple idea: let the model run its generated SQL against a private copy of the database, inspect what comes back, and fix it—same loop on every leaderboard, no model change. Results: BIRD Mini-Dev 2026 at 89.13 (#1, next best 87.27); BIRD-CRITIC Flash 63.00, PostgreSQL 58.11, and Effi-SQL R-VES 91.58 all beat current #1s (self-scored, submitted); LiveSQLBench-Large 40.21 would rank #2. What didn't help: more reasoning effort (16 vs 17 of 40 tasks), extra prompt rules (zero gain), and schema trimming on small databases. Paper and code (SchemaGate) are linked.
More from coding & agent
- Building a Grok genealogy bot: six generations traced in a few weekends — Baconbrix · 2026-11-29
- Dev launches Gemini-built dot-matrix printer auto-livestream on TikTok, plans to open-source — lipeng0820 · 2026-11-29
- Finetuning a 9B model: Claude said >6% MFU impossible, Codex hit 30% in minutes — deliprao · 2026-11-29
- Swap pip for uv: Rust-built, faster installs with reproducible uv.lock workflow — kalyan_kpl · 2026-11-29
- Engraphis adds zero-knowledge E2EE cloud sync to open-source MCP memory server for coding agents — Jaixii · 2026-11-29
- Watch your subagents: broad pkill commands are killing other agents' builds and tests — JasonBotterill · 2026-11-29