{
 "schema": "retail-survival-protocol/1",
 "question": "Does a survival model with censoring say who orders next better than days since the last order on later dates it never saw, is its churn score calibrated by band, does it hold across December and June, and what contact rule follows from a stated cost and order value?",
 "data": {
  "cutoff": "2010-12-01",
  "data_start": "2009-12-01",
  "data_end_exclusive": "2011-12-10"
 },
 "training": {
  "landmarks": ["2010-03-01", "2010-04-01", "2010-05-01", "2010-06-01", "2010-07-01", "2010-08-01", "2010-09-01", "2010-10-01", "2010-11-01"],
  "complete_followup_landmarks": ["2010-03-01", "2010-04-01", "2010-05-01", "2010-06-01"],
  "step_days": 10,
  "horizon_days": 180,
  "baseline_bins_days": [[0, 30], [30, 60], [60, 90], [90, 120], [120, 180]],
  "features": ["log_recency", "log_orders", "log_value", "log_rhythm", "one_order_day", "log_units"],
  "season_months": [9, 10, 11],
  "recency_bands_days": [[0, 30], [31, 60], [61, 90], [91, 180], [181, 365]]
 },
 "refit": {
  "date": "2011-06-01",
  "landmarks_first": "2010-03-01",
  "landmarks_last": "2011-05-01"
 },
 "scored_dates": {
  "december": {"date": "2010-12-01", "horizon_days": 180},
  "march": {"date": "2011-03-01", "horizon_days": 180},
  "june": {"date": "2011-06-01", "horizon_days": 180},
  "september": {"date": "2011-09-01", "horizon_days": 90}
 },
 "score_bands": {
  "edges": [0.2, 0.4, 0.6, 0.8],
  "labels": ["under 20%", "20% to 40%", "40% to 60%", "60% to 80%", "80% or more"]
 },
 "time_points_days": [30, 60, 90, 120, 150, 180],
 "contact": {
  "cost_gbp": 5,
  "order_value_gbp": 300,
  "margin": 0.4,
  "persuaded": 0.1,
  "usd_per_gbp": 1.3,
  "patterns": {
   "flat": [0.1, 0.1, 0.1, 0.1, 0.1],
   "middle": [0.05, 0.1, 0.2, 0.1, 0.02],
   "near": [0.2, 0.2, 0.1, 0.05, 0.02]
  },
  "sweep": {
   "cost_gbp": [1, 5, 20],
   "persuaded": [0.05, 0.1, 0.2],
   "order_value_gbp": [150, 300, 600],
   "margin": [0.3, 0.4, 0.5]
  }
 },
 "holdout": {"power": 0.8, "alpha": 0.05},
 "bootstrap": {"replicates": 500, "seed": 20261106, "chunk": 50},
 "small_cell": 11,
 "predictions": [
  {"id": "P1", "text": "June: survival model AUC at least 0.03 above recency", "band": [0.03, null]},
  {"id": "P2", "text": "December: survival model AUC at least 0.03 above recency", "band": [0.03, null]},
  {"id": "P3", "text": "June: survival model AUC within 0.03 of the out-of-fold logistic regression of part four (0.784)", "band": [0.754, 0.814]},
  {"id": "P4", "text": "June, quiet customers: survival model AUC at least 0.02 above recency", "band": [0.02, null]},
  {"id": "P5", "text": "June: survival model mean band error at most 5 points", "band": [null, 0.05]},
  {"id": "P6", "text": "December: survival model mean band error at most 5 points", "band": [null, 0.05]},
  {"id": "P7", "text": "Recency table has a larger mean band error than the survival model at both dates", "band": [0, null]},
  {"id": "P8", "text": "Without the season term, the overall gap at June minus the gap at December is at least +5 points", "band": [0.05, null]},
  {"id": "P9", "text": "The season term at least halves that difference (ratio of absolute differences at most 0.5)", "band": [null, 0.5]},
  {"id": "P10", "text": "Censored counted as churn overstates churn by at least 10 points at both dates", "band": [0.10, null]},
  {"id": "P11", "text": "Complete follow-up only has a larger absolute gap than the survival model at June", "band": [0, null]},
  {"id": "P12", "text": "PSI of the no-season score bands between December and June under 0.10", "band": [null, 0.10]},
  {"id": "P13", "text": "Survival model AUC at June and December differ by at most 0.02", "band": [null, 0.02]},
  {"id": "P14", "text": "Base case at June: at least 10% of quiet customers below the threshold and at least 100 not-yet-quiet customers above it", "band": [0.10, null], "second_band": [100, null]},
  {"id": "P15", "text": "Under flat, the rule nets more than everyone quiet at both dates", "band": [0, null]},
  {"id": "P16", "text": "Everyone quiet nets above zero under flat at both dates and below zero under near at June", "band": [0, null]},
  {"id": "P17", "text": "Break-even lift is below the smallest detectable lift of the all-quiet test and of every score band at June", "band": [0, null]},
  {"id": "P18", "text": "Refit at June has a smaller absolute gap than the frozen survival model, with an AUC within 0.01", "band": [0, null], "second_band": [null, 0.01]}
 ]
}
