6 of 6 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, 3 violated it and 0 have no contract verdict; 3 failures of our instrument; 0 no recorded run); 1 of them was also run on the host, not in the jail, by the peer-agreement lane that set its level, 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/2310.10638.json · badge: /api/ran/2310.10638.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 |
|---|---|---|
| swj0419/in-context-pretraining | canonical (classifier label) classifier basis: classifier_2025 |
3 ran · 0 no recorded run |
| copy not recorded | community not in the paper's declared repositories |
3 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| divisible_by | Ran ran, violated the contract we drafted |
this paper's copy was not recorded; identical code first harvested from lucidrains/retro-pytorch pointer only · get_code("3fab84a765886ea0") How it ranThe body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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. |
| default | Ran ran, violated the contract we drafted |
this paper's copy was not recorded; identical code first harvested from ThomasMrY/VCT pointer only; the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("60fff7c3c400d7ff") How it ranThe body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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. |
| exists | Ran ran, violated the contract we drafted |
this paper's copy was not recorded; identical code first harvested from ThomasMrY/VCT pointer only; the stored copy get_code serves, from ThomasMrY/VCT, is pointer only (licence: NONE) · get_code("aa5486a3650902d8") How it ranThe body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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_documents_dir_path | Ran ran; our contract draft was wrong, not the code |
swj0419/in-context-pretraining/build_embeds/retro_z_data.py pointer only (licence: NONE) · get_code("cc5b621747eeafb0") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, swj0419/in-context-pretraining 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_normalized_tokenizer_name | Ran ran; our contract draft was wrong, not the code |
swj0419/in-context-pretraining/build_embeds/retro_z_data.py pointer only (licence: NONE) · get_code("e21098e7770c0ef8") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, swj0419/in-context-pretraining 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_source_dir_path | Ran ran; our contract draft was wrong, not the code |
swj0419/in-context-pretraining/build_embeds/retro_z_data.py pointer only (licence: NONE) · get_code("f05e1c39b431118a") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, swj0419/in-context-pretraining 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. |
Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 2 the same month, 3 later) and 3 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 |
|---|---|---|---|
| exists | 486 other papers 231 dated earlier, 15 the same month, 234 later, 4 same year, order not determinable, 2 undated · 78 only as an assembly brick |
1603.08155 (2016-03) Perceptual Losses for Real-Time Style Transfer and Super-Resolution |
1611.07004 (2016-11) Image-to-Image Translation with Conditional Adversarial Networks 1804.04637 (2018-04) EMBER: An Open Dataset for Training Static PE Malware Machine Learning Models and 483 more not named here |
| default | 163 other papers 99 dated earlier, 4 the same month, 58 later, 1 same year, order not determinable, 1 undated · 27 only as an assembly brick |
1603.08155 (2016-03) Perceptual Losses for Real-Time Style Transfer and Super-Resolution |
1810.00825 (2018-10) Set Transformer: A Framework for Attention-based Permutation-Invariant Neural Networks 1907.01470 (2019-07) Augmenting Self-attention with Persistent Memory and 160 more not named here |
| divisible_by | 2 other papers 1 dated earlier, 1 later |
2203.00555 (2022-03) DeepNet: Scaling Transformers to 1,000 Layers |
2402.17532 (2024-02) Retrieval is Accurate Generation |
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.
Large language models (LMs) are currently trained to predict tokens given document prefixes, enabling them to directly perform long-form generation and prompting-style tasks which can be reduced to document completion. Existing pretraining pipelines train LMs by concatenating random sets of short documents to create input contexts but the prior documents provide no signal for predicting the next document. We instead present In-Context Pretraining, a new approach where language models are pretrained on a sequence of related documents, thereby explicitly encouraging them to read and reason across document boundaries. We can do In-Context Pretraining by simply changing the document ordering so that each context contains related documents, and directly applying existing pretraining pipelines. However, this document sorting problem is challenging. There are billions of documents and we would like the sort to maximize contextual similarity for every document without repeating any data. To do this, we introduce approximate algorithms for finding related documents with efficient nearest neighbor search and constructing coherent input contexts with a graph traversal algorithm. Our experiments show In-Context Pretraining offers a simple and scalable approach to significantly enhance LMs'performance: we see notable improvements in tasks that require more complex contextual reasoning, including in-context learning (+8%), reading comprehension (+15%), faithfulness to previous contexts (+16%), long-context reasoning (+5%), and retrieval augmentation (+9%).
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2310.10638")
get_code_for_paper("2310.10638")
have("2310.10638")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2310.10638.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2310.10638)
Connect an agent — have() is free.