Jian Guo, Chengjin Xu, Peixian Ma, Xialie Zhuang, Xuhui Jiang, Ran Chen
21 of 22 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, 4 violated it and 9 have no contract verdict; 7 failures of our instrument; 1 no recorded run), measured 2026-11-23; 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/2504.08600.json · badge: /api/ran/2504.08600.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 |
|---|---|---|
| IDEA-FinAI/SQL-R1 | canonical (classifier label) classifier basis not recorded on the link |
17 ran · 1 no recorded run |
| DataArcTech/SQL-R1 | canonical (classifier label) classifier basis: classifier_2025 |
4 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| compare_sql | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/evaluation_bird_post.py code served (permissive licence) · get_code("0d3763ae4f97d43c") 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, 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.
|
| compare_sql_wrapper | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/evaluation_bird_post.py code served (permissive licence) · get_code("91f2db0ec7a2841f") 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, 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.
|
| condition_has_like | Ran ran, violated the contract we drafted |
IDEA-FinAI/SQL-R1/src/evaluation_spider.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 |
IDEA-FinAI/SQL-R1/src/evaluation_spider.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.
|
| execute_query | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/data_preprocess/nl2sql_synsql_nonvalue.py code served (permissive licence) · get_code("6ad9f49ae16cf31d") 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 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.
|
| execute_sql | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/evaluation_bird_post.py code served (permissive licence) · get_code("490449c025d402b2") 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, 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.
|
| format_sql | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/evaluation_spider_post.py code served (permissive licence) · get_code("15b496c5d27aa7dc") 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.
|
| get_schema | Ran ran; our contract draft was wrong, not the code |
IDEA-FinAI/SQL-R1/src/evaluations/spider1_evaluations/src/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 |
IDEA-FinAI/SQL-R1/src/evaluations/spider1_evaluations/src/process_sql.py pointer only (licence: Apache-2.0); 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 (Apache-2.0), 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. |
| get_schema_slot | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/data_preprocess/nl2sql_synsql_nonvalue.py code served (permissive licence) · get_code("5e51a446415a6550") 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.
|
| get_table_names | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/data_preprocess/nl2sql_synsql_nonvalue.py code served (permissive licence) · get_code("73750dcbdb55d522") 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.
|
| obtain_db_ddls | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/utils/prepare_input_seq.py code served (permissive licence) · get_code("062dbe705bf0ea9b") 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.
|
| parse_response | Ran ran; our contract draft was wrong, not the code |
DataArcTech/SQL-R1/src/inference.py code served (permissive licence) · get_code("4127f7104f276d1b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) 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, violated the contract we drafted |
DataArcTech/SQL-R1/src/evaluations/spider1_evaluations/src/exec_eval.py code served (permissive licence) · get_code("ea2e45a6df8f96db") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple, ndim 1, 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.
|
| quick_rej | Ran ran, violated the contract we drafted |
DataArcTech/SQL-R1/src/evaluations/spider1_evaluations/src/exec_eval.py code served (permissive licence) · get_code("dcd3006254e3d81a") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 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.
|
| read_data | Ran ran; our contract draft was wrong, not the code |
IDEA-FinAI/SQL-R1/src/evaluation_spider.py code served (permissive licence) · get_code("63fda278334d1f2e") 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.
|
| remove_sql_comments | Ran ran; our contract draft was wrong, not the code |
IDEA-FinAI/SQL-R1/src/utils/prepare_input_seq.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from RUCKBReasoning/OmniSQL, is pointer only (licence: NONE) · get_code("f49ea7fd7f652e43") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from RUCKBReasoning/OmniSQL, 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. |
| tokenize | Ran ran on a synthesized input |
IDEA-FinAI/SQL-R1/src/evaluations/spider1_evaluations/src/process_sql.py code served (permissive licence) · get_code("b72b76d185b39d84") 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.
|
| union_tensor_dict | Ran ran; our contract draft was wrong, not the code |
IDEA-FinAI/SQL-R1/verl/protocol.py code served (permissive licence) · get_code("21331a58f93375e4") 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 TensorDict. 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.
|
| unorder_row | Ran ran, honoured the contract we drafted |
DataArcTech/SQL-R1/src/evaluations/spider1_evaluations/src/exec_eval.py code served (permissive licence) · get_code("fb60a4c142ce9cb2") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned tuple, 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.
|
| unpad_dataproto | Ran ran; our contract draft was wrong, not the code |
IDEA-FinAI/SQL-R1/verl/protocol.py code served (permissive licence) · get_code("25f0ea3f460f6ce1") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned DataProto. 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_weight_loader | Not yet run unverified (harvested, no recorded run) |
IDEA-FinAI/SQL-R1/verl/models/weight_loader_registry.py code served (permissive licence) · get_code("919cf310ad4c189a") How it ranno invocation recorded. |
Of 22 samples lifted from this paper's linked repositories, 22 carry a function identity and 0 do not. Of the 22 distinct functions with an identity, 12 are also present in other papers whose code we hold (12 with at least one paper dated earlier, 3 the same month, 10 later) and 10 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 |
|---|---|---|---|
| unpad_dataproto | 89 other papers 7 dated earlier, 4 the same month, 74 later, 1 same year, order not determinable, 3 undated |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.21236 (2024-10) Flaming-hot Initiation with Regular Execution Sampling for Large Language Models 2025.findings-emnlp.1015 (2025 (year only)) MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning and 86 more not named here |
| union_tensor_dict | 64 other papers 7 dated earlier, 4 the same month, 49 later, 1 same year, order not determinable, 3 undated · 4 only as an assembly brick |
2409.19256 (2024-09) HybridFlow: A Flexible and Efficient RLHF Framework |
2410.21236 (2024-10) Flaming-hot Initiation with Regular Execution Sampling for Large Language Models 2025.findings-emnlp.1015 (2025 (year only)) MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning and 61 more not named here |
| get_weight_loader | 20 other papers 3 dated earlier, 2 the same month, 13 later, 1 same year, order not determinable, 1 undated |
2410.21236 (2024-10) Flaming-hot Initiation with Regular Execution Sampling for Large Language Models |
2025.findings-emnlp.1015 (2025 (year only)) MT-R1-Zero: Advancing LLM-based Machine Translation via R1-Zero-like Reinforcement Learning 2502.14768 (2025-02) Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learning and 17 more not named here |
| condition_has_like | 14 other papers 12 dated earlier, 1 later, 1 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, 1 later, 1 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, 2 later, 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 10 more not named here |
| get_schema | 11 other papers 9 dated earlier, 1 later, 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 8 more not named here |
| permute_tuple | 6 other papers 4 dated earlier, 1 later, 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 3 more not named here |
| quick_rej | 6 other papers 4 dated earlier, 1 later, 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 3 more not named here |
| unorder_row | 6 other papers 4 dated earlier, 1 later, 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 3 more not named here |
| read_data | 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 |
|
| remove_sql_comments | 1 other paper 1 dated earlier |
2503.02240 (2025-03) OmniSQL: Synthesizing High-quality Text-to-SQL Data at Scale |
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-23.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Natural Language to SQL (NL2SQL) enables intuitive interactions with databases by transforming natural language queries into structured SQL statements. Despite recent advancements in enhancing human-computer interaction within database applications, significant challenges persist, particularly regarding the reasoning performance in complex scenarios involving multi-table joins and nested queries. Current methodologies primarily utilize supervised fine-tuning (SFT) to train the NL2SQL model, which may limit adaptability and interpretability in new environments (e.g., finance and healthcare). In order to enhance the reasoning performance of the NL2SQL model in the above complex situations, we introduce SQL-R1, a novel NL2SQL reasoning model trained by the reinforcement learning (RL) algorithms. We design a specialized RL-based reward function tailored for NL2SQL tasks and discussed the impact of cold start and synthetic data on the effectiveness of intensive training. In addition, we achieve competitive accuracy using only a tiny amount of synthetic NL2SQL data for augmented training and further explore data engineering for RL. In existing experiments, SQL-R1 achieves execution accuracy of 88.6% and 67.1% on the benchmark Spider and BIRD, respectively. The code is available at https://github.com/IDEA-FinAI/SQL-R1.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2504.08600")
get_code_for_paper("2504.08600")
have("2504.08600")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2504.08600.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2504.08600)
Connect an agent — have() is free.