15 of 17 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; 1 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 13 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/2311.09198.json · badge: /api/ran/2311.09198.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 |
|---|---|---|
| hejunqing/never-lost-in-the-middle | canonical (classifier label) classifier basis: census |
14 ran · 1 no recorded run |
| qihoo360/360zhinao | community (classifier label) classifier basis not recorded on the link |
1 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| add_eod | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/new_utils.py code served (permissive licence) · get_code("afdae69731929a72") 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.
|
| build_chat | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
hejunqing/never-lost-in-the-middle/Lost_Retrieval/src/pred_single.py code served (permissive licence) · get_code("251720ea85d2ca71") 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.
|
| build_chat | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
hejunqing/never-lost-in-the-middle/LongBench/src/baichuan_pred_shuffle.py code served (permissive licence) · get_code("7024e12377186e51") 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.
|
| build_chat | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/pred_chatglm.py code served (permissive licence) · get_code("7439724189daf2cb") 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.
|
| build_chat2 | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/Lost_Retrieval/src/pred_single.py code served (permissive licence) · get_code("619fcfb88a0948e5") 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.
|
| build_chat_baichuan | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
hejunqing/never-lost-in-the-middle/LongBench/src/pred_shuffle_reader.py code served (permissive licence) · get_code("9cea8a9dc64a79cc") 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.
|
| count_score | Ran ran, honoured the contract we drafted |
hejunqing/never-lost-in-the-middle/LongBench/src/metrics.py pointer only (licence: MIT); the stored copy get_code serves, from borealisai/radar-decoding, is pointer only (licence: LGPL-3.0) · get_code("b349b79d9cc2934b") 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 borealisai/radar-decoding, and LGPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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_pred | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/baichuan_pred_shuffle.py code served (permissive licence) · get_code("9ac0485160d687f7") 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.
|
| normalize_answer | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/metrics.py pointer only (licence: MIT); the stored copy get_code serves, from borealisai/radar-decoding, is pointer only (licence: LGPL-3.0) · get_code("e7e75981cb464788") 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 borealisai/radar-decoding, and LGPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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. |
| normalize_zh_answer | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/metrics.py pointer only (licence: MIT); the stored copy get_code serves, from borealisai/radar-decoding, is pointer only (licence: LGPL-3.0) · get_code("8c5c581f9264c810") 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 borealisai/radar-decoding, and LGPL-3.0, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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. |
| parse_args | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/pred_chatglm.py code served (permissive licence) · get_code("36753478d8bfe1e1") 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 Namespace. 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.
|
| post_process | Ran ran, violated the contract we drafted |
hejunqing/never-lost-in-the-middle/LongBench/src/pred_chatglm.py code served (permissive licence) · get_code("4489113b536ca6eb") 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 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.
|
| preprocess | Ran ran; our contract draft was wrong, not the code |
qihoo360/360zhinao/Reranking/finetune.py code served (permissive licence) · get_code("8b733c9fc590e4c1") 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 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.
|
| replace_head | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/new_utils.py code served (permissive licence) · get_code("372ffbf8201660a5") 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.
|
| shorten | Ran ran; our contract draft was wrong, not the code |
hejunqing/never-lost-in-the-middle/LongBench/src/new_utils.py code served (permissive licence) · get_code("6653c42aad855a65") 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.
|
| build_chat | Not yet run unverified (harvested, no recorded run) |
hejunqing/never-lost-in-the-middle/LongBench/src/pred_shuffle_reader.py code served (permissive licence) · get_code("0af745ab8b003692") How it ranno invocation recorded. |
| preprocess | Not yet run unverified (harvested, no recorded run) |
qihoo360/360zhinao/Reranking/flag_models.py code served (permissive licence) · get_code("a30e2612231ea545") How it ranno invocation recorded. |
Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 5 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 3 the same month, 5 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 |
|---|---|---|---|
| normalize_answer | 133 other papers 51 dated earlier, 3 the same month, 77 later, 1 same year, order not determinable, 1 undated · 1 only as an assembly brick |
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 130 more not named here |
| normalize_zh_answer | 28 other papers 1 the same month, 26 later, 1 undated |
2311.04934 (2023-11) Prompt Cache: Modular Attention Reuse for Low-Latency Inference |
2024.findings-emnlp.230 (2024 (year only)) CLongEval: A Chinese Benchmark for Evaluating Long-Context Large Language Models 2402.02750 (2024-02) KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache and 25 more not named here |
| count_score | 24 other papers 1 the same month, 22 later, 1 undated |
2311.04934 (2023-11) Prompt Cache: Modular Attention Reuse for Low-Latency Inference |
2402.02750 (2024-02) KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache 2402.04617 (2024-02) InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memory and 21 more not named here |
| post_process | 14 other papers 14 later |
2402.02750 (2024-02) KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cache |
2404.14469 (2024-04) SnapKV: LLM Knows What You are Looking for Before Generation 2405.04434 (2024-05) DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model and 11 more not named here |
| preprocess | 8 other papers 8 later |
2401.10935 (2024-01) SeeClick: Harnessing GUI Grounding for Advanced Visual GUI Agents |
2402.11905 (2024-02) Learning to Edit: Aligning LLMs with Knowledge Editing 2406.11317 (2024-06) GUICourse: From General Vision Language Models to Versatile GUI Agents and 5 more not named here |
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.
While large language models (LLMs) are equipped with longer text input capabilities than before, they are struggling to seek correct information in long contexts. The "lost in the middle" problem challenges most LLMs, referring to the dramatic decline in accuracy when correct information is located in the middle. To overcome this crucial issue, this paper proposes to enhance the information searching and reflection ability of LLMs in long contexts via specially designed tasks called Attention Strengthening Multi-doc QA (ASM QA). Following these tasks, our model excels in focusing more precisely on the desired information. Experimental results show substantial improvement in Multi-doc QA and other benchmarks, superior to state-of-the-art models by 13.7% absolute gain in shuffled settings, by 21.5% in passage retrieval task. We release our model, Ziya-Reader to promote related research in the community.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2311.09198")
get_code_for_paper("2311.09198")
have("2311.09198")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2311.09198.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2311.09198)
Connect an agent — have() is free.