Wei Wang, Peng Wang, Jia Chen, Yanghua Xiao, Bo Xu, Jie Shi, Jiaqing Liang, Xi Cao
17 of 18 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 1 honoured the contract we drafted, 3 violated it and 6 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-24; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.
"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2025.emnlp-main.178.json · badge: /api/ran/2025.emnlp-main.178.svg
Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.
| Repository | Role | Ran |
|---|---|---|
| jieshi10/orm-sql | canonical (classifier label) classifier basis: census |
17 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| build_sql | Ran ran on a synthesized input |
jieshi10/orm-sql/sql_utils_2.py code served (permissive licence) · get_code("a645f0787e9b9c4c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| condition_has_like | Ran ran, violated the contract we drafted |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/evaluation_2.py code served (permissive licence) · get_code("8231e3fdffa9c8ee") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| condition_has_or | Ran ran, violated the contract we drafted |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/evaluation_2.py code served (permissive licence) · get_code("f2d76234528d3b57") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| convert_fk_index | Ran ran, honoured the contract we drafted |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/get_tables_2.py code served (permissive licence) · get_code("64dd3849a251a1bf") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 2, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| convert_sqlite_type_to_postgres_type | Ran ran on a synthesized input |
jieshi10/orm-sql/bird_code/export_bird_db_to_mssql.py code served (permissive licence) · get_code("4628ebe5268ffb3c") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| convert_sqlite_type_to_postgres_type | Ran ran on a synthesized input |
jieshi10/orm-sql/bird_code/export_bird_db_to_mysql.py code served (permissive licence) · get_code("8245252ef45fa75e") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| dump_db_json_schema | Ran ran; our contract draft was wrong, not the code |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/get_tables_2.py code served (permissive licence) · get_code("992c7947d4eb2bb1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| dump_db_json_schema | Ran ran on a synthesized input |
jieshi10/orm-sql/sql_utils_2.py code served (permissive licence) · get_code("268aac9944c7d507") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| ensure_timeout | Ran ran on a synthesized input |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/evaluation_2.py code served (permissive licence) · get_code("9735063be27f84b8") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned function. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| extract_tables_from_sql | Ran ran on a synthesized input |
jieshi10/orm-sql/sql_utils_2.py code served (permissive licence) · get_code("a334f8582f1c13f5") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned set. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_schema | Ran ran; our contract draft was wrong, not the code |
jieshi10/orm-sql/process_sql.py code served (permissive licence) · get_code("0992d2a47ae733fa") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned dict. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| get_schema_from_json | Ran ran; our contract draft was wrong, not the code |
jieshi10/orm-sql/process_sql.py pointer only (licence: MIT); the stored copy get_code serves, from ygan/NatSQL, is pointer only (licence: NONE) · get_code("c4dcaf29b663a364") How it ranThe body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from ygan/NatSQL, and GitHub detected no licence in that repository when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded. |
| join_tokens | Ran ran; our contract draft was wrong, not the code |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/parse.py code served (permissive licence) · get_code("2178b95c919ae420") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| permute_tuple | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/exec_eval_2.py code served (permissive licence) · get_code("f23d6ff3772963bc") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| postprocess | Ran ran; our contract draft was wrong, not the code |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/parse.py code served (permissive licence) · get_code("58e472cff9780d63") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned str. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| quick_rej | Ran ran, violated the contract we drafted |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/exec_eval_2.py code served (permissive licence) · get_code("a40510ba6a37f798") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned bool, ndim 0, dtype family float, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| unorder_row | Ran ran; our contract draft was wrong, not the code |
jieshi10/orm-sql/benchmark/test-suite-sql-eval/exec_eval_2.py code served (permissive licence) · get_code("afc8ef89576ef2aa") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.
|
| tokenize | Not yet run unverified (harvested, no recorded run) |
jieshi10/orm-sql/process_sql.py code served (permissive licence) · get_code("a906f5de1f5971b0") How it ranno invocation recorded. |
Of 18 samples lifted from this paper's linked repositories, 18 carry a function identity and 0 do not. Of the 18 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 0 the same month, 1 later) and 6 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).
Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| condition_has_like | 14 other papers 12 dated earlier, 2 same year, order not determinable |
1809.08887 (2018-09) Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task |
1906.02285 (2019-06) SParC: Cross-Domain Semantic Parsing in Context 2020.emnlp-main.564 (2020 (year only)) Re-examining the Role of Schema Linking in Text-to-SQL and 11 more not named here |
| condition_has_or | 14 other papers 12 dated earlier, 2 same year, order not determinable |
1809.08887 (2018-09) Spider: A Large-Scale Human-Labeled Dataset for Complex and Cross-Domain Semantic Parsing and Text-to-SQL Task |
1906.02285 (2019-06) SParC: Cross-Domain Semantic Parsing in Context 2020.emnlp-main.564 (2020 (year only)) Re-examining the Role of Schema Linking in Text-to-SQL and 11 more not named here |
| get_schema_from_json | 13 other papers 10 dated earlier, 1 later, 2 same year, order not determinable |
1911.04942 (2019-11) RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers |
2020.emnlp-main.564 (2020 (year only)) Re-examining the Role of Schema Linking in Text-to-SQL 2106.01093 (2021-06) LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations and 10 more not named here |
| get_schema | 11 other papers 9 dated earlier, 2 same year, order not determinable |
1911.04942 (2019-11) RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers |
2020.emnlp-main.564 (2020 (year only)) Re-examining the Role of Schema Linking in Text-to-SQL 2106.01093 (2021-06) LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations and 8 more not named here |
| tokenize | 10 other papers 9 dated earlier, 1 same year, order not determinable |
1911.04942 (2019-11) RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parsers |
2020.emnlp-main.564 (2020 (year only)) Re-examining the Role of Schema Linking in Text-to-SQL 2106.01093 (2021-06) LGESQL: Line Graph Enhanced Text-to-SQL Model with Mixed Local and Non-Local Relations and 7 more not named here |
| permute_tuple | 6 other papers 4 dated earlier, 2 same year, order not determinable |
2302.08468 (2023-02) LEVER: Learning to Verify Language-to-Code Generation with Execution |
2310.17342 (2023-10) ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought 2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs and 3 more not named here |
| quick_rej | 6 other papers 4 dated earlier, 2 same year, order not determinable |
2302.08468 (2023-02) LEVER: Learning to Verify Language-to-Code Generation with Execution |
2310.17342 (2023-10) ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought 2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs and 3 more not named here |
| unorder_row | 6 other papers 4 dated earlier, 2 same year, order not determinable |
2302.08468 (2023-02) LEVER: Learning to Verify Language-to-Code Generation with Execution |
2310.17342 (2023-10) ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought 2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs and 3 more not named here |
| join_tokens | 5 other papers 4 dated earlier, 1 same year, order not determinable |
2302.08468 (2023-02) LEVER: Learning to Verify Language-to-Code Generation with Execution |
2310.17342 (2023-10) ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought 2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs and 2 more not named here |
| postprocess | 5 other papers 4 dated earlier, 1 same year, order not determinable |
2302.08468 (2023-02) LEVER: Learning to Verify Language-to-Code Generation with Execution |
2310.17342 (2023-10) ACT-SQL: In-Context Learning for Text-to-SQL with Automatically-Generated Chain-of-Thought 2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs and 2 more not named here |
| convert_fk_index | 2 other papers 2 dated earlier |
2306.08891 (2023-06) Interleaving Pre-Trained Language Models and Large Language Models for Zero-Shot NL2SQL Generation |
2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs |
| dump_db_json_schema | 1 other paper 1 dated earlier |
2406.12288 (2024-06) An Investigation of Neuron Activation as a Unified Lens to Explain Chain-of-Thought Eliciting Arithmetic Reasoning of LLMs |
Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Text-to-SQL is the task of translating natural language questions into SQL queries based on relational databases. Different databases implement their own SQL dialects, leading to variations in syntax. As a result, SQL queries designed for one database may not execute properly in another, creating a dialect gap. Existing Text-to-SQL research primarily focuses on specific database systems, limiting adaptability to different dialects. This paper proposes a novel adaptive framework called Dialect-SQL, which employs Object Relational Mapping (ORM) code as an intermediate language to bridge this gap. Given a question, we guide Large Language Models (LLMs) to first generate ORM code, which is then parsed into SQL queries targeted for specific databases. However, there is a lack of high-quality Textto-Code datasets that enable LLMs to effectively generate ORM code. To address this issue, we propose a bootstrapping approach to synthesize ORM code, where verified ORM code is iteratively integrated into a demonstration pool that serves as in-context examples for ORM code generation. Our experiments demonstrate that Dialect-SQL significantly enhances dialect adaptability, outperforming traditional methods that generate SQL queries directly. Our code and data are released at https://github.com/jieshi10/orm-sql.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2025.emnlp-main.178")
get_code_for_paper("2025.emnlp-main.178")
have("2025.emnlp-main.178")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2025.emnlp-main.178.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2025.emnlp-main.178)
Connect an agent — have() is free.