SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2309.07430 · 2023

Adapted Large Language Models Can Outperform Medical Experts in Clinical Text Summarization

arXiv · PDF · Open in the Atlas

Code that ran

10 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, 0 violated it and 0 have no contract verdict; 10 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/2309.07430.json · badge: /api/ran/2309.07430.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
stanfordmimi/clin-summ canonical (classifier label)
classifier basis: census
10 ran · 2 no recorded run
FunctionStatusWhere it lives
add_key_val_pair Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/summ_dataset.py
pointer only (licence: NOASSERTION) · get_code("7b74dec7d8f9d7d6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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.

api_endpoint_from_url Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/api/call_api.py
pointer only (licence: NOASSERTION) · get_code("4795d5ee04513f52")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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_scores Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/calc_metrics.py
pointer only (licence: NOASSERTION) · get_code("a136ceca67364792")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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.

extract_avg_only Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/calc_metrics.py
pointer only (licence: NOASSERTION) · get_code("a71946321095a93f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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.

extract_dict_by_val Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/summ_dataset.py
pointer only (licence: NOASSERTION) · get_code("3783244d5c9c25d7")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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.

generate_api_request Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/api/preprocess.py
pointer only (licence: NOASSERTION) · get_code("cd753cb30fafe576")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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_naughty_list Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/api/run_expmt.py
pointer only (licence: NOASSERTION) · get_code("6d9f8adeb638bf79")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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_url Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/constants.py
pointer only (licence: NOASSERTION) · get_code("1553a48cda4fae1b")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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_function_gpt Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/process.py
pointer only (licence: NOASSERTION) · get_code("d170b2e97265e36f")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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_function_s2s Ran
ran; our contract draft was wrong, not the code
stanfordmimi/clin-summ/src/process.py
pointer only (licence: NOASSERTION) · get_code("bd12a0daba0d3476")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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.

n_tokens Not yet run
unverified (harvested, no recorded run)
stanfordmimi/clin-summ/src/summ_dataset.py
pointer only (licence: NOASSERTION) · get_code("92ac74b56a930bf6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, stanfordmimi/clin-summ (NOASSERTION). 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.

num_tokens_consumed_from_request Not yet run
unverified (harvested, no recorded run)
stanfordmimi/clin-summ/api/call_api.py
pointer only (licence: NONE); the stored copy get_code serves, from Leirunlin/Text-level-Graph-Attack, is pointer only (licence: NONE) · get_code("27007d0ec4adb00b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, stanfordmimi/clin-summ 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 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, 1 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 1 the same month, 1 later) and 11 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
num_tokens_consumed_from_request 4 other papers
1 the same month, 3 later
2309.16595 (2023-09)
Can LLMs Effectively Leverage Graph Structural Information through Prompts, and Why?
2403.06754 (2024-03)
ALaRM: Align Language Models via Hierarchical Rewards Modeling
2405.16405 (2024-05)
Intruding with Words: Towards Understanding Graph Injection Attacks at the Text Level
and 1 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.

Repositories linked to this paper

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

Abstract

Analyzing vast textual data and summarizing key information from electronic health records imposes a substantial burden on how clinicians allocate their time. Although large language models (LLMs) have shown promise in natural language processing (NLP), their effectiveness on a diverse range of clinical summarization tasks remains unproven. In this study, we apply adaptation methods to eight LLMs, spanning four distinct clinical summarization tasks: radiology reports, patient questions, progress notes, and doctor-patient dialogue. Quantitative assessments with syntactic, semantic, and conceptual NLP metrics reveal trade-offs between models and adaptation methods. A clinical reader study with ten physicians evaluates summary completeness, correctness, and conciseness; in a majority of cases, summaries from our best adapted LLMs are either equivalent (45%) or superior (36%) compared to summaries from medical experts. The ensuing safety analysis highlights challenges faced by both LLMs and medical experts, as we connect errors to potential medical harm and categorize types of fabricated information. Our research provides evidence of LLMs outperforming medical experts in clinical text summarization across multiple tasks. This suggests that integrating LLMs into clinical workflows could alleviate documentation burden, allowing clinicians to focus more on patient care.

For agents

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

get_harvested_code_for_paper("2309.07430")
get_code_for_paper("2309.07430")
have("2309.07430")

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

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

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

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

Connect an agent — have() is free.