{
  "meta": {
    "threshold_tau": 0.312,
    "budget_default": 5.0,
    "n_train": 1000,
    "n_test": 400,
    "superlearner_weights_ancestors": {
      "elastic_glm": 0.3121,
      "additive_gam": 0.2882,
      "hist_gbdt": 0.17,
      "regularized_rf": 0.2297
    },
    "superlearner_cv_logloss_ancestors": {
      "elastic_glm": 0.32853,
      "additive_gam": 0.32778,
      "hist_gbdt": 0.34687,
      "regularized_rf": 0.33456,
      "superlearner": 0.32593
    }
  },
  "ward_patients": [
    {
      "id": "P1",
      "bed_label": "Bed 01 \u00b7 Trauma",
      "factual": {
        "bmi": 25.71,
        "braden_mobility": 3.0,
        "turning_q2h_pct": 52.39,
        "enteral_nutrition_pct": 50.03,
        "serum_albumin": 2.61,
        "tissue_tolerance": -1.17,
        "lab_count_48h": 40.0,
        "lactate_draws_48h": 4.0
      },
      "model_risk_before": 0.6588,
      "flat_risk_before": 0.6497,
      "oracle_risk_before": 0.5468,
      "modes": {
        "flat_unpriced": {
          "flipped": true,
          "actions": {
            "tissue_tolerance": 0.11
          },
          "model_risk_before": 0.6497,
          "model_risk_after": 0.2805,
          "oracle_risk_after": 0.1862,
          "cost": 0.83,
          "icer_per_10pp": 0.22,
          "sigma_md": 0.0489,
          "ess": 68.2,
          "used_proxy": false,
          "used_locked": true
        },
        "flat_priced": {
          "flipped": true,
          "actions": {
            "lab_count_48h": 25.0,
            "turning_q2h_pct": 100.0
          },
          "model_risk_before": 0.6497,
          "model_risk_after": 0.2938,
          "oracle_risk_after": 0.2146,
          "cost": 3.62,
          "icer_per_10pp": 1.02,
          "sigma_md": 0.131,
          "ess": 12.0,
          "used_proxy": true,
          "used_locked": false
        },
        "flat_locked_priced": {
          "flipped": false,
          "actions": {},
          "model_risk_before": 0.6588,
          "model_risk_after": 0.6588,
          "oracle_risk_after": 0.5468,
          "cost": 0.0,
          "icer_per_10pp": null,
          "sigma_md": 0.0,
          "ess": null,
          "used_proxy": false,
          "used_locked": false
        },
        "causal_priced": {
          "flipped": true,
          "actions": {
            "braden_mobility": 4.0
          },
          "model_risk_before": 0.6588,
          "model_risk_after": 0.2124,
          "oracle_risk_after": 0.2313,
          "cost": 1.73,
          "icer_per_10pp": 0.39,
          "sigma_md": 0.0217,
          "ess": 43.5,
          "used_proxy": false,
          "used_locked": false
        }
      }
    },
    {
      "id": "P2",
      "bed_label": "Bed 02 \u00b7 Sepsis",
      "factual": {
        "bmi": 16.5,
        "braden_mobility": 2.0,
        "turning_q2h_pct": 64.55,
        "enteral_nutrition_pct": 47.71,
        "serum_albumin": 2.76,
        "tissue_tolerance": -0.68,
        "lab_count_48h": 40.0,
        "lactate_draws_48h": 4.0
      },
      "model_risk_before": 0.6018,
      "flat_risk_before": 0.5668,
      "oracle_risk_before": 0.5166,
      "modes": {
        "flat_unpriced": {
          "flipped": true,
          "actions": {
            "tissue_tolerance": 0.11,
            "bmi": 17.13
          },
          "model_risk_before": 0.5668,
          "model_risk_after": 0.3108,
          "oracle_risk_after": 0.2764,
          "cost": 0.63,
          "icer_per_10pp": 0.25,
          "sigma_md": 0.0542,
          "ess": 54.9,
          "used_proxy": false,
          "used_locked": true
        },
        "flat_priced": {
          "flipped": true,
          "actions": {
            "lab_count_48h": 25.0,
            "lactate_draws_48h": 3.0
          },
          "model_risk_before": 0.5668,
          "model_risk_after": 0.3047,
          "oracle_risk_after": 0.5166,
          "cost": 0.69,
          "icer_per_10pp": 0.26,
          "sigma_md": 0.1293,
          "ess": 13.4,
          "used_proxy": true,
          "used_locked": false
        },
        "flat_locked_priced": {
          "flipped": true,
          "actions": {
            "enteral_nutrition_pct": 60.0,
            "braden_mobility": 4.0
          },
          "model_risk_before": 0.6018,
          "model_risk_after": 0.273,
          "oracle_risk_after": 0.0525,
          "cost": 4.23,
          "icer_per_10pp": 1.29,
          "sigma_md": 0.1404,
          "ess": 9.0,
          "used_proxy": false,
          "used_locked": false
        },
        "causal_priced": {
          "flipped": true,
          "actions": {
            "braden_mobility": 3.0
          },
          "model_risk_before": 0.6018,
          "model_risk_after": 0.1648,
          "oracle_risk_after": 0.2104,
          "cost": 1.73,
          "icer_per_10pp": 0.4,
          "sigma_md": 0.0725,
          "ess": 59.7,
          "used_proxy": false,
          "used_locked": false
        }
      }
    },
    {
      "id": "P3",
      "bed_label": "Bed 03 \u00b7 Post-op",
      "factual": {
        "bmi": 27.04,
        "braden_mobility": 3.0,
        "turning_q2h_pct": 46.02,
        "enteral_nutrition_pct": 43.87,
        "serum_albumin": 2.69,
        "tissue_tolerance": -0.79,
        "lab_count_48h": 47.0,
        "lactate_draws_48h": 6.0
      },
      "model_risk_before": 0.6304,
      "flat_risk_before": 0.6227,
      "oracle_risk_before": 0.4164,
      "modes": {
        "flat_unpriced": {
          "flipped": true,
          "actions": {
            "tissue_tolerance": 0.57
          },
          "model_risk_before": 0.6227,
          "model_risk_after": 0.2719,
          "oracle_risk_after": 0.1084,
          "cost": 0.88,
          "icer_per_10pp": 0.25,
          "sigma_md": 0.0628,
          "ess": 32.7,
          "used_proxy": false,
          "used_locked": true
        },
        "flat_priced": {
          "flipped": true,
          "actions": {
            "lab_count_48h": 25.0,
            "turning_q2h_pct": 100.0
          },
          "model_risk_before": 0.6227,
          "model_risk_after": 0.282,
          "oracle_risk_after": 0.1169,
          "cost": 4.21,
          "icer_per_10pp": 1.24,
          "sigma_md": 0.1406,
          "ess": 14.5,
          "used_proxy": true,
          "used_locked": false
        },
        "flat_locked_priced": {
          "flipped": false,
          "actions": {},
          "model_risk_before": 0.6304,
          "model_risk_after": 0.6304,
          "oracle_risk_after": 0.4164,
          "cost": 0.0,
          "icer_per_10pp": null,
          "sigma_md": 0.0,
          "ess": null,
          "used_proxy": false,
          "used_locked": false
        },
        "causal_priced": {
          "flipped": true,
          "actions": {
            "braden_mobility": 4.0
          },
          "model_risk_before": 0.6304,
          "model_risk_after": 0.2046,
          "oracle_risk_after": 0.151,
          "cost": 1.73,
          "icer_per_10pp": 0.41,
          "sigma_md": 0.0693,
          "ess": 51.9,
          "used_proxy": false,
          "used_locked": false
        }
      }
    },
    {
      "id": "P4",
      "bed_label": "Bed 04 \u00b7 Cardiac",
      "factual": {
        "bmi": 26.23,
        "braden_mobility": 2.0,
        "turning_q2h_pct": 62.29,
        "enteral_nutrition_pct": 62.49,
        "serum_albumin": 2.86,
        "tissue_tolerance": -0.41,
        "lab_count_48h": 44.0,
        "lactate_draws_48h": 5.0
      },
      "model_risk_before": 0.4268,
      "flat_risk_before": 0.4558,
      "oracle_risk_before": 0.4279,
      "modes": {
        "flat_unpriced": {
          "flipped": true,
          "actions": {
            "tissue_tolerance": 0.33
          },
          "model_risk_before": 0.4558,
          "model_risk_after": 0.2926,
          "oracle_risk_after": 0.2227,
          "cost": 0.48,
          "icer_per_10pp": 0.29,
          "sigma_md": 0.0243,
          "ess": 124.4,
          "used_proxy": false,
          "used_locked": true
        },
        "flat_priced": {
          "flipped": true,
          "actions": {
            "lab_count_48h": 30.0
          },
          "model_risk_before": 0.4558,
          "model_risk_after": 0.2752,
          "oracle_risk_after": 0.4279,
          "cost": 0.45,
          "icer_per_10pp": 0.25,
          "sigma_md": 0.0564,
          "ess": 108.6,
          "used_proxy": true,
          "used_locked": false
        },
        "flat_locked_priced": {
          "flipped": true,
          "actions": {
            "braden_mobility": 3.0,
            "enteral_nutrition_pct": 75.0
          },
          "model_risk_before": 0.4268,
          "model_risk_after": 0.302,
          "oracle_risk_after": 0.1341,
          "cost": 2.67,
          "icer_per_10pp": 2.14,
          "sigma_md": 0.0594,
          "ess": 154.9,
          "used_proxy": false,
          "used_locked": false
        },
        "causal_priced": {
          "flipped": true,
          "actions": {
            "enteral_nutrition_pct": 75.0
          },
          "model_risk_before": 0.4268,
          "model_risk_after": 0.2351,
          "oracle_risk_after": 0.3832,
          "cost": 0.94,
          "icer_per_10pp": 0.49,
          "sigma_md": 0.0473,
          "ess": 195.0,
          "used_proxy": false,
          "used_locked": false
        }
      }
    },
    {
      "id": "P5",
      "bed_label": "Bed 05 \u00b7 Respiratory",
      "factual": {
        "bmi": 29.03,
        "braden_mobility": 2.0,
        "turning_q2h_pct": 81.91,
        "enteral_nutrition_pct": 38.14,
        "serum_albumin": 3.08,
        "tissue_tolerance": -0.85,
        "lab_count_48h": 39.0,
        "lactate_draws_48h": 4.0
      },
      "model_risk_before": 0.6652,
      "flat_risk_before": 0.6305,
      "oracle_risk_before": 0.5516,
      "modes": {
        "flat_unpriced": {
          "flipped": true,
          "actions": {
            "tissue_tolerance": 0.11
          },
          "model_risk_before": 0.6305,
          "model_risk_after": 0.3114,
          "oracle_risk_after": 0.2619,
          "cost": 0.62,
          "icer_per_10pp": 0.19,
          "sigma_md": 0.0448,
          "ess": 109.6,
          "used_proxy": false,
          "used_locked": true
        },
        "flat_priced": {
          "flipped": true,
          "actions": {
            "lab_count_48h": 25.0,
            "lactate_draws_48h": 2.0,
            "enteral_nutrition_pct": 45.0
          },
          "model_risk_before": 0.6305,
          "model_risk_after": 0.2918,
          "oracle_risk_after": 0.5263,
          "cost": 1.41,
          "icer_per_10pp": 0.41,
          "sigma_md": 0.1217,
          "ess": 21.3,
          "used_proxy": true,
          "used_locked": false
        },
        "flat_locked_priced": {
          "flipped": true,
          "actions": {
            "enteral_nutrition_pct": 45.0,
            "braden_mobility": 4.0,
            "turning_q2h_pct": 100.0
          },
          "model_risk_before": 0.6652,
          "model_risk_after": 0.274,
          "oracle_risk_after": 0.0557,
          "cost": 4.82,
          "icer_per_10pp": 1.23,
          "sigma_md": 0.1492,
          "ess": 8.6,
          "used_proxy": false,
          "used_locked": false
        },
        "causal_priced": {
          "flipped": true,
          "actions": {
            "enteral_nutrition_pct": 60.0
          },
          "model_risk_before": 0.6652,
          "model_risk_after": 0.2725,
          "oracle_risk_after": 0.4707,
          "cost": 1.5,
          "icer_per_10pp": 0.38,
          "sigma_md": 0.0491,
          "ess": 98.6,
          "used_proxy": false,
          "used_locked": false
        }
      }
    },
    {
      "id": "P6",
      "bed_label": "Bed 06 \u00b7 Neuro-ICU",
      "factual": {
        "bmi": 23.39,
        "braden_mobility": 3.0,
        "turning_q2h_pct": 50.69,
        "enteral_nutrition_pct": 47.34,
        "serum_albumin": 2.78,
        "tissue_tolerance": -1.16,
        "lab_count_48h": 42.0,
        "lactate_draws_48h": 7.0
      },
      "model_risk_before": 0.5851,
      "flat_risk_before": 0.6301,
      "oracle_risk_before": 0.6262,
      "modes": {
        "flat_unpriced": {
          "flipped": true,
          "actions": {
            "tissue_tolerance": 0.33
          },
          "model_risk_before": 0.6301,
          "model_risk_after": 0.2874,
          "oracle_risk_after": 0.1936,
          "cost": 0.97,
          "icer_per_10pp": 0.28,
          "sigma_md": 0.065,
          "ess": 69.7,
          "used_proxy": false,
          "used_locked": true
        },
        "flat_priced": {
          "flipped": true,
          "actions": {
            "lab_count_48h": 30.0,
            "lactate_draws_48h": 2.0,
            "turning_q2h_pct": 80.0
          },
          "model_risk_before": 0.6301,
          "model_risk_after": 0.3033,
          "oracle_risk_after": 0.4017,
          "cost": 3.03,
          "icer_per_10pp": 0.93,
          "sigma_md": 0.085,
          "ess": 4.3,
          "used_proxy": true,
          "used_locked": false
        },
        "flat_locked_priced": {
          "flipped": false,
          "actions": {},
          "model_risk_before": 0.5851,
          "model_risk_after": 0.5851,
          "oracle_risk_after": 0.6262,
          "cost": 0.0,
          "icer_per_10pp": null,
          "sigma_md": 0.0,
          "ess": null,
          "used_proxy": false,
          "used_locked": false
        },
        "causal_priced": {
          "flipped": true,
          "actions": {
            "braden_mobility": 4.0
          },
          "model_risk_before": 0.5851,
          "model_risk_after": 0.1824,
          "oracle_risk_after": 0.2947,
          "cost": 1.73,
          "icer_per_10pp": 0.43,
          "sigma_md": 0.0258,
          "ess": 31.5,
          "used_proxy": false,
          "used_locked": false
        }
      }
    }
  ],
  "model_dependence_rays": {
    "focus_bed": "Bed 04 \u00b7 Cardiac",
    "steps": [
      0.0,
      0.1,
      0.2,
      0.3,
      0.4,
      0.5,
      0.6,
      0.7,
      0.8,
      0.9,
      1.0
    ],
    "proxy_shortcut_ray": {
      "feature_basis": "All 8 features (including surveillance counts)",
      "mean_risk": [
        0.4558,
        0.4332,
        0.3601,
        0.2698,
        0.2262,
        0.2058,
        0.193,
        0.1817,
        0.1721,
        0.164,
        0.1569
      ],
      "sigma_md": [
        0.0395,
        0.0429,
        0.0372,
        0.0557,
        0.0684,
        0.0839,
        0.0958,
        0.1052,
        0.1123,
        0.1178,
        0.1222
      ],
      "ess": [
        247.7,
        239.7,
        180.6,
        106.3,
        53.4,
        26.0,
        13.2,
        7.6,
        5.2,
        4.3,
        3.9
      ],
      "per_learner": {
        "elastic_glm": [
          0.4707,
          0.3867,
          0.3036,
          0.2272,
          0.162,
          0.1103,
          0.0719,
          0.0451,
          0.0273,
          0.016,
          0.0091
        ],
        "additive_gam": [
          0.5051,
          0.4985,
          0.406,
          0.2838,
          0.1963,
          0.168,
          0.1618,
          0.1446,
          0.1265,
          0.1078,
          0.0893
        ],
        "hist_gbdt": [
          0.4019,
          0.4131,
          0.3699,
          0.1888,
          0.1831,
          0.1831,
          0.1717,
          0.1717,
          0.1717,
          0.1717,
          0.1717
        ],
        "regularized_rf": [
          0.4268,
          0.4166,
          0.3529,
          0.3373,
          0.3321,
          0.3321,
          0.3321,
          0.3321,
          0.3321,
          0.3321,
          0.3321
        ]
      }
    },
    "capre_manifold_ray": {
      "feature_basis": "6 causal ancestors (propagated via spline SCM)",
      "mean_risk": [
        0.4268,
        0.3398,
        0.2655,
        0.2235,
        0.1097,
        0.0789,
        0.0497,
        0.0339,
        0.031,
        0.0143,
        0.01
      ],
      "sigma_md": [
        0.0291,
        0.0236,
        0.022,
        0.0359,
        0.043,
        0.0257,
        0.0209,
        0.0108,
        0.0089,
        0.0045,
        0.0024
      ],
      "ess": [
        224.1,
        237.2,
        247.5,
        250.8,
        245.6,
        233.6,
        218.1,
        201.3,
        183.9,
        166.2,
        148.6
      ],
      "per_learner": {
        "elastic_glm": [
          0.4196,
          0.3233,
          0.2418,
          0.1758,
          0.1243,
          0.0857,
          0.0577,
          0.0382,
          0.025,
          0.0164,
          0.0109
        ],
        "additive_gam": [
          0.4661,
          0.3752,
          0.2936,
          0.2221,
          0.1611,
          0.1113,
          0.0732,
          0.0461,
          0.0285,
          0.018,
          0.0121
        ],
        "hist_gbdt": [
          0.4298,
          0.3427,
          0.2459,
          0.26,
          0.0545,
          0.0547,
          0.0184,
          0.0184,
          0.0489,
          0.0059,
          0.0055
        ],
        "regularized_rf": [
          0.385,
          0.3156,
          0.277,
          0.2632,
          0.0661,
          0.0468,
          0.0325,
          0.0243,
          0.029,
          0.0132,
          0.0094
        ]
      }
    }
  }
}