Xiang Wan, Zhihong Chen, Yan Song ♠♥ †, Kong Shenzhen, Yaling Shen
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; 2 honoured the contract we drafted, 2 violated it and 2 have no contract verdict; 9 failures of our instrument; 2 no recorded run), measured 2026-11-24; 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/2021.acl-long.459.json · badge: /api/ran/2021.acl-long.459.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 |
|---|---|---|
| cuhksz-nlp/R2GenCMN | canonical (classifier label) classifier basis: census |
12 ran · 2 no recorded run |
| MIT-LCP/mimic-cxr | canonical (classifier label) classifier basis: census |
3 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| attention | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/base_cmn.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from AlexCo1d/AMiF, is pointer only (licence: NONE) · get_code("8162be9dd8cf7f11") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from AlexCo1d/AMiF, 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. |
| build_lr_scheduler | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/optimizers.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from 98lingchen/MICCAI2026, is pointer only (licence: NONE) · get_code("3cbefcc988ce7b35") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from 98lingchen/MICCAI2026, 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. |
| build_optimizer | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/optimizers.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from 98lingchen/MICCAI2026, is pointer only (licence: NONE) · get_code("3d5d349dca69b884") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from 98lingchen/MICCAI2026, 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. |
| clones | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/base_cmn.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from fudanvi/fudanocr, is pointer only (licence: NONE) · get_code("6cdff690e29fd5e2") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from fudanvi/fudanocr, 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. |
| compute_loss | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/loss.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from 98lingchen/MICCAI2026, is pointer only (licence: NONE) · get_code("0bc1f8b3524f6b1b") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from 98lingchen/MICCAI2026, 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. |
| get_lr | Ran ran, honoured the contract we drafted |
cuhksz-nlp/R2GenCMN/modules/optimizers.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from 98lingchen/MICCAI2026, is pointer only (licence: NONE) · get_code("dbc167454f546647") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from 98lingchen/MICCAI2026, 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. |
| length_average | Ran ran, violated the contract we drafted |
cuhksz-nlp/R2GenCMN/modules/utils.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from cuhksz-nlp/R2Gen, is pointer only (licence: NONE) · get_code("506f510e45fc90c3") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from cuhksz-nlp/R2Gen, 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. |
| length_wu | Ran ran, honoured the contract we drafted |
cuhksz-nlp/R2GenCMN/modules/utils.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from cuhksz-nlp/R2Gen, is pointer only (licence: NONE) · get_code("1b78d09288063680") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from cuhksz-nlp/R2Gen, 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. |
| list_rindex | Ran ran on a synthesized input |
MIT-LCP/mimic-cxr/txt/create_section_files.py code served (permissive licence) · get_code("4d6b6588f49b7842") 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.
|
| normalize_section_names | Ran ran on a synthesized input |
MIT-LCP/mimic-cxr/txt/section_parser.py code served (permissive licence) · get_code("49696211667f2162") 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.
|
| pad_unsort_packed_sequence | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/att_model.py code served (permissive licence) · get_code("bfac58a04b6835f5") 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 3, dtype family float, shape (2, 4, 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.
|
| penalty_builder | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/utils.py code served (permissive licence) · get_code("ebc97ac99d4182f1") 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 function. 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.
|
| section_text | Ran ran; our contract draft was wrong, not the code |
MIT-LCP/mimic-cxr/txt/section_parser.py code served (permissive licence) · get_code("f150a9b45237a164") 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 2, 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.
|
| sort_pack_padded_sequence | Ran ran; our contract draft was wrong, not the code |
cuhksz-nlp/R2GenCMN/modules/att_model.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from 98lingchen/MICCAI2026, is pointer only (licence: NONE) · get_code("86839e01585b85d8") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from 98lingchen/MICCAI2026, 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. |
| subsequent_mask | Ran ran, violated the contract we drafted |
cuhksz-nlp/R2GenCMN/modules/base_cmn.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from cuhksz-nlp/R2Gen, is pointer only (licence: NONE) · get_code("66fbf162663d4cff") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from cuhksz-nlp/R2Gen, 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. |
| compute_mlc | Not yet run unverified (harvested, no recorded run) |
cuhksz-nlp/R2GenCMN/modules/metrics.py code served (permissive licence) · get_code("593291c66c1ef2dd") How it ranno invocation recorded. |
| pack_wrapper | Not yet run unverified (harvested, no recorded run) |
cuhksz-nlp/R2GenCMN/modules/att_model.py pointer only (licence: Apache-2.0); the stored copy get_code serves, from 98lingchen/MICCAI2026, is pointer only (licence: NONE) · get_code("40b2937c7e20170d") How it ranThe body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from 98lingchen/MICCAI2026, 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. No 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, 16 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 0 the same month, 12 later) and 1 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 |
|---|---|---|---|
| clones | 79 other papers 27 dated earlier, 41 later, 11 same year, order not determinable · 11 only as an assembly brick |
1411.4555 (2014-11) Show and Tell: A Neural Image Caption Generator |
1612.00563 (2016-12) Self-critical Sequence Training for Image Captioning 1706.03762 (2017-06) Attention Is All You Need and 76 more not named here |
| subsequent_mask | 21 other papers 11 dated earlier, 8 later, 2 same year, order not determinable |
1411.4555 (2014-11) Show and Tell: A Neural Image Caption Generator |
1612.00563 (2016-12) Self-critical Sequence Training for Image Captioning 1707.07998 (2017-07) Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering and 18 more not named here |
| pad_unsort_packed_sequence | 14 other papers 10 dated earlier, 3 later, 1 same year, order not determinable · 2 only as an assembly brick |
1612.00563 (2016-12) Self-critical Sequence Training for Image Captioning |
1707.07998 (2017-07) Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering 1906.05963 (2019-06) Image Captioning: Transforming Objects into Words and 11 more not named here |
| pack_wrapper | 13 other papers 9 dated earlier, 3 later, 1 same year, order not determinable · 2 only as an assembly brick |
1612.00563 (2016-12) Self-critical Sequence Training for Image Captioning |
1707.07998 (2017-07) Bottom-Up and Top-Down Attention for Image Captioning and Visual Question Answering 1906.05963 (2019-06) Image Captioning: Transforming Objects into Words and 10 more not named here |
| attention | 5 other papers 1 dated earlier, 4 later |
2008.02693 (2020-08) Fashion Captioning: Towards Generating Accurate Descriptions with Semantic Rewards |
2403.05396 (2024-03) HistGen: Histopathology Report Generation via Local-Global Feature Encoding and Cross-modal Context Interaction 2404.13039 (2024-04) LaPA: Latent Prompt Assist Model For Medical Visual Question Answering and 2 more not named here |
| compute_loss | 3 other papers 3 later |
2303.10323 (2023-03) Dynamic Graph Enhanced Contrastive Learning for Chest X-ray Report Generation |
2403.06801 (2024-03) CT2Rep: Automated Radiology Report Generation for 3D Medical Imaging 2606.21447 (2026-06) Precision Recall Controllable Radiology Report Generation via Hybrid Natural Language and Clinical Reward Learning |
| normalize_section_names | 3 other papers 2 later, 1 same year, order not determinable |
2107.07502 (2021-07) MULTIBENCH: Multiscale Benchmarks for Multimodal Representation Learning |
2209.07162 (2022-09) Brain Imaging Generation with Latent Diffusion Models 2304.08295 (2023-04) Interactive and Explainable Region-guided Radiology Report Generation |
| sort_pack_padded_sequence | 3 other papers 1 dated earlier, 2 later |
1910.09387 (2019-10) Clotho: An Audio Captioning Dataset |
aaai_29097 (2024 (year only)) Noise-Aware Image Captioning with Progressively Exploring Mismatched Words 2606.21447 (2026-06) Precision Recall Controllable Radiology Report Generation via Hybrid Natural Language and Clinical Reward Learning |
| build_lr_scheduler | 2 other papers 2 later |
2403.06801 (2024-03) CT2Rep: Automated Radiology Report Generation for 3D Medical Imaging |
2606.21447 (2026-06) Precision Recall Controllable Radiology Report Generation via Hybrid Natural Language and Clinical Reward Learning |
| length_average | 2 other papers 2 dated earlier · 1 only as an assembly brick |
2010.16056 (2020-10) Generating Radiology Reports via Memory-driven Transformer |
2011.00966 (2020-11) Diverse Image Captioning with Context-Object Split Latent Spaces |
| length_wu | 2 other papers 2 dated earlier · 1 only as an assembly brick |
2010.16056 (2020-10) Generating Radiology Reports via Memory-driven Transformer |
2011.00966 (2020-11) Diverse Image Captioning with Context-Object Split Latent Spaces |
| penalty_builder | 2 other papers 2 dated earlier · 1 only as an assembly brick |
2010.16056 (2020-10) Generating Radiology Reports via Memory-driven Transformer |
2011.00966 (2020-11) Diverse Image Captioning with Context-Object Split Latent Spaces |
| section_text | 2 other papers 2 later |
2209.07162 (2022-09) Brain Imaging Generation with Latent Diffusion Models |
2304.08295 (2023-04) Interactive and Explainable Region-guided Radiology Report Generation |
| build_optimizer | 1 other paper 1 later |
2606.21447 (2026-06) Precision Recall Controllable Radiology Report Generation via Hybrid Natural Language and Clinical Reward Learning |
|
| get_lr | 1 other paper 1 later |
2606.21447 (2026-06) Precision Recall Controllable Radiology Report Generation via Hybrid Natural Language and Clinical Reward Learning |
|
| list_rindex | 1 other paper 1 same year, order not determinable |
2107.07502 (2021-07) MULTIBENCH: Multiscale Benchmarks for Multimodal Representation Learning |
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-24.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Medical imaging plays a significant role in clinical practice of medical diagnosis, where the text reports of the images are essential in understanding them and facilitating later treatments. By generating the reports automatically, it is beneficial to help lighten the burden of radiologists and significantly promote clinical automation, which already attracts much attention in applying artificial intelligence to medical domain. Previous studies mainly follow the encoder-decoder paradigm and focus on the aspect of text generation, with few studies considering the importance of cross-modal mappings and explicitly exploit such mappings to facilitate radiology report generation. In this paper, we propose a cross-modal memory networks (CMN) to enhance the encoderdecoder framework for radiology report generation, where a shared memory is designed to record the alignment between images and texts so as to facilitate the interaction and generation across modalities. Experimental results illustrate the effectiveness of our proposed model, where state-of-the-art performance is achieved on two widely used benchmark datasets, i.e., IU X-Ray and MIMIC-CXR. Further analyses also prove that our model is able to better align information from radiology images and texts so as to help generating more accurate reports in terms of clinical indicators. 1 † Corresponding author. 1 Our code and the best performing models are released at https://github.com/cuhksz-nlp/R2GenCMN.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2021.acl-long.459")
get_code_for_paper("2021.acl-long.459")
have("2021.acl-long.459")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2021.acl-long.459.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2021.acl-long.459)
Connect an agent — have() is free.