Huaxiu Yao, Linjun Zhang, Gang Li, Peng Xia, Haoran Li, Yun Li, Kangyu Zhu, Hongtu Zhu
5 of 5 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, 0 violated it and 0 have no contract verdict; 4 failures of our instrument; 0 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.05131.json · badge: /api/ran/2407.05131.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 |
|---|---|---|
| richard-peng-xia/rule | canonical (classifier label) classifier basis not recorded on the link |
4 ran · 0 no recorded run |
| richard-peng-xia/RULE | community Papers with Code archive |
1 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| collate_fn | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/rule/llava/eval/model_vqa_loader.py code served (permissive licence) · get_code("20e4f665698a3d18") 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_chunk | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/rule/povid_infer.py code served (permissive licence) · get_code("42a46570620cd9fa") 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 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_image | Ran ran, honoured the contract we drafted |
richard-peng-xia/rule/predict.py code served (permissive licence) · get_code("9b3c1cb391672ccb") 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 Image. 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.
|
| retrieve_topk_per_image | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
richard-peng-xia/RULE/retrieve/src/retrieve_clip_VQA.py code served (permissive licence) · get_code("f89c524e425ca547") 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 list. 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_list | Ran ran; our contract draft was wrong, not the code |
richard-peng-xia/rule/povid_infer.py code served (permissive licence) · get_code("076c252c52cbb161") 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 list. 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.
|
Of 5 samples lifted from this paper's linked repositories, 5 carry a function identity and 0 do not. Of the 5 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 3 the same month, 5 later) and 0 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 |
|---|---|---|---|
| split_list | 197 other papers 83 dated earlier, 3 the same month, 104 later, 6 same year, order not determinable, 1 undated |
2112.05682 (2021-12) Self-attention Does Not Need $O(n^2)$ Memory |
2306.17107 (2023-06) LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding 2307.10490 (2023-07) Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs and 194 more not named here |
| get_chunk | 189 other papers 80 dated earlier, 3 the same month, 100 later, 6 same year, order not determinable |
2112.05682 (2021-12) Self-attention Does Not Need $O(n^2)$ Memory |
2306.17107 (2023-06) LLaVAR: Enhanced Visual Instruction Tuning for Text-Rich Image Understanding 2307.10490 (2023-07) Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs and 186 more not named here |
| load_image | 85 other papers 36 dated earlier, 2 the same month, 43 later, 4 same year, order not determinable |
2112.05682 (2021-12) Self-attention Does Not Need $O(n^2)$ Memory |
2305.10973 (2023-05) Drag Your GAN: Interactive Point-based Manipulation on the Generative Image Manifold 2307.10490 (2023-07) Abusing Images and Sounds for Indirect Instruction Injection in Multi-Modal LLMs and 82 more not named here |
| collate_fn | 54 other papers 16 dated earlier, 38 later |
2308.13566 (2023-08) MLLM-DataEngine: An Iterative Refinement Approach for MLLM |
2310.08588 (2023-10) Octopus: Embodied Vision-Language Programmer from Environmental Feedback 2311.07362 (2023-11) Volcano: Mitigating Multimodal Hallucination through Self-Feedback Guided Revision and 51 more not named here |
| retrieve_topk_per_image brick of this paper's assembly: entry |
1 other paper 1 later |
2410.13085 (2024-10) MMed-RAG: Versatile Multimodal RAG System for Medical Vision Language Models |
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.
The recent emergence of Medical Large Vision Language Models (Med-LVLMs) has enhanced medical diagnosis. However, current Med-LVLMs frequently encounter factual issues, often generating responses that do not align with established medical facts. Retrieval-Augmented Generation (RAG), which utilizes external knowledge, can improve the factual accuracy of these models but introduces two major challenges. First, limited retrieved contexts might not cover all necessary information, while excessive retrieval can introduce irrelevant and inaccurate references, interfering with the model's generation. Second, in cases where the model originally responds correctly, applying RAG can lead to an over-reliance on retrieved contexts, resulting in incorrect answers. To address these issues, we propose RULE, which consists of two components. First, we introduce a provably effective strategy for controlling factuality risk through the calibrated selection of the number of retrieved contexts. Second, based on samples where over-reliance on retrieved contexts led to errors, we curate a preference dataset to fine-tune the model, balancing its dependence on inherent knowledge and retrieved contexts for generation. We demonstrate the effectiveness of RULE on medical VQA and report generation tasks across three datasets, achieving an average improvement of 47.4% in factual accuracy. We publicly release our benchmark and code in https: //github.com/richard-peng-xia/RULE. * * Equal Contribution. Has the patient been seen by a specialist for suspected glaucoma?
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2407.05131")
get_code_for_paper("2407.05131")
have("2407.05131")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2407.05131.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2407.05131)
Connect an agent — have() is free.