3 of 3 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 0 have no contract verdict; 3 failures of our instrument; 0 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.00172.json · badge: /api/ran/1911.00172.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 |
|---|---|---|
| neulab/knn-transformers | extension (classifier label) classifier basis: classifier_2025 |
3 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| get_dstore_path | Ran ran; our contract draft was wrong, not the code |
neulab/knn-transformers/knnlm.py code served (permissive licence) · get_code("05520f6527f04bde") 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_index_path | Ran ran; our contract draft was wrong, not the code |
neulab/knn-transformers/knnlm.py code served (permissive licence) · get_code("918cf1d7f24a77f5") 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_members_path | Ran ran; our contract draft was wrong, not the code |
neulab/knn-transformers/retomaton.py code served (permissive licence) · get_code("5b87ede004fa49b0") 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.
|
Of 3 samples lifted from this paper's linked repositories, 3 carry a function identity and 0 do not. Of the 3 distinct functions with an identity, 3 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 3 later) and 0 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_dstore_path | 4 other papers 4 later · 1 only as an assembly brick |
2010.00710 (2020-10) Nearest Neighbor Machine Translation |
2201.12431 (2022-01) Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval 2402.17840 (2024-02) Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems and 1 more not named here |
| get_index_path | 4 other papers 4 later · 1 only as an assembly brick |
2010.00710 (2020-10) Nearest Neighbor Machine Translation |
2201.12431 (2022-01) Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval 2402.17840 (2024-02) Follow My Instruction and Spill the Beans: Scalable Data Extraction from Retrieval-Augmented Generation Systems and 1 more not named here |
| get_members_path | 1 other paper 1 later |
2201.12431 (2022-01) Neuro-Symbolic Language Modeling with Automaton-augmented Retrieval |
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.
We introduce $k$NN-LMs, which extend a pre-trained neural language model (LM) by linearly interpolating it with a $k$-nearest neighbors ($k$NN) model. The nearest neighbors are computed according to distance in the pre-trained LM embedding space, and can be drawn from any text collection, including the original LM training data. Applying this augmentation to a strong Wikitext-103 LM, with neighbors drawn from the original training set, our $k$NN-LM achieves a new state-of-the-art perplexity of 15.79 - a 2.9 point improvement with no additional training. We also show that this approach has implications for efficiently scaling up to larger training sets and allows for effective domain adaptation, by simply varying the nearest neighbor datastore, again without further training. Qualitatively, the model is particularly helpful in predicting rare patterns, such as factual knowledge. Together, these results strongly suggest that learning similarity between sequences of text is easier than predicting the next word, and that nearest neighbor search is an effective approach for language modeling in the long tail.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("1911.00172")
get_code_for_paper("1911.00172")
have("1911.00172")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/1911.00172.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/1911.00172)
Connect an agent — have() is free.