{
  "fictional": true,
  "eventContract": "First eligible completed order on a later calendar date; same-day additional orders excluded",
  "unit": "Ordering identity, not verified individual person",
  "clock": "Whole calendar-date difference; observedThrough is confirmed closed-day source coverage",
  "rows": [
    {
      "id": "A",
      "entryDate": "2026-11-01",
      "firstRepeatDate": "2026-11-03",
      "observedThrough": "2026-11-30"
    },
    {
      "id": "B",
      "entryDate": "2026-11-02",
      "firstRepeatDate": "2026-11-06",
      "observedThrough": "2026-11-30"
    },
    {
      "id": "C",
      "entryDate": "2026-11-25",
      "firstRepeatDate": null,
      "observedThrough": "2026-11-30"
    },
    {
      "id": "D",
      "entryDate": "2026-11-03",
      "firstRepeatDate": "2026-11-10",
      "observedThrough": "2026-11-30"
    },
    {
      "id": "E",
      "entryDate": "2026-11-04",
      "firstRepeatDate": "2026-11-11",
      "observedThrough": "2026-11-30"
    },
    {
      "id": "F",
      "entryDate": "2026-11-20",
      "firstRepeatDate": null,
      "observedThrough": "2026-11-30"
    },
    {
      "id": "G",
      "entryDate": "2026-11-05",
      "firstRepeatDate": "2026-11-17",
      "observedThrough": "2026-11-30"
    },
    {
      "id": "H",
      "entryDate": "2026-11-16",
      "firstRepeatDate": null,
      "observedThrough": "2026-11-30"
    },
    {
      "id": "I",
      "entryDate": "2026-11-16",
      "firstRepeatDate": null,
      "observedThrough": "2026-11-30"
    },
    {
      "id": "J",
      "entryDate": "2026-11-16",
      "firstRepeatDate": null,
      "observedThrough": "2026-11-30"
    }
  ],
  "expected14": {
    "horizon": 14,
    "observedEvents": 5,
    "rawObservedFraction": 0.5,
    "matureIdentities": 8,
    "matureEvents": 5,
    "matureFraction": 0.625,
    "estimatedRepeatFraction": 0.5714285714285714,
    "estimatedRepeatExact": "4/7",
    "riskTable": [
      {
        "day": 2,
        "atRiskBefore": 10,
        "events": 1,
        "censors": 0,
        "remainingWithoutRepeat": 0.9,
        "fraction": "9/10"
      },
      {
        "day": 4,
        "atRiskBefore": 9,
        "events": 1,
        "censors": 0,
        "remainingWithoutRepeat": 0.8,
        "fraction": "4/5"
      },
      {
        "day": 5,
        "atRiskBefore": 8,
        "events": 0,
        "censors": 1,
        "remainingWithoutRepeat": 0.8,
        "fraction": "4/5"
      },
      {
        "day": 7,
        "atRiskBefore": 7,
        "events": 2,
        "censors": 0,
        "remainingWithoutRepeat": 0.5714285714285714,
        "fraction": "4/7"
      },
      {
        "day": 10,
        "atRiskBefore": 5,
        "events": 0,
        "censors": 1,
        "remainingWithoutRepeat": 0.5714285714285714,
        "fraction": "4/7"
      },
      {
        "day": 12,
        "atRiskBefore": 4,
        "events": 1,
        "censors": 0,
        "remainingWithoutRepeat": 0.42857142857142855,
        "fraction": "3/7"
      },
      {
        "day": 14,
        "atRiskBefore": 3,
        "events": 0,
        "censors": 3,
        "remainingWithoutRepeat": 0.42857142857142855,
        "fraction": "3/7"
      }
    ],
    "observedRepeatersMedianDays": 7,
    "productLimitMedianDays": 12
  },
  "expected7": {
    "horizon": 7,
    "observedEvents": 4,
    "rawObservedFraction": 0.4,
    "matureIdentities": 9,
    "matureEvents": 4,
    "matureFraction": 0.4444444444444444,
    "estimatedRepeatFraction": 0.42857142857142855,
    "estimatedRepeatExact": "3/7",
    "riskTable": [
      {
        "day": 2,
        "atRiskBefore": 10,
        "events": 1,
        "censors": 0,
        "remainingWithoutRepeat": 0.9,
        "fraction": "9/10"
      },
      {
        "day": 4,
        "atRiskBefore": 9,
        "events": 1,
        "censors": 0,
        "remainingWithoutRepeat": 0.8,
        "fraction": "4/5"
      },
      {
        "day": 5,
        "atRiskBefore": 8,
        "events": 0,
        "censors": 1,
        "remainingWithoutRepeat": 0.8,
        "fraction": "4/5"
      },
      {
        "day": 7,
        "atRiskBefore": 7,
        "events": 2,
        "censors": 5,
        "remainingWithoutRepeat": 0.5714285714285714,
        "fraction": "4/7"
      }
    ],
    "observedRepeatersMedianDays": 5.5,
    "productLimitMedianDays": null
  },
  "shortCoverageScenario": {
    "rule": "Cap each observation at entry+10days, keep any earlier original endpoint; set out-of-coverage repeat unobserved in this separate fictional extract",
    "lastSupportedDay": 10,
    "estimatedRepeatAt14": null,
    "positiveNoRepeatFractionAt10": "4/7",
    "interpretation": "Unsupported tail; do not import G day12 event from the longer baseline extract"
  },
  "tests": [
    {
      "change": "Repeat before entry, after observation end, impossible date or duplicate identity",
      "expected": "reject"
    },
    {
      "change": "Horizon7",
      "expected": "Group day7events before censoring remaining horizon observations"
    },
    {
      "change": "All identities already repeat within supported observation",
      "expected": "Absorbing first-event endpoint may be1; distinguish from positive unobserved tail"
    }
  ],
  "sources": [
    {
      "url": "https://www.itl.nist.gov/div898/handbook/apr/section2/apr215.htm",
      "claim": "Ordinary empirical product-limit construction in reliability context; no restaurant outcomes asserted"
    },
    {
      "url": "https://users.ssc.wisc.edu/~ewfrees/ActuarialRegression2009/C14Survival.html",
      "claim": "Author chapter defines censoring and product-limit risk sets, including censoring-mechanism assumptions"
    }
  ]
}