Papers › Learning Under Treatment-Induced Label Indeterminacy with Expert Annotations of...

Learning Under Treatment-Induced Label Indeterminacy with Expert Annotations of Counterfactual Outcomes: A Case Study in Neurological Prognostication

12 Aug 2026arXiv:2608.12477added by Syntology

Xiaobin Shen, Chloe Y. H. Huang, Jonathan Elmer, George H. Chen

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Clinical prediction models are often developed as if the outcome of interest were cleanly observed for every patient. This assumption fails when treatment decisions make the clinically relevant outcome permanently unobservable. As a case study of this problem, we consider post-cardiac-arrest neurological prognostication using a cohort of 2,497 patients, including 1,429 patients whose outcomes were rendered indeterminate by treatment decisions. These patients with indeterminate outcomes were reviewed by independent clinical experts, who provided their guesses of counterfactual outcomes about what would have happened to the patients. We refer to these patients as uncertain cases. We also have patients for whom we observe their clinically relevant outcomes; we refer to these patients as certain cases. We propose a framework for evaluating prediction models that explicitly splits the evaluation between certain and uncertain cases. Here, we cannot easily evaluate both types of cases in a uniform manner as the available target labels differ. We then propose a simple prediction model that uses target labels from both certain and uncertain cases in a manner that allows us to trade off between them. Across the proposed neural model and a collection of tabular baselines, models with similar certain-case AUROC can nevertheless differ substantially in both certain-case Brier score and their probability estimates for uncertain cases. Improving alignment with target labels of uncertain cases for our proposed model generally comes at the cost of worse accuracy on certain cases, highlighting an explicit tradeoff that standard evaluation conceals. These results show that when treatment decisions determine whether clinically meaningful outcomes remain observable, conventional evaluation metrics can miss important failure modes in the very patients for whom prognostic support matters most.

PaperPDFCode Syntology ranMethod as code

In Syntology View this paper on Syntology, its page in Syntology's graph. That page adds which of its functions are also present in other papers' code Syntology holds, with dates, and its dated run record as JSON and a README badge. It also lists the repositories linked to the paper, the abstract and the calls for agents.

Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, on Syntology's MCP service (how to connect):

Code

