SUPPLEMENTARY ANALYSES — 24 OCTOBER 2026

This directory adds supplementary analyses to the existing MIMIC-IV/eICU
project. The original models and cohorts are preserved. The external database
had been examined previously; the new results are post hoc supplementary
evaluations, not a new untouched external validation.

Required inputs
  Existing hemodynamic_extension_20260924/{mimic,eicu}_{h24,h72_all}.csv
  Existing four expanded-cohort models and four frozen diagnosis-cohort models
  Original Python modules, credentialed database access and project configuration

Environment
  Python 3.12 was used. Exact analysis dependency versions are in requirements.txt.
  Patient records, identifiers, predictions, fitted models and resampling arrays
  remain in private directories and are not distributed with the manuscript.

From the complete project root, using the analysis virtual environment:

  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/pressure/pressure_decomposition.py --phase all
  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/pressure/validate_public_results.py
  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/pressure/refresh_figures.py

  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/timing_benchmark/extract_inputs.py
  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/timing_benchmark/evaluate.py
  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/timing_benchmark/verify_results.py

  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/reporting_analysis.py
  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/reporting_figures.py
  .venv/Scripts/python.exe ph_transportability/mentor_revision_20261024/benchmark_figure.py

In Additional file 2, the pre-existing ph_transportability modules are under
code/. The new directory is code/mentor_revision_20261024/. Retain this
relative layout when rebuilding; running Python directly from code/ uses the
same module/data relationships. Original extraction/development instructions
remain in the original README. Copy the example configuration to config.json
and use your own authorised database project; no credentials are included.

The pressure script has separate develop/evaluate phases and verifies a saved
development lock before external prediction. Its four new fits use only MIMIC.
Do not modify a locked specification after examining new external results.
The extraction script performs SELECT-only BigQuery queries, checks dry-run
bytes against the configured cap, and reuses a verified local cache.

Public outputs
  pressure/public/results: four-specification pressure comparisons, paired
    uncertainty, development metrics, input representation and checks.
  timing_benchmark/public/results: diagnosis-time populations and scores,
    APACHE coverage/encoding audits, matched comparisons and validation.
  reporting/public: original-prediction checks, subgroup calibration intervals,
    exact within/between-pair AUROC decomposition and threshold net benefits.
  Scientific PNG/PDF figures accompany the corresponding public results.

Interpretation
  AUROC and average precision changes are favourable when positive; Brier
  changes are favourable when negative. Intervals use 1,000 hospital-cluster
  resamples and condition on fitted models. Crossing zero does not demonstrate
  equivalence. Supplementary comparisons are not multiplicity-adjusted.
  Full-versus-availability comparisons include pressure values and any
  component-specific recording indicators in the full pipeline. The values
  variant excludes explicit and automatic PAP indicators but retains median
  imputation patterns and other clinical missingness signals. These comparisons
  do not isolate a physiological or causal effect.
  APACHE remains a first-day score at the 72-hour landmark. The 24-hour and
  72-hour eligible populations also differ; their AUROCs are not a direct test
  of observation-window benefit. Diagnosis offsets are entry times, not onset.
