{
 "schema": "saas-protocol/1",
 "question": "For a subscription product, how much do the activation, expansion and churn numbers change with the definition chosen, and how wrong does a naive retention curve get when recent cohorts have not had time to churn?",
 "data": "synthetic accounts drawn by retail/subscription.py from the rates below; every rate is an assumption",
 "calendar": {"signup_months": 24, "cutoff_month": 24, "follow_up_ages": 120},
 "generator": {
  "signups_first_month": 300,
  "signup_growth_per_month": 0.03,
  "pro_share": 0.35,
  "price_per_seat_usd": {"basic": 15, "pro": 40},
  "seats_at_start": {"one_plus_poisson_mean": 4},
  "intro_discount": {"share": 0.25, "off": 0.30, "ages": [0, 1, 2]},
  "value_state": {"steady": {"from": 0.40, "to": 0.40}, "improving": {"from": 0.30, "to": 0.50}},
  "value_path_core_share": 0.80,
  "value_day": {"first": 3, "last": 25},
  "first_30_days": {
   "setup_within_7_days": {"value": 0.85, "no_value": 0.55},
   "login_day": {"value": 0.35, "no_value": 0.18},
   "core_action_day_after_value": 0.50,
   "core_action_day_otherwise": 0.04
  },
  "leave_hazard": {"value": {"base": 0.018, "early": 1.5, "tau": 4}, "no_value": {"base": 0.05, "early": 1.0, "tau": 3}},
  "leave_lag_months": {"0": 0.35, "1": 0.35, "2": 0.15, "3": 0.05, "4_to_12": 0.10},
  "idle_month": {"value": 0.05, "no_value": 0.20},
  "seat_add": {"value": 0.12, "no_value": 0.03, "seats": [1, 3]},
  "seat_remove": {"value": 0.03, "no_value": 0.04},
  "upgrade": {"value": 0.015, "no_value": 0.004},
  "downgrade": {"value": 0.003, "no_value": 0.010},
  "reactivation": {"value": 0.05, "no_value": 0.02, "within_months": 12}
 },
 "scenarios": ["steady", "improving"],
 "base_scenario": "steady",
 "seeds": [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20],
 "pilot_seed": 0,
 "pilot": "three passes on seed 0, steady scenario, reading only monthly logo churn by cancel date and net revenue retention, against targets of about 3% to 5% and 90% to 100%: (no-value leave base 0.07, value seat add 0.08, no-value seat removal 0.06) gave 4.7% and 81%; (0.05, 0.08, 0.06) gave 3.8% and 89%; (0.05, 0.12, 0.04) gave 3.8% and 93%, kept. Seed 0 is not among the reported seeds",
 "definitions": {
  "activation": {
   "setup": "setup event within 7 days of sign-up",
   "engaged": "active on 3 or more distinct days in the first 14 days",
   "value": "core action on 4 or more distinct days in the first 30 days",
   "truth": "the generator's hidden value state",
   "cohorts": "sign-up months 1 to 23 for rates and agreement; 1 to 12 for 12-month retention by activation"
  },
  "expansion": {
   "start_set": "accounts paying in month 12, followed to month 24",
   "seat": "paying in both months and more seats in month 24 than in month 12",
   "revenue": "paying in both months and higher monthly revenue in month 24 than in month 12",
   "net_revenue_retention": "monthly revenue of the start set in month 24 over month 12, lost accounts at zero"
  },
  "churn": {
   "months": [13, 23],
   "logo_cancel": "paying last month, not paying this month, over paying last month",
   "logo_activity": "active last month, inactive this month and next, over active last month",
   "revenue_gross": "revenue lost to cancellation and contraction among last month's payers, over their revenue last month",
   "revenue_net": "net revenue change among last month's payers (losses minus expansion), over their revenue last month",
   "truth": "the generator's hidden leave decisions this month, over accounts paying and not yet leaving at the start of the month",
   "pooling": "ratio of sums over the months"
  }
 },
 "censoring": {
  "event": "first cancellation; survival at age k means not yet cancelled k months after sign-up",
  "ages": [1, 23],
  "target_age": 12,
  "estimators": {
   "naive": "share of a cohort with no cancellation seen by the cutoff, accounts not yet k months old counted as retained",
   "mature_only": "at each age, only cohorts old enough to have reached it",
   "kaplan_meier": "pooled over all cohorts, accounts leave the risk set at the cutoff",
   "hazard": "discrete-time logistic hazard on account-months: age bins 1, 2, 3, 4 to 6, 7 to 12, 13 and over, plus a linear sign-up month term; fitted by iteratively reweighted least squares"
  },
  "truth": "each cohort's own survival from the generator's full follow-up",
  "age_groups": [[0, 2], [3, 5], [6, 8], [9, 11]],
  "identity_note": "for cohorts 12 months or older at the cutoff, naive and mature-only equal the cohort's own observed survival, so their bias is zero by construction and is not reported as evidence"
 },
 "payback": {
  "acquisition_cost_usd": {"base": 1200, "sweep": [800, 1200, 2000]},
  "gross_margin": 0.80,
  "arpa": "mean first-month revenue of accounts signing up in months 13 to 24",
  "formula": "first month T with the sum over t from 0 to T-1 of ARPA x margin x (1 - monthly churn)^t at or above the acquisition cost; none within 120 months is reported as not within ten years",
  "simple": "acquisition cost over ARPA x margin, no churn",
  "truth": "sign-up months 1 to 12 with the generator's full follow-up: first month where cumulative margin per account acquired reaches the acquisition cost"
 },
 "summary": "mean over the 20 seeds, with the lowest and highest seed",
 "worked_example": "seed 1, steady scenario, accounts in sign-up order: the first that signed up in months 1 to 6, counts as activated by setup and engaged but not by value, and has a first cancellation by month 24 at least 3 months after its first two-month gap in activity; if none, drop the activation condition",
 "stopping_rule": "20 seeds per scenario, fixed before any result; no seed is added or dropped after the results, and every metric listed here is reported",
 "models": "none; no model calls"
}