Syntology 33 code samples harvested from 1 repository linked to this paper: 19 ran (of which 4 constructed an object rather than computing a result; 6 with no instrument failure: 2 honoured, 0 violated, 4 with no contract checked; 13 where Syntology's instrument failed) · 14 unverified. Where Syntology's instrument failed: 11 where our contract draft was wrong; 2 where the contract check could not run; failures of Syntology's instrument, not of the code.

By repository: found in paper text by Syntology: 33 samples from 1 repository, 19 ran (6 with no instrument failure; 13 where Syntology's instrument failed). The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

Levels written on 2026-09-22 (UTC): the dates Syntology's graph wrote each sample's verification level, not when the code executed.

xiaobin-xs/learning-under-label-indeterminacy found in paper text by SyntologySyntology: 33 samples, 19 ran (13 instrument-failed) · 14 unverified report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

33 samples harvested: 19 ran (of which 4 constructed an object rather than computing a result; 6 with no instrument failure: 2 honoured, 0 violated, 4 with no contract checked; 13 where Syntology's instrument failed) · 14 unverified. “Where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record. That date is not when the samples ran.

2ran · honoured contract
11ran · our draft was wrong
2ran; the contract check could not run
4ran
14unverified

Licence: 0 of the 33 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from xiaobin-xs/learning-under-label-indeterminacy. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. A line beginning “fixture:” under a sample that ran gives the arguments Syntology's fixture called the sample with, each as name:type/rank/element kind (? where none was recorded), and the type of what the fixture's run returned, exactly as the harness recorded them; the arguments and the returned type were recorded by two separate runs of the same fixture. No output value is shown, and a returned type says nothing about whether the output was right. “Level recorded” gives the UTC date when Syntology's graph wrote the sample's verification level, not when the code executed; where the level was written before Syntology's graph kept that date, the row says “level recorded, date not recorded”. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself. “Our draft was wrong” and “the contract check could not run” are failures of Syntology's instrument, not of the code: the sample ran on Syntology's synthesized input, and then the drafted contract did not describe it, or the check itself raised an error (RAISES), lacked a dependency (DEP_MISSING) or ran out of time (TIMEOUT); hover the label for which. A metamorphic tier, where shown, is evidence of the output's shape, not that the sample implements the method.

Each sample ends with its code_sha256. A sample's code_sha256 is Syntology's identity for that exact code. It is printed in full (16 hexadecimal characters for every sample in this build), and get_code(code_sha256="…") takes it exactly as printed. An agent calls it on Syntology's MCP service (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples are grouped by repository: a repository marked official first, then by how directly the repository is tied to the paper, then in the archive's order; never by how many ran. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of six reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar); this paper's copy was not located, so its licence is not recorded; or this paper's copy is cleared, but the stored copy of the same code that Syntology serves is not. Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

A function or class name links to its page when the name occurs in the harvested code of at least 5 papers; the name is a string, not an identity.

xiaobin-xs/learning-under-label-indeterminacy found in paper text by Syntology 33 samples, 19 ran (13 instrument-failed) · 14 unverified
Dataset in 14 papers src/evaluation/uncertain.py ran MIT (permissive) · 84af608b6dea72aa · report fixture: returned Dataset · level recorded 2026-09-22
ProbabilityInterval src/evaluation/uncertain.py ran MIT (permissive) · 53835ebb58a07736 · report fixture: returned ProbabilityInterval · level recorded 2026-09-22
UncertainEvaluationOutputs src/evaluation/uncertain.py ran MIT (permissive) · 8663cc6061a0e317 · report fixture: returned UncertainEvaluationOutputs · level recorded 2026-09-22
UncertaintySignalSpec src/evaluation/uncertain.py ran MIT (permissive) · 34ea515b6dd4100f · report fixture: returned UncertaintySignalSpec · level recorded 2026-09-22
_build_overall_summary src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · d3d4ccd299025786 · report fixture: signature enriched_predictions:DataFrame/0/?, threshold:float/0/float · returned DataFrame · level recorded 2026-09-22
_resolve_baseline_family src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · bee5d063b70a432f · report fixture: signature baseline:str/0/str, frame:DataFrame/0/?, baseline_families:dict/0/? · returned str · level recorded 2026-09-22
_safe_auprc src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · ccd178b7c7c7ad01 · report fixture: signature y_true:Series/1/int, score:Series/1/float · returned float · level recorded 2026-09-22
_safe_auroc src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · 55a2b3235c7209b9 · report fixture: signature y_true:Series/1/int, score:Series/1/float · returned float · level recorded 2026-09-22
_safe_fraction src/evaluation/uncertain.py ran · honoured contract MIT (permissive) · 748c2dc270d62e67 · report fixture: signature series:Series/1/object · returned float · level recorded 2026-09-22
_safe_iqr src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · 10bcd380702646e6 · report fixture: signature series:Series/1/float · returned float · level recorded 2026-09-22
_safe_median src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · e4b30bbc6f7bc657 · report fixture: signature series:Series/1/float · returned float · level recorded 2026-09-22
_safe_spearman src/evaluation/uncertain.py ran; the contract check could not run (RAISES) MIT (permissive) · c024bf7c27da0bf4 · report fixture: signature left:Series/1/float, right:Series/1/float · returned float · level recorded 2026-09-22
_signal_is_eligible_for_baseline src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · 5d9a8124c38aefa5 · report fixture: signature spec:UncertaintySignalSpec/0/?, baseline_family:str/0/str, frame:DataFrame/0/? · returned bool · level recorded 2026-09-22
_summarize_uncertain_subset src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · a4ffe51c1c43a222 · report fixture: signature frame:DataFrame/0/?, baseline:str/0/str, expert_group:str/0/str, threshold:float/0/float · returned dict · level recorded 2026-09-22
_top_fraction_conflict_rate src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · ec97d71bac3cf16a · report fixture: signature uncertainty_score:Series/1/float, y_true:Series/1/float, fraction:float/0/float · returned float · level recorded 2026-09-22
_top_fraction_conflict_recall src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · e950b03f28761cf8 · report fixture: signature uncertainty_score:Series/1/float, y_true:Series/1/float, fraction:float/0/float · returned float · level recorded 2026-09-22
aggregate_probabilities src/evaluation/uncertain.py ran; the contract check could not run (RAISES) MIT (permissive) · 4854c5722e6548bf · report fixture: signature probabilities:list/1/float, aggregation:str/0/str · returned float · level recorded 2026-09-22
probabilities_to_disagreement_category src/evaluation/uncertain.py ran · our draft was wrong MIT (permissive) · 80a4ed630e3ced17 · report fixture: signature probabilities:list/1/float, threshold:float/0/float · returned int · level recorded 2026-09-22
validate_score_6_cap src/evaluation/uncertain.py ran · honoured contract fingerprinted MIT (permissive) · d7f2089b77f86f4e · report fixture: signature score_6_cap:float/0/float · returned float · level recorded 2026-09-22
_build_conflict_detection_summary src/evaluation/uncertain.py unverified MIT (permissive) · b67989e5323c88cd · report
_build_group_summary src/evaluation/uncertain.py unverified MIT (permissive) · 6a9b276b594d7c36 · report
_validate_uncertain_prediction_keys src/evaluation/uncertain.py unverified MIT (permissive) · 77f48f2cf7fd5b00 · report
build_expert_reference_table src/evaluation/uncertain.py unverified MIT (permissive) · dd02ac0a15cf727e · report
disagreement_category_to_group src/evaluation/uncertain.py unverified MIT (permissive) · cd0e93748fdb396b · report
evaluate_uncertain_predictions src/evaluation/uncertain.py unverified MIT (permissive) · 091c68ad2ebfd796 · report
get_probability_interval src/evaluation/uncertain.py unverified MIT (permissive) · eaae070bd3d3fcb4 · report
score_is_on_or_above_1pct_side src/evaluation/uncertain.py unverified MIT (permissive) · 3a72cd1f72a800d3 · report
score_to_probability src/evaluation/uncertain.py unverified MIT (permissive) · d21ab5d69e26765c · report
scores_to_aggregated_probability src/evaluation/uncertain.py unverified MIT (permissive) · 2d97efeb4334e823 · report
scores_to_disagreement_category src/evaluation/uncertain.py unverified MIT (permissive) · 52420d1c582d9003 · report
scores_to_probabilities src/evaluation/uncertain.py unverified MIT (permissive) · a099e7fbbde96d8b · report
scores_to_threshold_side_indicators src/evaluation/uncertain.py unverified MIT (permissive) · b2b13d9da5ffb56d · report
scores_to_threshold_soft_target src/evaluation/uncertain.py unverified MIT (permissive) · 5aef00475f9bf162 · report

Method as code Syntology

What Syntology's graph records as this paper's claimed method, lifted into code: each assembly names its bricks (functions and classes), each with its own role and its own verification level. An assembly is not a check that the code implements the method correctly or reproduces the paper's results. Levels are each brick's own verification level in Syntology's graph (level 0: no recorded run), listed brick by brick and never combined into one level; “ran” means the brick executed on a synthesized input, not that its output is correct, and the instrument figure counts failures of Syntology's instrument, not of the code. Where a model read the code against the paper's claim, each assembly's label verdict is one model's judgement, kept in this page's JSON twin; it is not calibrated, so no card prints it.

1 assembly on this paper: 1 harvested, 0 generated.

harvested Assembly for a framework for evaluating prediction models (graph method: a framework for evaluating prediction models). 33 bricks; individually on a fixture: 19 ran (of which 4 constructed an object rather than computing a result; 6 with no instrument failure: 2 honoured, 0 violated, 4 with no contract checked; 13 where Syntology's instrument failed) · 14 unverified. The assembly has not been run end-to-end.

  1. evaluate_uncertain_predictions entry · level 0 · unverified · 091c68ad2ebfd796
  2. Dataset helper · level 1 · ran · 84af608b6dea72aa
  3. UncertainEvaluationOutputs helper · level 1 · ran · 8663cc6061a0e317
  4. _build_conflict_detection_summary metric · level 0 · unverified · b67989e5323c88cd
  5. _build_group_summary metric · level 0 · unverified · 6a9b276b594d7c36
  6. _build_overall_summary metric · level 1 · ran · our draft was wrong · d3d4ccd299025786
  7. _validate_uncertain_prediction_keys helper · level 0 · unverified · 77f48f2cf7fd5b00
  8. build_expert_reference_table data_transform · level 0 · unverified · dd02ac0a15cf727e
  9. _resolve_baseline_family helper · level 1 · ran · our draft was wrong · bee5d063b70a432f
  10. _safe_auprc metric · level 1 · ran · our draft was wrong · ccd178b7c7c7ad01
  11. _safe_auroc metric · level 1 · ran · our draft was wrong · 55a2b3235c7209b9
  12. _safe_fraction helper · level 1 · ran · honoured contract · 748c2dc270d62e67
  13. _signal_is_eligible_for_baseline helper · level 1 · ran · our draft was wrong · 5d9a8124c38aefa5
  14. _top_fraction_conflict_rate metric · level 1 · ran · our draft was wrong · ec97d71bac3cf16a
  15. _top_fraction_conflict_recall metric · level 1 · ran · our draft was wrong · e950b03f28761cf8
  16. _summarize_uncertain_subset helper · level 1 · ran · our draft was wrong · a4ffe51c1c43a222
  17. disagreement_category_to_group helper · level 0 · unverified · cd0e93748fdb396b
  18. scores_to_aggregated_probability helper · level 0 · unverified · 2d97efeb4334e823
  19. scores_to_disagreement_category helper · level 0 · unverified · 52420d1c582d9003
  20. scores_to_probabilities helper · level 0 · unverified · a099e7fbbde96d8b
  21. scores_to_threshold_soft_target helper · level 0 · unverified · 5aef00475f9bf162
  22. UncertaintySignalSpec helper · level 1 · ran · 34ea515b6dd4100f
  23. _safe_iqr helper · level 1 · ran · our draft was wrong · 10bcd380702646e6
  24. _safe_median helper · level 1 · ran · our draft was wrong · e4b30bbc6f7bc657
  25. _safe_spearman metric · level 1 · ran; the contract check could not run (RAISES) · c024bf7c27da0bf4
  26. aggregate_probabilities helper · level 1 · ran; the contract check could not run (RAISES) · 4854c5722e6548bf
  27. probabilities_to_disagreement_category helper · level 1 · ran · our draft was wrong · 80a4ed630e3ced17
  28. score_to_probability helper · level 0 · unverified · d21ab5d69e26765c
  29. scores_to_threshold_side_indicators helper · level 0 · unverified · b2b13d9da5ffb56d
  30. get_probability_interval helper · level 0 · unverified · eaae070bd3d3fcb4
  31. score_is_on_or_above_1pct_side helper · level 0 · unverified · 3a72cd1f72a800d3
  32. ProbabilityInterval helper · level 1 · ran · 53835ebb58a07736
  33. validate_score_6_cap helper · level 1 · ran · honoured contract · d7f2089b77f86f4e

Each brick ends with its code_sha256, Syntology's identity for that exact code; click one to copy the get_code call that returns it. For agents, on Syntology's MCP service: assembly(arxiv_id="2608.12477") returns these assemblies with each brick's role and wiring (how to connect).

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2608.12477, was issued in August 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections