SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2311.17154 · 2023

Pragmatic Radiology Report Generation

arXiv · PDF · Open in the Atlas

Code that ran

7 of 10 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; 6 failures of our instrument; 3 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/2311.17154.json · badge: /api/ran/2311.17154.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.

RepositoryRoleRan
chicagohai/llm_radiology canonical (classifier label)
classifier basis: census
7 ran · 3 no recorded run
FunctionStatusWhere it lives
compute_f1 Ran
ran, honoured the contract we drafted
chicagohai/llm_radiology/CXRMetric/radgraph_evaluate_model.py
pointer only (licence: NONE) · get_code("b59ac1362f3babba")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

jload Ran
ran; our contract draft was wrong, not the code
chicagohai/llm_radiology/utils_finetune.py
pointer only (licence: NONE) · get_code("d07d04439cd1d44f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

labels_to_eng Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chicagohai/llm_radiology/format_llama_input.py
pointer only (licence: NONE) · get_code("901146a5701ee1fc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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_preprocessed_data Ran
ran; our contract draft was wrong, not the code
chicagohai/llm_radiology/image_model/utils.py
pointer only (licence: NONE) · get_code("94b4f8f928186191")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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 Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
chicagohai/llm_radiology/image_model/utils.py
pointer only (licence: NONE) · get_code("d0bf828601477d5a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

parse_entity_relation Ran
ran; our contract draft was wrong, not the code
chicagohai/llm_radiology/CXRMetric/radgraph_evaluate_model.py
pointer only (licence: NONE) · get_code("71d87fbd996af446")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

preprocess Ran
ran; our contract draft was wrong, not the code
chicagohai/llm_radiology/finetune.py
pointer only (licence: NONE); the stored copy get_code serves, from GCYZSL/O3-LLM-UNLEARNING, is pointer only (licence: NONE) · get_code("817d5f759487007d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

format_input Not yet run
unverified (harvested, no recorded run)
chicagohai/llm_radiology/format_llama_input.py
pointer only (licence: NONE) · get_code("94711428e0791fe9")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

openai_completion Not yet run
unverified (harvested, no recorded run)
chicagohai/llm_radiology/utils_finetune.py
pointer only (licence: NONE); the stored copy get_code serves, from song-wx/SIFT, is pointer only (licence: NONE) · get_code("ebb1cebbcdf9c443")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

write_report Not yet run
unverified (harvested, no recorded run)
chicagohai/llm_radiology/pragmatic_llama_inference.py
pointer only (licence: NONE) · get_code("254c1775d00406f6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, chicagohai/llm_radiology 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.

Also present in other papers' code

Of 10 samples lifted from this paper's linked repositories, 10 carry a function identity and 0 do not. Of the 10 distinct functions with an identity, 5 are also present in other papers whose code we hold (4 with at least one paper dated earlier, 1 the same month, 3 later) and 5 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.

FunctionAlso present inEarliest-datedOthers named
jload 46 other papers
14 dated earlier, 1 the same month, 31 later
2302.13971 (2023-02)
LLaMA: Open and Efficient Foundation Language Models
2305.12870 (2023-05)
Lion: Adversarial Distillation of Proprietary Large Language Models
2305.13068 (2023-05)
Making Language Models Better Tool Learners with Execution Feedback
and 43 more not named here
preprocess 23 other papers
7 dated earlier, 16 later
2305.12870 (2023-05)
Lion: Adversarial Distillation of Proprietary Large Language Models
2306.17194 (2023-06)
On the Exploitability of Instruction Tuning
2308.07286 (2023-08)
The Devil is in the Errors: Leveraging Large Language Models for Fine-grained Machine Translation Evaluation
and 20 more not named here
compute_f1 1 other paper
1 dated earlier
2106.14463 (2021-06)
RadGraph: Extracting Clinical Entities and Relations from Radiology Reports
openai_completion 1 other paper
1 later
2312.11875 (2023-12)
Sparse is Enough in Fine-tuning Pre-trained Large Language Models
parse_entity_relation 1 other paper
1 dated earlier
2106.14463 (2021-06)
RadGraph: Extracting Clinical Entities and Relations from Radiology Reports

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.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

When pneumonia is not found on a chest X-ray, should the report describe this negative observation or omit it? We argue that this question cannot be answered from the X-ray alone and requires a pragmatic perspective, which captures the communicative goal that radiology reports serve between radiologists and patients. However, the standard image-to-text formulation for radiology report generation fails to incorporate such pragmatic intents. Following this pragmatic perspective, we demonstrate that the indication, which describes why a patient comes for an X-ray, drives the mentions of negative observations and introduce indications as additional input to report generation. With respect to the output, we develop a framework to identify uninferable information from the image as a source of model hallucinations, and limit them by cleaning groundtruth reports. Finally, we use indications and cleaned groundtruth reports to develop pragmatic models, and show that they outperform existing methods not only in new pragmatics-inspired metrics (+4.3 Negative F1) but also in standard metrics (+6.3 Positive F1 and +11.0 BLEU-2).

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2311.17154")
get_code_for_paper("2311.17154")
have("2311.17154")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2311.17154.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2311.17154.svg)](https://syntology.ai/paper/2311.17154)

Connect an agent — have() is free.