Open-source schemagate hits 64.93% on UniQL's brutal Oracle text-to-SQL column, beating Claude Sonnet 4.5's 49.61%
Temporary_Papaya1058 · reddit · 2026-11-25
A Reddit developer's open-source project schemagate now tops UniQL's Oracle column: 996/1,534 correct (64.93%) using Gemini 3.8 Flash, versus the best single-model baseline of Claude Sonnet 4.5 at 49.61%.
- UniQL translates BIRD's 1,534 text-to-SQL questions into 16 SQL dialects; Oracle is the hardest column, where most LLM-generated SQL breaks on Oracle-specific rules before even running.
- Unlike the single-shot model baselines, schemagate uses schema retrieval (the model only sees needed tables) plus one round of Oracle error-message feedback; first-attempt alone scores 63.69%.
- Most of the gain came from two Oracle rules in the prompt: no AS before table aliases and quoting bare DATE/NUMBER column names — these caused 651 of 694 first-run failures.
- Apache-2.0 open source with predictions, evaluator output, and a reproducible GitHub Actions workflow; note the run uses November-revised gold answers while model baselines haven't been re-run.
More from coding & agent
- Viktor 称其编码 agent 每工程师周合并 PR 从 20 涨到 195 — aakashgupta · 2026-11-25
- 工程师复盘:让自主 agent 引擎无人值守跑通一夜有多难 — rseroter · 2026-11-25
- Pin and Hash Your Config So Any Changed Setting Shows Up as a Readable Diff — petrusenko_max · 2026-11-25
- Dev uses ChatGPT to build an app and kill a $12/mo mandatory embroidery subscription — strickvl · 2026-11-25
- Cognition's Devin Bots lead agent teams: from firmware to thousands of merged PRs weekly — marvinvonhagen · 2026-11-25
- Weight-space micromachines patch frozen LLMs, lifting Qwen3-0.6B benchmark scores — DimitrisPapail · 2026-11-25