Qi Cao, Xueqi Cheng, Hexiang Tan, Wanli Yang, Yuanzhuo Wang
11 of 12 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; 8 failures of our instrument; 1 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/2401.11911.json · badge: /api/ran/2401.11911.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 |
|---|---|---|
| tan-hexiang/retrieveorgenerated | canonical (classifier label) classifier basis: census |
11 ran · 1 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| check_answer | Ran ran, violated the contract we drafted |
tan-hexiang/retrieveorgenerated/src/evaluation.py pointer only (licence: NONE) · get_code("3871a296cce05628") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| find_with_question | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/data.py pointer only (licence: NONE) · get_code("d54b89de04c18936") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| full_name | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/construct_cc_and_analyse.py pointer only (licence: NONE) · get_code("d330e639426c514e") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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_key_from_dict | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/combine.py pointer only (licence: NONE) · get_code("8d1495c3291028ec") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| has_answer | Ran ran, violated the contract we drafted |
tan-hexiang/retrieveorgenerated/src/evaluation.py pointer only (licence: NONE) · get_code("fc8463ff825c1014") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| has_unknown_keyword | Ran ran, violated the contract we drafted |
tan-hexiang/retrieveorgenerated/src/combine.py pointer only (licence: NONE) · get_code("418c4b536e346687") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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_all_jsonl | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/jsonl.py pointer only (licence: NONE) · get_code("887e3f883837c69f") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| normalize_answer | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/evaluation.py pointer only (licence: NONE); the stored copy get_code serves, from mjy1111/PRUNE, is pointer only (licence: NONE) · get_code("4cca112e5e6da5dc") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| rm_before_content | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/data.py pointer only (licence: NONE) · get_code("d66d956519e623bc") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| rm_last_mark | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/data.py pointer only (licence: NONE) · get_code("ae4dd4eea33e6152") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| rmreturn | Ran ran; our contract draft was wrong, not the code |
tan-hexiang/retrieveorgenerated/src/model.py pointer only (licence: NONE) · get_code("f2e4ab55c7839e26") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. |
| check_exist | Not yet run unverified (harvested, no recorded run) |
tan-hexiang/retrieveorgenerated/src/llm.py pointer only (licence: NONE) · get_code("3d6c6e5375eae12b") How it ranThe body of this sample is withheld: GitHub detected no licence in this paper's repository, tan-hexiang/retrieveorgenerated 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. No invocation recorded. |
Of 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 3 later) and 9 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 | 9 other papers 3 dated earlier, 6 later |
2305.12421 (2023-05) Evaluating Open-QA Evaluation |
2308.11730 (2023-08) Knowledge Graph Prompting for Multi-Document Question Answering 2310.14393 (2023-10) Merging Generated and Retrieved Knowledge for Open-Domain QA and 6 more not named here |
| has_answer | 4 other papers 2 dated earlier, 2 later |
2308.11730 (2023-08) Knowledge Graph Prompting for Multi-Document Question Answering |
2310.14393 (2023-10) Merging Generated and Retrieved Knowledge for Open-Domain QA 2407.10670 (2024-07) Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems and 1 more not named here |
| check_answer | 3 other papers 1 dated earlier, 2 later |
2308.11730 (2023-08) Knowledge Graph Prompting for Multi-Document Question Answering |
2407.10670 (2024-07) Enhancing Retrieval and Managing Retrieval: A Four-Module Synergy for Improved Quality and Efficiency in RAG Systems 2408.02544 (2024-08) Caution for the Environment: Multimodal LLM Agents are Susceptible to Environmental Distractions |
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 auxiliary information has become a key to enhancing Large Language Models (LLMs), relatively little is known about how LLMs merge these contexts, specifically contexts generated by LLMs and those retrieved from external sources. To investigate this, we formulate a systematic framework to identify whether LLMs' responses are attributed to either generated or retrieved contexts. To easily trace the origin of the response, we construct datasets with conflicting contexts, i.e., each question is paired with both generated and retrieved contexts, yet only one of them contains the correct answer. Our experiments reveal a significant bias in several LLMs (GPT-4/3.5 and Llama2) to favor generated contexts, even when they provide incorrect information. We further identify two key factors contributing to this bias: i) contexts generated by LLMs typically show greater similarity to the questions, increasing their likelihood of being selected; ii) the segmentation process used in retrieved contexts disrupts their completeness, thereby hindering their full utilization in LLMs. Our analysis enhances the understanding of how LLMs merge diverse contexts, offers valuable insights for advancing current LLM augmentation methods, and highlights the risk of generated misinformation for retrieval-augmented LLMs 1 .
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2401.11911")
get_code_for_paper("2401.11911")
have("2401.11911")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2401.11911.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2401.11911)
Connect an agent — have() is free.