SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.08969 · 2026

CARE: A Conformal Safety Layer for Medical Summarization

David Stutz, Sanmi Koyejo, Nigam Shah, Jenelle Jindal, Suhana Bedi, Bridget Lin, Anson Zhou, Chloe Stanwyck

arXiv · PDF · Open in the Atlas

Code that ran

19 of 21 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; 3 honoured the contract we drafted, 5 violated it and 0 have no contract verdict; 11 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2606.08969.json · badge: /api/ran/2606.08969.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
som-shahlab/CARE canonical (classifier label)
classifier basis: census
19 ran · 2 no recorded run
FunctionStatusWhere it lives
apply_factuality_controller Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/evaluation.py
pointer only (licence: NONE) · get_code("9c35861dc2a2adfd")
How it ran

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

apply_filters Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/filters.py
pointer only (licence: NONE) · get_code("bb7ba3c2a62853c2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_factuality_loss_binary Ran
ran, honoured the contract we drafted
som-shahlab/CARE/care/calibration.py
pointer only (licence: NONE) · get_code("4ac9e0960050a45b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_factuality_risk_binary Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/calibration.py
pointer only (licence: NONE) · get_code("d0c6f72170f181fd")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_omission_loss_binary Ran
ran, honoured the contract we drafted
som-shahlab/CARE/care/evaluation.py
pointer only (licence: NONE) · get_code("a89d584952e7442f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_sentences Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/prompts.py
pointer only (licence: NONE) · get_code("e8f0d4a9d6f74900")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_phase3_thresholds Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/config.py
pointer only (licence: NONE) · get_code("f6b5fa69141bf082")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_phase4_alpha_sweep Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/config.py
pointer only (licence: NONE) · get_code("aa7faf1fdb6de147")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_phase4_results Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/config.py
pointer only (licence: NONE) · get_code("0a2b743178267463")
How it ran

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

is_header_line Ran
ran, violated the contract we drafted
som-shahlab/CARE/care/split.py
pointer only (licence: NONE) · get_code("d214fbfa3e8c5e9b")
How it ran

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

is_rate_limit_error Ran
ran, violated the contract we drafted
som-shahlab/CARE/care/oracle.py
pointer only (licence: NONE) · get_code("fc57bed709eafbe2")
How it ran

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

is_valid_source_sentence Ran
ran, violated the contract we drafted
som-shahlab/CARE/care/filters.py
pointer only (licence: NONE) · get_code("ad5a2a3ce53e200d")
How it ran

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

is_valid_summary_sentence Ran
ran, violated the contract we drafted
som-shahlab/CARE/care/filters.py
pointer only (licence: NONE) · get_code("604960a428c76815")
How it ran

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

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

protect_abbreviations Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/split.py
pointer only (licence: NONE) · get_code("3cd11c03e13d6c9c")
How it ran

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

restore_abbreviations Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/split.py
pointer only (licence: NONE) · get_code("1ac7912816c40a79")
How it ran

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

setup_logging Ran
ran; our contract draft was wrong, not the code
som-shahlab/CARE/care/utils.py
pointer only (licence: NONE) · get_code("a2e6317c9ba0c260")
How it ran

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

simple_average Ran
ran, violated the contract we drafted
som-shahlab/CARE/care/scoring.py
pointer only (licence: NONE) · get_code("636c9ffc1b6bacac")
How it ran

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

suggested_wait_seconds Ran
ran, honoured the contract we drafted
som-shahlab/CARE/care/oracle.py
pointer only (licence: NONE) · get_code("a3d1665e3446fa6c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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_domain_spec Not yet run
unverified (harvested, no recorded run)
som-shahlab/CARE/care/prompts.py
pointer only (licence: NONE) · get_code("5939f74f3483d1d6")
How it ran

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

get_summarizer_system_prompt Not yet run
unverified (harvested, no recorded run)
som-shahlab/CARE/care/prompts.py
pointer only (licence: NONE) · get_code("4406fcb9e7b308d8")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, som-shahlab/CARE 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 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 21 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.

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

Large language models (LLMs) are increasingly used for medical summarization, but their outputs can omit medically important information and introduce unsupported claims. Existing error-detection methods produce heuristic or uncalibrated scores, providing no formal control over missed errors and no principled way to trade off safety against clinician review burden. We introduce Conformal Assessment for Risk Evaluation (CARE), a post-hoc, model-agnostic safety layer that uses conformal risk control to overlay calibrated omission and hallucination flags onto summaries from any LLM without retraining. CARE provides finite-sample, distribution-free guarantees through two controllers: a hallucination controller that bounds the probability of a document containing any unflagged hallucinated sentence, and an omission controller that bounds the expected fraction of important omissions not surfaced for review. Unlike hallucination detection, omissions depend jointly on whether a source sentence is important and whether it is covered by the summary. We show that calibrating only one dimension can violate the target risk bound, while marginal decompositions remain valid but overly conservative. By jointly calibrating over the full (τ, γ) threshold space, CARE preserves formal guarantees while surfacing up to 5× fewer sentences than alternative calibrated baselines. Across five medical summarization tasks, CARE satisfies the target risk bound at α = 0.15 with 95% confidence across 100 calibration/test resplits, using only ∼100 labeled documents per domain. In a preliminary clinician study (75 document reviews), calibrated flags improved omission detection by 28.6 percentage points on average. These results show that sentence-level safety guarantees are feasible for LLM-assisted medical summarization and offer a tunable mechanism for balancing residual risk and review effort.

For agents

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

get_harvested_code_for_paper("2606.08969")
get_code_for_paper("2606.08969")
have("2606.08969")

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

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

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

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

Connect an agent — have() is free.