Reproducibility materials for the haemodynamic ascertainment study

This archive contains code and aggregate tables only. Patient-level data, credentials,
individual predictions, cross-validation predictions and fitted model objects are excluded.
Source data require independent PhysioNet credentials and BigQuery access.

Use a fresh results directory when changing data or specifications. The analysis code uses
cached results: stale results must not be used for a changed analysis.

Copy config.example.json to config.json and supply your billing project and authorised
dataset names. Execute from the code directory using the requirements file.
Start with pressure extraction, which also creates the diagnostic cohort inputs:
  python pressure72_extract.py
  python pressure72_features.py
  python rebuild_frozen_comparators.py
  python hemodynamic_extract.py
  python hemodynamic_phenotype.py
  python hemodynamic_source_audit.py
  python hemodynamic_audit_summary.py
  python hemodynamic_features.py
  python hemodynamic_checks.py
  python hemodynamic_analysis.py
  python hemodynamic_model_checks.py
  python hemodynamic_unit_sensitivity.py
  python hemodynamic_explain.py
  python hemodynamic_report.py

Use rebuild_frozen_comparators.py rather than the older pressure72_analysis.py entry point;
the latter also evaluates historical models beyond this manuscript's scope. See
REPRODUCTION_SCOPE.md for the clean reconstruction sequence.
The manuscript results are documented in aggregate_results; model coefficients and
imputation medians are included for the LASSO models. JSON metadata contain settings
and aggregate metrics, not individual predictions. Do not interpret this archive as a
validated clinical decision-support system.
