Pasquale Minervini, Wei Liu, Yuxiang Wu, Piotr Miłoś, Szymon Tworkowski, Konrad Staniszewski, Yu Zhao, Yuanbin Qu
21 of 21 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; 5 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 15 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-22; 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/2402.13991.json · badge: /api/ran/2402.13991.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 |
|---|---|---|
| yuzhaouoe/pretraining-data-packing | canonical (classifier label) classifier basis: census |
21 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| repeat_kv | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
yuzhaouoe/pretraining-data-packing/llama_modeling.py code served (permissive licence) · get_code("30d7eec482ebf6b1") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 6, 5, 4) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-04T23:09:20Z). 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.
|
| apply_rotary_pos_emb | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
yuzhaouoe/pretraining-data-packing/llama_modeling.py code served (permissive licence) · get_code("f725bc2d76076485") 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 5, 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.
|
| data_collator | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/packing_dataset.py code served (permissive licence) · get_code("874a9519ebeb3c53") 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.
|
| estimate_total_batch_num | Ran ran, honoured the contract we drafted |
yuzhaouoe/pretraining-data-packing/save_offline_dataset.py code served (permissive licence) · get_code("eb90b0d7f1e2c692") 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.
|
| eval_generation_em | Ran ran, honoured the contract we drafted |
yuzhaouoe/pretraining-data-packing/evaluation/eval_utils.py code served (permissive licence) · get_code("d9243c078ceacce8") 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 float, 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.
|
| exact_match_score | Ran ran, violated the contract we drafted |
yuzhaouoe/pretraining-data-packing/evaluation/eval_utils.py code served (permissive licence) · get_code("efa3643614e9c5f5") 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.
|
| get_batch_dir_and_path | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/analysis/burstiness.py code served (permissive licence) · get_code("bb142953e9e84a14") 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.
|
| get_fragment_lens | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
yuzhaouoe/pretraining-data-packing/packing_dataset.py code served (permissive licence) · get_code("1bc433883369de22") 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. 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_offset_path | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/utils.py code served (permissive licence) · get_code("da105da73281cce5") 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_worker_id_and_iter_indices | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/packing_dataset.py code served (permissive licence) · get_code("2a6a0d112f2ef000") 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. 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.
|
| load_json | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/evaluation/fewshot.py pointer only (licence: MIT); the stored copy get_code serves, from gstoica27/Re-TACRED, is pointer only (licence: NONE) · get_code("813da56adc0dd787") 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 gstoica27/Re-TACRED, 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. |
| load_jsonl | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/evaluation/fewshot.py code served (permissive licence) · get_code("ad0a5228eb3d81f4") 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 ndarray, ndim 1, dtype family float, shape (3,) 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.
|
| load_offset | Ran ran, honoured the contract we drafted |
yuzhaouoe/pretraining-data-packing/utils.py code served (permissive licence) · get_code("11cde6e6bca04ca4") 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 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.
|
| load_pickle | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/utils.py code served (permissive licence) · get_code("b678e0cd3681e4cd") 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.
|
| metric_max_over_ground_truths | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/evaluation/eval_utils.py code served (permissive licence) · get_code("6829ceb72569fa12") 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 float, 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.
|
| normalise_pred | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/evaluation/fewshot.py code served (permissive licence) · get_code("9afac6122e0fd74e") 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.
|
| process_batch_attn | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/analysis/distraction.py code served (permissive licence) · get_code("137756758ba95a6a") 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 4, 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.
|
| rotate_half | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/llama_modeling.py code served (permissive licence) · get_code("b99eea6376d1e212") 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 Tensor, ndim 2, dtype family float, shape (2, 4) 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.
|
| save_data_collator | Ran ran; our contract draft was wrong, not the code |
yuzhaouoe/pretraining-data-packing/save_offline_dataset.py code served (permissive licence) · get_code("efbd9b87adf49321") 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.
|
| tokenize_one_item | Ran ran, honoured the contract we drafted |
yuzhaouoe/pretraining-data-packing/analysis/distraction.py code served (permissive licence) · get_code("b494dc24033bda53") 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 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.
|
| zipfian_fit | Ran ran, honoured the contract we drafted |
yuzhaouoe/pretraining-data-packing/analysis/burstiness.py code served (permissive licence) · get_code("92ed24e518eb48dc") 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 float64, ndim 0, 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.
|
Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 6 are also present in other papers whose code we hold (6 with at least one paper dated earlier, 5 the same month, 5 later) and 15 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 |
|---|---|---|---|
| rotate_half | 360 other papers 68 dated earlier, 25 the same month, 258 later, 6 same year, order not determinable, 3 undated · 30 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers 2302.13971 (2023-02) LLaMA: Open and Efficient Foundation Language Models and 357 more not named here |
| repeat_kv | 243 other papers 33 dated earlier, 19 the same month, 187 later, 2 same year, order not determinable, 2 undated · 22 only as an assembly brick |
1901.02860 (2019-01) Transformer-XL: Attentive Language Models Beyond a Fixed-Length Context |
2203.08913 (2022-03) Memorizing Transformers 2305.17888 (2023-05) LLM-QAT: Data-Free Quantization Aware Training for Large Language Models and 240 more not named here |
| apply_rotary_pos_emb | 83 other papers 19 dated earlier, 11 the same month, 51 later, 2 same year, order not determinable · 6 only as an assembly brick |
2306.15595 (2023-06) Extending Context Window of Large Language Models via Positional Interpolation |
2307.05695 (2023-07) ReLoRA: High-Rank Training Through Low-Rank Updates 2307.06945 (2023-07) In-context Autoencoder for Context Compression in a Large Language Model and 80 more not named here |
| exact_match_score | 56 other papers 43 dated earlier, 3 the same month, 10 later |
1508.06615 (2015-08) Character-Aware Neural Language Models |
1606.05250 (2016-06) SQuAD: 100,000+ Questions for Machine Comprehension of Text 1608.07905 (2016-08) Machine Comprehension Using Match-LSTM and Answer Pointer and 53 more not named here |
| metric_max_over_ground_truths | 6 other papers 3 dated earlier, 1 the same month, 2 later |
2104.08773 (2021-04) Cross-Task Generalization via Natural Language Crowdsourcing Instructions |
2210.10861 (2022-10) QA Domain Adaptation using Hidden Space Augmentation and Self-Supervised Contrastive Adaptation 2310.11511 (2023-10) Self-RAG: Learning to Retrieve, Generate, and Critique through Self-Reflection and 3 more not named here |
| load_json | 1 other paper 1 dated earlier |
2104.08398 (2021-04) Re-TACRED: Addressing Shortcomings of the TACRED Dataset |
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.
Most language model pre-training frameworks concatenate multiple documents into fixedlength sequences and use causal masking to compute the likelihood of each token given its context; this strategy is widely adopted due to its simplicity and efficiency. However, to this day, the influence of the pre-training sequence composition strategy on the generalisation properties of the model remains underexplored. In this work, we find that applying causal masking can lead to the inclusion of distracting information from previous documents during pre-training, which negatively impacts the performance of the models on language modelling and downstream tasks. In intra-document causal masking, the likelihood of each token is only conditioned on the previous tokens in the same document, eliminating potential distracting information from previous documents and significantly improving performance. Furthermore, we find that concatenating related documents can reduce some potential distractions during pre-training, and our proposed efficient retrieval-based sequence construction method, BM25Chunk, can improve incontext learning (+11.6%), knowledge memorisation (+9.8%), and context utilisation (+7.2%) abilities of language models without sacrificing efficiency.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2402.13991")
get_code_for_paper("2402.13991")
have("2402.13991")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2402.13991.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2402.13991)
Connect an agent — have() is free.