{
  "sampling_prevalence": 0.3333,
  "pi0_anchor": 0.0619,
  "pi0_grid": [
    0.02,
    0.05,
    0.0619,
    0.1,
    0.15,
    0.2
  ],
  "calibration": {
    "matched_scale": {
      "calibration_slope": 2.3747,
      "calibration_intercept": -0.0503,
      "brier": 0.1535,
      "auc": 0.8927,
      "mean_predicted": 0.4016,
      "observed_rate": 0.3333
    },
    "prior_corrected_pi0=0.02": {
      "calibration_slope": 2.3678,
      "calibration_intercept": 7.522,
      "brier": 0.2992,
      "auc": 0.8927,
      "mean_predicted": 0.0335,
      "observed_rate": 0.3333
    },
    "prior_corrected_pi0=0.05": {
      "calibration_slope": 2.3752,
      "calibration_intercept": 5.2972,
      "brier": 0.2587,
      "auc": 0.8927,
      "mean_predicted": 0.0797,
      "observed_rate": 0.3333
    },
    "prior_corrected_pi0=0.0619": {
      "calibration_slope": 2.3751,
      "calibration_intercept": 4.7599,
      "brier": 0.2454,
      "auc": 0.8927,
      "mean_predicted": 0.0969,
      "observed_rate": 0.3333
    },
    "prior_corrected_pi0=0.1": {
      "calibration_slope": 2.3751,
      "calibration_intercept": 3.5221,
      "brier": 0.211,
      "auc": 0.8927,
      "mean_predicted": 0.1486,
      "observed_rate": 0.3333
    },
    "prior_corrected_pi0=0.15": {
      "calibration_slope": 2.3754,
      "calibration_intercept": 2.4241,
      "brier": 0.1807,
      "auc": 0.8927,
      "mean_predicted": 0.2104,
      "observed_rate": 0.3333
    },
    "prior_corrected_pi0=0.2": {
      "calibration_slope": 2.3752,
      "calibration_intercept": 1.5963,
      "brier": 0.1624,
      "auc": 0.8927,
      "mean_predicted": 0.267,
      "observed_rate": 0.3333
    }
  },
  "risk_strata_pi0_anchor": {
    "low": {
      "n": 17,
      "cases": 0,
      "observed_risk": 0.0,
      "mean_predicted": 0.0361,
      "ppv": 0.0
    },
    "medium": {
      "n": 17,
      "cases": 5,
      "observed_risk": 0.2941,
      "mean_predicted": 0.0749,
      "ppv": 0.2941
    },
    "high": {
      "n": 17,
      "cases": 12,
      "observed_risk": 0.7059,
      "mean_predicted": 0.1796,
      "ppv": 0.7059
    }
  },
  "net_benefit_matched_scale": [
    {
      "threshold": 0.05,
      "model": 0.29825,
      "screen_all": 0.29825,
      "screen_none": 0.0
    },
    {
      "threshold": 0.1,
      "model": 0.25926,
      "screen_all": 0.25926,
      "screen_none": 0.0
    },
    {
      "threshold": 0.15,
      "model": 0.22261,
      "screen_all": 0.21569,
      "screen_none": 0.0
    },
    {
      "threshold": 0.2,
      "model": 0.19118,
      "screen_all": 0.16667,
      "screen_none": 0.0
    },
    {
      "threshold": 0.25,
      "model": 0.19608,
      "screen_all": 0.11111,
      "screen_none": 0.0
    },
    {
      "threshold": 0.3,
      "model": 0.21569,
      "screen_all": 0.04762,
      "screen_none": 0.0
    },
    {
      "threshold": 0.35,
      "model": 0.17798,
      "screen_all": -0.02564,
      "screen_none": 0.0
    },
    {
      "threshold": 0.4,
      "model": 0.14379,
      "screen_all": -0.11111,
      "screen_none": 0.0
    },
    {
      "threshold": 0.45,
      "model": 0.16221,
      "screen_all": -0.21212,
      "screen_none": 0.0
    },
    {
      "threshold": 0.5,
      "model": 0.17647,
      "screen_all": -0.33333,
      "screen_none": 0.0
    },
    {
      "threshold": 0.55,
      "model": 0.21133,
      "screen_all": -0.48148,
      "screen_none": 0.0
    },
    {
      "threshold": 0.6,
      "model": 0.12745,
      "screen_all": -0.66667,
      "screen_none": 0.0
    },
    {
      "threshold": 0.65,
      "model": 0.06162,
      "screen_all": -0.90476,
      "screen_none": 0.0
    }
  ],
  "net_benefit_prior_corrected": [
    {
      "threshold": 0.05,
      "model": 0.31579,
      "screen_all": 0.29825,
      "screen_none": 0.0
    },
    {
      "threshold": 0.1,
      "model": 0.25926,
      "screen_all": 0.25926,
      "screen_none": 0.0
    },
    {
      "threshold": 0.15,
      "model": 0.21223,
      "screen_all": 0.21569,
      "screen_none": 0.0
    },
    {
      "threshold": 0.2,
      "model": 0.05392,
      "screen_all": 0.16667,
      "screen_none": 0.0
    },
    {
      "threshold": 0.25,
      "model": -0.00654,
      "screen_all": 0.11111,
      "screen_none": 0.0
    },
    {
      "threshold": 0.3,
      "model": -0.0084,
      "screen_all": 0.04762,
      "screen_none": 0.0
    },
    {
      "threshold": 0.35,
      "model": -0.01056,
      "screen_all": -0.02564,
      "screen_none": 0.0
    },
    {
      "threshold": 0.4,
      "model": 0.0,
      "screen_all": -0.11111,
      "screen_none": 0.0
    },
    {
      "threshold": 0.45,
      "model": 0.0,
      "screen_all": -0.21212,
      "screen_none": 0.0
    },
    {
      "threshold": 0.5,
      "model": 0.0,
      "screen_all": -0.33333,
      "screen_none": 0.0
    },
    {
      "threshold": 0.55,
      "model": 0.0,
      "screen_all": -0.48148,
      "screen_none": 0.0
    },
    {
      "threshold": 0.6,
      "model": 0.0,
      "screen_all": -0.66667,
      "screen_none": 0.0
    },
    {
      "threshold": 0.65,
      "model": 0.0,
      "screen_all": -0.90476,
      "screen_none": 0.0
    }
  ],
  "kpsp_analytic_comparator": [
    {
      "threshold": 0.05,
      "kpsp_analytic": 0.19719
    },
    {
      "threshold": 0.1,
      "kpsp_analytic": 0.19407
    },
    {
      "threshold": 0.15,
      "kpsp_analytic": 0.19059
    },
    {
      "threshold": 0.2,
      "kpsp_analytic": 0.18667
    },
    {
      "threshold": 0.25,
      "kpsp_analytic": 0.18222
    },
    {
      "threshold": 0.3,
      "kpsp_analytic": 0.17714
    },
    {
      "threshold": 0.35,
      "kpsp_analytic": 0.17128
    },
    {
      "threshold": 0.4,
      "kpsp_analytic": 0.16444
    },
    {
      "threshold": 0.45,
      "kpsp_analytic": 0.15636
    },
    {
      "threshold": 0.5,
      "kpsp_analytic": 0.14667
    },
    {
      "threshold": 0.55,
      "kpsp_analytic": 0.13481
    },
    {
      "threshold": 0.6,
      "kpsp_analytic": 0.12
    },
    {
      "threshold": 0.65,
      "kpsp_analytic": 0.10095
    }
  ],
  "shap": {
    "global_top8": [
      {
        "feature": "screen_time",
        "mean_abs_shap": 0.1129
      },
      {
        "feature": "parent_authoritative",
        "mean_abs_shap": 0.0756
      },
      {
        "feature": "male",
        "mean_abs_shap": 0.0261
      },
      {
        "feature": "exclusive_breastfeeding",
        "mean_abs_shap": 0.0258
      },
      {
        "feature": "household_smoking",
        "mean_abs_shap": 0.0232
      },
      {
        "feature": "parent_permissive",
        "mean_abs_shap": 0.0218
      },
      {
        "feature": "birth_weight",
        "mean_abs_shap": 0.0195
      },
      {
        "feature": "age_months",
        "mean_abs_shap": 0.0185
      }
    ],
    "vignette": {
      "row_index": 4,
      "predicted_probability": 0.7062,
      "true_label": 1,
      "top_contributions": [
        {
          "feature": "screen_time",
          "shap_value": 0.1461,
          "feature_value": 3.0
        },
        {
          "feature": "ever_hospitalised",
          "shap_value": 0.0682,
          "feature_value": 1.0
        },
        {
          "feature": "exclusive_breastfeeding",
          "shap_value": 0.0563,
          "feature_value": 0.0
        },
        {
          "feature": "under5_household",
          "shap_value": 0.0458,
          "feature_value": 0.0
        },
        {
          "feature": "parent_authoritative",
          "shap_value": -0.0404,
          "feature_value": 7.0
        },
        {
          "feature": "primary_caregiver_mother",
          "shap_value": 0.038,
          "feature_value": 0.0
        }
      ]
    }
  },
  "benchmarks": [
    {
      "model": "RandomForest",
      "calibration_slope": 2.3747,
      "calibration_intercept": -0.0503,
      "brier": 0.1535,
      "auc": 0.8927,
      "mean_predicted": 0.4016,
      "observed_rate": 0.3333
    },
    {
      "model": "XGBoost",
      "calibration_slope": 0.7472,
      "calibration_intercept": -0.0287,
      "brier": 0.1335,
      "auc": 0.8824,
      "mean_predicted": 0.3272,
      "observed_rate": 0.3333
    },
    {
      "model": "Calibrated Logistic Regression",
      "calibration_slope": 2.5386,
      "calibration_intercept": 0.5243,
      "brier": 0.1736,
      "auc": 0.808,
      "mean_predicted": 0.3663,
      "observed_rate": 0.3333
    }
  ],
  "caveat": "pi0 is an assumption from a data-derived anchor and MUST be justified by the authors (T2.11). The KPSP comparator is analytic (published Se/Sp) because KPSP was not administered in the clinic arm, so no empirical KPSP-only arm exists."
}