Cohort Retention Analysis Task
Build and interpret cohort retention analysis from a CSV of customers, subscriptions, or transactions, with a bundled Python script: a logo retention triangle and, when revenue is present, gross revenue retention (GRR, capped at 100%, excludes expansion) and net revenue retention (NRR, includes expansion) by cohort, plus trailing-twelve-month NRR. Handles reactivations, mid-month starts, plan changes, and small cohorts, then reads curves for flattening, cohort-over-cohort improvement, and segment differences. Use when asked for a cohort analysis, retention curve or triangle, NRR or GRR, or whether newer customers retain better. Do not use for churn risk on named accounts (churn-risk-review), a customer health score (design-customer-health-score), or unit economics (model-unit-economics).