Min Peng, Jinwang Song, Hongying Zan, Lingling Mu, Kunli Zhang, Yingjie Han, Haobo Hua
We lifted 18 functions out of this paper's own repositories and ran 16 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.
| Repository | Role | Ran |
|---|---|---|
| Songjw133/JOLT-SQL | canonical | 16 of 18 |
| Function | Status | Where it lives |
|---|---|---|
| acc | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/evaluate_classical.py code served (permissive licence) · get_code("bd001f76894a9867") |
| condition_has_like | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/evaluation.py code served (permissive licence) · get_code("8231e3fdffa9c8ee") |
| condition_has_or | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/evaluation.py code served (permissive licence) · get_code("f2d76234528d3b57") |
| condition_has_sql | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/evaluation.py code served (permissive licence) · get_code("954c76e256cc7220") |
| find_subsequence | Ran | Songjw133/JOLT-SQL/JOLT_spider_v1.py code served (permissive licence) · get_code("0e73074433136ad3") |
| get_cursor_from_path | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/exec_subprocess.py code served (permissive licence) · get_code("2f701949fb88a0d5") |
| get_schema | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/process_sql.py code served (permissive licence) · get_code("0992d2a47ae733fa") |
| get_schema_from_json | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/process_sql.py code served (permissive licence) · get_code("c4dcaf29b663a364") |
| join_tokens | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/parse.py code served (permissive licence) · get_code("2178b95c919ae420") |
| load_predictions | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/evaluate_classical.py code served (permissive licence) · get_code("c64a2627f38e10a8") |
| permute_tuple | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/exec_eval.py code served (permissive licence) · get_code("f23d6ff3772963bc") |
| postprocess | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/parse.py code served (permissive licence) · get_code("58e472cff9780d63") |
| quick_rej | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/exec_eval.py code served (permissive licence) · get_code("a40510ba6a37f798") |
| replace_cur_year | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/exec_subprocess.py code served (permissive licence) · get_code("d7bcb03a0faa63ed") |
| save_pristine_base_model_state | Ran | Songjw133/JOLT-SQL/utils.py code served (permissive licence) · get_code("a79a9b45387beff9") |
| unorder_row | Ran | Songjw133/JOLT-SQL/test_suite_sql_eval/exec_eval.py code served (permissive licence) · get_code("afc8ef89576ef2aa") |
| getDataLoader | Not yet run | Songjw133/JOLT-SQL/JOLT_spider_v1.py code served (permissive licence) · get_code("3426fdab59498b56") |
| tokenize | Not yet run | Songjw133/JOLT-SQL/test_suite_sql_eval/process_sql.py code served (permissive licence) · get_code("a906f5de1f5971b0") |
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Text-to-SQL, which maps natural language to SQL queries, has benefited greatly from recent advances in Large Language Models (LLMs). While LLMs offer various paradigms for this task, including prompting and supervised fine-tuning (SFT), SFT approaches still face challenges such as complex multistage pipelines and poor robustness to noisy schema information. To address these limitations, we present JOLT-SQL, a streamlined single-stage SFT framework that jointly optimizes schema linking and SQL generation via a unified loss. JOLT-SQL employs discriminative schema linking, enhanced by local bidirectional attention, alongside a confusion-aware noisy schema sampling strategy with selective attention to improve robustness under noisy schema conditions. Experiments on the Spider and BIRD benchmarks demonstrate that JOLT-SQL achieves state-of-the-art execution accuracy among comparable-size open-source models, while significantly improving both training and inference efficiency. Our code is available at https://github.com/Songjw133/JOLT-SQL.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2505.14305")
get_code_for_paper("2505.14305")
have("2505.14305")
Connect an agent — have() is free.