13 of 14 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, 2 violated it and 0 have no contract verdict; 11 failures of our instrument; 1 no recorded run), measured 2026-11-22; 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/2407.12854.json · badge: /api/ran/2407.12854.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 |
|---|---|---|
| rulinshao/retrieval-scaling | canonical (classifier label) classifier basis: census |
13 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| add_embeddings | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
rulinshao/retrieval-scaling/contriever/passage_retrieval.py pointer only (licence: MIT); the stored copy get_code serves, from FenQQQ/Fusion-in-decoder, is pointer only (licence: NOASSERTION) · get_code("bc7a7a194c238080") 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 FenQQQ/Fusion-in-decoder, and GitHub could not classify the licence of that repository (NOASSERTION). 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. |
| check_below_lexical_overlap_threshold | Ran ran, violated the contract we drafted |
rulinshao/retrieval-scaling/src/decontamination.py code served (permissive licence) · get_code("ce1279ff0f9d0ad4") 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.
|
| check_endpoint | Ran ran, violated the contract we drafted |
rulinshao/retrieval-scaling/api/serve_main_node.py code served (permissive licence) · get_code("afaf6b8bca6e2795") 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.
|
| extract_answer | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/src/evaluate_perplexity.py code served (permissive licence) · get_code("290c5134d15244b3") 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.
|
| extract_running_endpoints | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/api/serve_main_node.py code served (permissive licence) · get_code("24e1876e4b2645ed") 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.
|
| generate_13word_grams | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/src/decontamination.py code served (permissive licence) · get_code("e199a8fd8e8c353f") 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_bm25_index_dir | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/src/index.py code served (permissive licence) · get_code("71b717cfe94bf7d2") 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_search_output_path | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/src/search.py code served (permissive licence) · get_code("ab7ba9276e2369aa") 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_sharded_passages | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/src/embed.py code served (permissive licence) · get_code("00dd34a32eb05634") 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.
|
| hydra_runner | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/src/hydra_runner.py code served (permissive licence) · get_code("5cbcb4692500af92") 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.
|
| max_contiguous_overlap | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
rulinshao/retrieval-scaling/src/decontamination.py code served (permissive licence) · get_code("87bbb67c9c88bea4") 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 int, ndim 0, dtype family int, 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.
|
| rerank_elements | Ran ran; our contract draft was wrong, not the code |
rulinshao/retrieval-scaling/api/serve_main_node.py code served (permissive licence) · get_code("d2a9c470a304b933") 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.
|
| split_data_into_chunks | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
rulinshao/retrieval-scaling/src/data.py code served (permissive licence) · get_code("7b2c46dc9de9bec4") 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.
|
| load_passages | Not yet run unverified (harvested, no recorded run) |
rulinshao/retrieval-scaling/src/data.py code served (permissive licence) · get_code("97e49e2086fde576") How it ranno invocation recorded. |
Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 2 are also present in other papers whose code we hold (2 with at least one paper dated earlier, 0 the same month, 2 later) and 12 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 |
|---|---|---|---|
| add_embeddings | 6 other papers 4 dated earlier, 2 later |
2012.04584 (2020-12) Distilling Knowledge from Reader to Retriever for Question Answering |
2311.09805 (2023-11) DocMath-Eval: Evaluating Math Reasoning Capabilities of LLMs in Understanding Long and Specialized Documents 2401.16979 (2024-01) Re3val: Reinforced and Reranked Generative Retrieval and 3 more not named here |
| hydra_runner | 2 other papers 1 dated earlier, 1 later |
2304.06795 (2023-04) Efficient Sequence Transduction by Jointly Predicting Tokens and Durations |
2025.naacl-long.298 (2025 (year only)) VoiceTextBlender: Augmenting Large Language Models with Speech Capabilities via Single-Stage Joint Speech-Text Supervised Fine-Tuning |
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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Scaling laws with respect to the amount of training data and the number of parameters allow us to predict the cost-benefit trade-offs of pretraining language models (LMs) in different configurations. In this paper, we consider another dimension of scaling: the amount of data available at inference time. Specifically, we find that increasing the size of the datastore used by a retrieval-based LM monotonically improves language modeling and several downstream tasks without obvious saturation, such that a smaller model augmented with a large datastore outperforms a larger LM-only model on knowledge-intensive tasks. By plotting compute-optimal scaling curves with varied datastore, model, and pretraining data sizes, we show that using larger datastores can significantly improve model performance for the same training compute budget. We carry out our study by constructing a 1.4 trillion-token datastore named MassiveDS, which is the largest and the most diverse open-sourced datastore for retrieval-based LMs to date, and designing an efficient pipeline for studying datastore scaling in a computationally accessible manner. Finally, we analyze the effect of improving the retriever, datastore quality filtering, and other design choices on our observed scaling trends. Overall, our results show that datastore size should be considered as an integral part of LM efficiency and performance trade-offs. To facilitate future research, we open-source our datastore and code at https://github.com/RulinShao/retrieval-scaling.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2407.12854")
get_code_for_paper("2407.12854")
have("2407.12854")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2407.12854.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2407.12854)
Connect an agent — have() is free.