{
  "name": "DN Customer Cohort Retention Bridge",
  "version": "1.0.0",
  "commissionId": "N038",
  "creator": "Decentralised News",
  "checkedOn": "2026-11-29",
  "planningEdition": 2027,
  "articleUrl": "https://decentralised.news/net-gross-revenue-retention-customer-cohort-2027",
  "dataType": "Original synthetic customer ledger; no observed company results",
  "purpose": "Reconcile the same opening customers between two MRR snapshots and distinguish retention from growth caused by customers outside that cohort.",
  "observations": {
    "openingDate": "2027-01-31",
    "closingDate": "2027-07-31",
    "status": "Fictional future dates used for an educational example, not a forecast or observed result",
    "unit": "USD/month of recurring revenue on one consistently prepared basis",
    "customerIdentity": "One synthetic row per customer; customer IDs are consolidated before entry",
    "cohort": "Customer IDs declared opening with strictly positive opening MRR",
    "newBusiness": "New customer IDs with zero opening MRR; excluded from both retention measures",
    "returningBusiness": "Customer IDs inactive at opening with zero opening MRR; excluded from both retention measures"
  },
  "formulas": {
    "openingCohortMRR": "Sum opening MRR for the fixed opening customer IDs.",
    "sameCohortClosingMRR": "Sum closing MRR for those same opening customer IDs, including zero closing values.",
    "closingDateChurn": "Sum opening MRR of opening customers with zero closing MRR.",
    "contraction": "Sum opening minus closing where an opening customer has a positive closing amount below its opening amount.",
    "expansion": "Sum closing minus opening where an opening customer closes above its opening amount.",
    "grossRetainedMRR": "Sum min(opening, closing) per opening customer, equivalently opening minus closing-date churn minus contraction.",
    "GRR": "grossRetainedMRR / openingCohortMRR × 100",
    "NRR": "sameCohortClosingMRR / openingCohortMRR × 100",
    "cohortBridge": "sameCohortClosingMRR = openingCohortMRR − closingDateChurn − contraction + expansion",
    "totalClosingMRR": "sameCohortClosingMRR + newBusinessMRR + returningBusinessMRR",
    "totalMRRGrowth": "(totalClosingMRR − openingCohortMRR) / openingCohortMRR × 100",
    "payingOpeningCustomersAtClose": "Count opening customer IDs whose closing MRR is greater than zero."
  },
  "conventions": [
    "Strict two-snapshot opening-customer convention. It does not claim to reproduce any billing platform or issuer report.",
    "An opening customer remains in the cohort if it leaves and returns between snapshots; the endpoints do not reveal the interruption.",
    "A returning customer with no opening MRR remains outside the cohort, unlike some reports that add reactivation under their own conventions.",
    "Percentages are for the stated observation interval. They are not annualised, projected or multiplied across changing cohorts.",
    "A zero opening denominator is undefined and stops the calculation. Blank or unknown amounts are errors, not zero.",
    "Each customer must appear once; duplicate IDs are rejected so subscriptions are not silently mistaken for separate customers."
  ],
  "inputBounds": {
    "rows": "1–100",
    "inputStringCharactersMaximum": 50000,
    "amount": "Nonnegative plain decimal text, at most two decimal places, no more than USD 100,000,000.00/month per row and snapshot",
    "dates": "Valid YYYY-MM-DD calendar dates from 1900-01-01 to 2200-12-31, closing strictly later than opening",
    "membership": [
      "opening",
      "new",
      "returning"
    ]
  },
  "arithmetic": "The browser function parses amounts to integer cents, sums exact integers, then uses integer-ratio rounding to two percentage decimals. The reproduction uses Python Decimal independently.",
  "knownAnswer": {
    "opening_cohort_mrr_usd": "3000.00",
    "same_cohort_closing_mrr_usd": "2600.00",
    "gross_retained_mrr_usd": "2200.00",
    "churn_mrr_usd": "600.00",
    "contraction_mrr_usd": "200.00",
    "expansion_mrr_usd": "400.00",
    "new_mrr_excluded_usd": "900.00",
    "returning_mrr_excluded_usd": "200.00",
    "total_closing_mrr_usd": "3700.00",
    "grr": "73.33%",
    "nrr": "86.67%",
    "total_mrr_growth": "23.33%",
    "opening_customers": 5,
    "opening_customers_paying_at_close": 4
  },
  "validation": {
    "worksheetFixtures": {
      "count": 21,
      "passed": 21,
      "failed": 0
    },
    "independentDecimalReproductionPassed": true,
    "coverage": [
      "Gross cap at 100%",
      "NRR above 100%",
      "Full churn",
      "New business and returning business excluded",
      "Cohort bridge identities",
      "Half-up percentage rounding",
      "Zero denominator",
      "Duplicate ID",
      "Blank amount",
      "Conflicting membership",
      "Invalid calendar date",
      "Input bounds"
    ]
  },
  "sources": [
    {
      "url": "https://www.sec.gov/Archives/edgar/data/1477333/000147733326000061/cloud-20260930.htm",
      "title": "Cloudflare Form 10-Q for the quarter ended 30 September 2026 — Key Business Metrics",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "The issuer compares the same paying customers four quarters apart and excludes new customers and specified categories.",
        "Its Annualized Revenue is quarterly customer revenue multiplied by four, including usage charges.",
        "The issuer cautions that similarly titled metrics may use different methods across companies."
      ]
    },
    {
      "url": "https://help.chartmogul.com/article/143-chart-net-mrr-retention",
      "title": "ChartMogul: Net MRR Retention",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "The documented report excludes new business and describes expansion, contraction, churn and reactivation.",
        "Reactivation, plan filtering and other settings affect the documented output."
      ]
    },
    {
      "url": "https://help.chartmogul.com/article/142-chart-gross-mrr-retention",
      "title": "ChartMogul: Gross MRR Retention",
      "checkedOn": "2026-11-29",
      "supportedClaims": [
        "The documented gross measure excludes new business, expansion and reactivation.",
        "Definitions and report settings need recording before comparing results."
      ]
    }
  ],
  "limitations": [
    "Inputs are declared by the reader. No account connection, identity verification, customer completeness check or billing extraction occurs.",
    "Two endpoints cannot show intervening churn, reactivation, contract timing, effective cancellation dates or payment status.",
    "The worksheet assumes one consistently prepared MRR basis. It does not turn invoices, annual cash payments, usage events or accounting revenue into MRR.",
    "Currency translation, acquisitions, product filters, customer mergers and reporting-perimeter changes require separate evidence and treatment.",
    "A public retention percentage without a customer ledger does not reveal all customer movements.",
    "The result does not establish cash collection, gross margin, profit, lifetime value, valuation, a market benchmark or an investment outcome."
  ],
  "execution": {
    "javascript": "node check-worksheet.mjs",
    "independentPython": "python3 reproduce.py"
  },
  "files": [
    "inputs.json",
    "method.json",
    "sources.json",
    "worksheet.mjs",
    "test-cases.json",
    "expected-results.json",
    "check-worksheet.mjs",
    "reproduce.py",
    "README.md"
  ],
  "calculationModule": "calculator.js"
}
