5 of 7 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 4 failures of our instrument; 2 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; 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/1911.04942.json · badge: /api/ran/1911.04942.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 |
|---|---|---|
| Microsoft/rat-sql | canonical (classifier label) classifier basis: census |
5 ran · 2 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| beam_search | Ran ran on a synthesized input |
Microsoft/rat-sql/ratsql/beam_search.py code served (permissive licence) · get_code("3c377f8696988de8") 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.
|
| clones | Ran ran; our contract draft was wrong, not the code |
Microsoft/rat-sql/ratsql/models/transformer.py pointer only (licence: MIT); the stored copy get_code serves, from dmirlab-group/sadga, is pointer only (licence: NONE) · get_code("ac13caa2ecfa34fe") 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 dmirlab-group/sadga, 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 | Ran ran; our contract draft was wrong, not the code |
Microsoft/rat-sql/ratsql/datasets/spider_lib/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 |
Microsoft/rat-sql/ratsql/datasets/spider_lib/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. |
| relative_attention_values | Ran ran; our contract draft was wrong, not the code |
Microsoft/rat-sql/ratsql/models/transformer.py pointer only (licence: MIT); the stored copy get_code serves, from DMIRLAB-Group/SADGA, is pointer only (licence: NONE) · get_code("b1447ba09556aed5") 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 DMIRLAB-Group/SADGA, 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. |
| relative_attention_logits | Not yet run unverified (harvested, no recorded run) |
Microsoft/rat-sql/ratsql/models/transformer.py pointer only (licence: MIT); the stored copy get_code serves, from DMIRLAB-Group/SADGA, is pointer only (licence: NONE) · get_code("ccc72a1f79c00ef3") 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 DMIRLAB-Group/SADGA, 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. No invocation recorded. |
| tokenize | Not yet run unverified (harvested, no recorded run) |
Microsoft/rat-sql/ratsql/datasets/spider_lib/process_sql.py code served (permissive licence) · get_code("a906f5de1f5971b0") How it ranno invocation recorded. |
Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 6 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 6 later) and 1 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 |
|---|---|---|---|
| get_schema_from_json | 13 other papers 13 later |
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 2204.11454 (2022-04) Natural Language to Code Translation with Execution and 10 more not named here |
| get_schema | 11 other papers 11 later |
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 2204.11454 (2022-04) Natural Language to Code Translation with Execution and 8 more not named here |
| tokenize | 10 other papers 10 later |
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 2204.11454 (2022-04) Natural Language to Code Translation with Execution and 7 more not named here |
| clones | 3 other papers 3 later |
2111.00653 (2021-11) SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL |
2306.14256 (2023-06) A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-Attention 2402.17144 (2024-02) Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translation |
| relative_attention_logits | 3 other papers 3 later |
2111.00653 (2021-11) SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL |
2306.14256 (2023-06) A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-Attention 2402.17144 (2024-02) Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translation |
| relative_attention_values | 3 other papers 3 later |
2111.00653 (2021-11) SADGA: Structure-Aware Dual Graph Aggregation Network for Text-to-SQL |
2306.14256 (2023-06) A Multilingual Translator to SQL with Database Schema Pruning to Improve Self-Attention 2402.17144 (2024-02) Metasql: A Generate-then-Rank Framework for Natural Language to SQL Translation |
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.
When translating natural language questions into SQL queries to answer questions from a database, contemporary semantic parsing models struggle to generalize to unseen database schemas. The generalization challenge lies in (a) encoding the database relations in an accessible way for the semantic parser, and (b) modeling alignment between database columns and their mentions in a given query. We present a unified framework, based on the relation-aware self-attention mechanism, to address schema encoding, schema linking, and feature representation within a text-to-SQL encoder. On the challenging Spider dataset this framework boosts the exact match accuracy to 57.2%, surpassing its best counterparts by 8.7% absolute improvement. Further augmented with BERT, it achieves the new state-of-the-art performance of 65.6% on the Spider leaderboard. In addition, we observe qualitative improvements in the model's understanding of schema linking and alignment. Our implementation will be open-sourced at https://github.com/Microsoft/rat-sql.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1911.04942")
get_code_for_paper("1911.04942")
have("1911.04942")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/1911.04942.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/1911.04942)
Connect an agent — have() is free.