{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/code/condition-has-sql","entry":"condition_has_sql","source":"Syntology graph, per-sample; not an archive number","read_at":"2026-09-24T18:15:14+00:00","claim":"Names are grouped by exact entry-name string. Same-named routines are NOT asserted to be equivalent; 'ran' means executed on a synthesized fixture, not correctness. n_samples_ran = sum of by_status over every status except 'unverified' (ran_draft_wrong and ran_fixture are failures of Syntology's instrument, not of the code); n_papers_ran = papers with at least one such sample.","status_vocabulary":{"ran_honours":"ran, honoured the contract we drafted","ran_violates":"ran, violated the contract we drafted","ran_draft_wrong":"ran; our contract draft was wrong, not the code","ran_fixture":"ran; our fixture could not drive it","ran":"ran on a synthesized input","unverified":"unverified (harvested, no recorded run)"},"n_papers":12,"n_papers_ran":12,"units":"n_samples, n_samples_ran, n_samples_fingerprinted and by_status count distinct code bodies (code_sha256); n_places and n_places_pointer_only count places, one per (paper, code body) pair, which is also the unit of the samples list","n_samples":1,"n_samples_ran":1,"n_samples_fingerprinted":0,"n_places":12,"n_places_pointer_only":4,"by_status":{"ran_honours":0,"ran_violates":1,"ran_draft_wrong":0,"ran_fixture":0,"ran":0,"unverified":0},"syntology":{"atlas_url":null,"mcp":null,"mcp_per_sample":{"tool":"get_code","arguments_in":"samples[].mcp_get_code"},"developers":"https://syntology.ai/developers"},"samples":[{"arxiv_id":"2505.14305","paper":"/paper/jolt-sql-joint-loss-tuning-of-text-to-sql","title":"JOLT-SQL: Joint Loss Tuning of Text-to-SQL with Confusion-aware Noisy Schema Sampling","date":"2025-05-20","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"Songjw133/JOLT-SQL","path":"test_suite_sql_eval/evaluation.py","file_url":"https://github.com/Songjw133/JOLT-SQL/blob/HEAD/test_suite_sql_eval/evaluation.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2408.07930","paper":"/paper/mag-sql-multi-agent-generative-approach-with","title":"MAG-SQL: Multi-Agent Generative Approach with Soft Schema Linking and Iterative Sub-SQL Refinement for Text-to-SQL","date":"2024-08-15","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"LancelotXWX/MAG-SQL","path":"evaluation/evaluation_spider.py","file_url":"https://github.com/LancelotXWX/MAG-SQL/blob/HEAD/evaluation/evaluation_spider.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2310.17342","paper":"/paper/act-sql-in-context-learning-for-text-to-sql","title":"ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought","date":"2023-10-26","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"x-lance/text2sql-gpt","path":"eval/evaluation.py","file_url":"https://github.com/x-lance/text2sql-gpt/blob/HEAD/eval/evaluation.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2305.09645","paper":"/paper/structgpt-a-general-framework-for-large","title":"StructGPT: A General Framework for Large Language Model to Reason over Structured Data","date":"2023-05-16","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"rucaibox/structgpt","path":"evaluate_for_spider.py","file_url":"https://github.com/rucaibox/structgpt/blob/HEAD/evaluate_for_spider.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2303.13547","paper":"/paper/a-comprehensive-evaluation-of-chatgpt-s-zero","title":"A comprehensive evaluation of ChatGPT's zero-shot Text-to-SQL capability","date":"2023-03-12","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":null,"path":"","file_url":null,"status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2204.11454","paper":"/paper/natural-language-to-code-translation-with","title":"Natural Language to Code Translation with Execution","date":"2022-04-25","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"facebookresearch/mbr-exec","path":"utils_sql.py","file_url":"https://github.com/facebookresearch/mbr-exec/blob/HEAD/utils_sql.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2106.01093","paper":"/paper/lgesql-line-graph-enhanced-text-to-sql-model","title":"LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations","date":"2021-06-02","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"rhythmcao/text2sql-lgesql","path":"evaluation.py","file_url":"https://github.com/rhythmcao/text2sql-lgesql/blob/HEAD/evaluation.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2010.02840","paper":"/paper/semantic-evaluation-for-text-to-sql-with","title":"Semantic Evaluation for Text-to-SQL with Distilled Test Suites","date":"2020-10-06","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":null,"path":"","file_url":null,"status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"1906.02285","paper":"/paper/sparc-cross-domain-semantic-parsing-in","title":"SParC: Cross-Domain Semantic Parsing in Context","date":"2019-06-05","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":null,"path":"","file_url":null,"status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":null,"inline_ok":false,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"1809.08887","paper":"/paper/spider-a-large-scale-human-labeled-dataset","title":"Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task","date":"2018-09-24","month_inferred_from_arxiv_id":null,"title_source":"archive","repo":"taoyds/spider","path":"evaluation.py","file_url":"https://github.com/taoyds/spider/blob/HEAD/evaluation.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2024.findings-acl.326","paper":null,"title":"arXiv:2024.findings-acl.326","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"dscc-admin-ch/statbot.swiss","path":"src/evaluation.py","file_url":"https://github.com/dscc-admin-ch/statbot.swiss/blob/HEAD/src/evaluation.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Unlicense","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}},{"arxiv_id":"2020.emnlp-main.564","paper":null,"title":"arXiv:2020.emnlp-main.564","date":null,"month_inferred_from_arxiv_id":null,"title_source":null,"repo":"WING-NUS/slsql","path":"model/evaluation.py","file_url":"https://github.com/WING-NUS/slsql/blob/HEAD/model/evaluation.py","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"code_sha256_prefix":"954c76e256cc7220","mcp_get_code":{"code_sha256":"954c76e256cc7220"}}]}