Star 历史趋势
数据来源: GitHub API · 生成自 Stargazers.cn
README.md

DeepEye-SQL

SIGMOD 2026 · Software-Engineering-Inspired Text-to-SQL

Homepage Paper Task Benchmarks License

Homepage · Paper · Results · Architecture · Runbooks · Citation


Overview

DeepEye-SQL treats Text-to-SQL as a software engineering process rather than a single-shot generation task. It decomposes the problem into grounding, schema linking, implementation, debugging, and final selection, then coordinates those stages with structured snapshots and execution-aware checks.

The repository contains the research pipeline used for our SIGMOD 2026 paper, with support for BIRD, Spider, and Spider2. From-scratch reproduction instructions live in the dataset-specific runbooks under docs/.

Highlights

CapabilityWhat it provides
Software-engineering pipelineA staged workflow for grounding, linking, generation, revision, and selection.
Dynamic few-shot retrievalAutomatic training-set indexing with LLM-based question/SQL masking and preliminary-SQL-guided retrieval.
Checker-based SQL revisionSyntax, execution, and result-level repair before final selection.
Execution-aware selectionCandidate SQLs are compared with database feedback instead of relying only on model preference.
Structured snapshotsLong-running experiments are resumable, inspectable, and exportable.

News

DateUpdate
2026-07-10Qwen3.6-27B achieves 78.4 EX on the BIRD test set.
2026-07-02Added dynamic few-shot retrieval, model-organized config templates, unified dataset wrappers, and public runbooks for BIRD, Spider, and Spider2.

Results

BenchmarkMetricScoreModelPublic Output
BIRD-DevEX74.5Qwen3.6-27Bprediction JSON
BIRD-TestEX78.4Qwen3.6-27Bnot released
Spider2-Liteofficial score38.2DeepSeek-R1outputs
Spider2-Snowofficial score50.5DeepSeek-R1outputs

Architecture

DeepEye-SQL architecture

Runbooks

The root README is intentionally kept as a project overview. Use the runbooks for setup, config edits, dataset preparation, execution commands, inspection, export, and evaluation.

DatasetRunbookTemplate families
BIRDdocs/bird.mdconfig/template/*/config-bird-dev.toml, config-bird-test.toml
Spiderdocs/spider.mdconfig/template/*/config-spider-test.toml
Spider2docs/spider2.mdconfig/template/*/config-spider2-lite.toml, config-spider2-snow.toml

Tracked config templates are grouped by model under config/template. Local experiment configs should be copied under config/local/<model>/, which is ignored by git.

Repository Map

PathPurpose
app/Core config, dataset, database, LLM, prompt, service, vector index, and pipeline code.
app/few_shot/Dynamic few-shot masking, indexing, retrieval, and runtime preparation.
config/template/Public model-organized TOML templates.
docs/Dataset-specific runbooks for fresh-checkout reproduction.
runner/Python entry points for individual stages, export, inspection, and evaluation.
script/Shell wrappers for dataset-level runs.
results/Released predictions and benchmark outputs.
workspace/Generated local snapshots and intermediate outputs. Ignored by git.

Citation

If you find DeepEye-SQL useful in your research, please cite:

Paper: https://doi.org/10.1145/3802035

@article{10.1145/3802035,
author = {Li, Boyan and Chen, Chong and Xue, Zhujun and Mei, Yinan and Luo, Yuyu},
title = {DeepEye-SQL: A Software-Engineering-Inspired Text-to-SQL Framework},
year = {2026},
issue_date = {June 2026},
publisher = {Association for Computing Machinery},
address = {New York, NY, USA},
volume = {4},
number = {3},
url = {https://doi.org/10.1145/3802035},
doi = {10.1145/3802035},
journal = {Proc. ACM Manag. Data},
month = may,
articleno = {158},
numpages = {28},
keywords = {text-to-sql, databases, large language models}
}

License

This project is released under the MIT License. See LICENSE.

Acknowledgement

DeepEye-SQL builds on public benchmark ecosystems and OpenAI-compatible LLM serving stacks. We thank the maintainers of Spider, BIRD, Spider2, ChromaDB, OpenAI-compatible serving frameworks, and the broader Text-to-SQL research community.

关于 About

🔥[SIGMOD'26] Official repository for the paper "DeepEye-SQL: A Software-Engineering-Inspired Text-to-SQL Framework"

语言 Languages

Python97.0%
Shell3.0%

提交活跃度 Commit Activity

代码提交热力图
过去 52 周的开发活跃度
111
Total Commits
峰值: 34次/周
Less
More

核心贡献者 Contributors