← Files DataARCHIVED FILE

templates/data-app/base/examples/main-report/data.json

53.3 KB · Sep 30, 2026 · 23:19 UTC

↓ Download file

{
  "id": "meridian-home-delivery-diagnostic",
  "title": "Late deliveries point to a dispatch problem at East",
  "surface": "report",
  "status": "fixture",
  "generatedAt": "2026-08-21T09:00:00Z",
  "filters": [],
  "report": {
    "asOf": "2026-08-20",
    "originalQuestion": "Why are more orders arriving late, and what should we fix first?"
  },
  "queries": {
    "weekly": {
      "label": "Late deliveries by promised week",
      "reportingField": "week",
      "rows": [
        {
          "week": "2026-06-22",
          "orders": 4000,
          "lateOrders": 144,
          "lateRate": 0.036,
          "context": ""
        },
        {
          "week": "2026-06-29",
          "orders": 4000,
          "lateOrders": 152,
          "lateRate": 0.038,
          "context": ""
        },
        {
          "week": "2026-07-06",
          "orders": 4000,
          "lateOrders": 164,
          "lateRate": 0.041,
          "context": ""
        },
        {
          "week": "2026-07-13",
          "orders": 4000,
          "lateOrders": 180,
          "lateRate": 0.045,
          "context": ""
        },
        {
          "week": "2026-07-20",
          "orders": 5000,
          "lateOrders": 440,
          "lateRate": 0.088,
          "context": "East pickup moved to 16:30"
        },
        {
          "week": "2026-07-27",
          "orders": 5000,
          "lateOrders": 480,
          "lateRate": 0.096,
          "context": ""
        },
        {
          "week": "2026-08-03",
          "orders": 5000,
          "lateOrders": 510,
          "lateRate": 0.102,
          "context": ""
        },
        {
          "week": "2026-08-10",
          "orders": 5000,
          "lateOrders": 530,
          "lateRate": 0.106,
          "context": ""
        }
      ],
      "source": {
        "label": "Synthetic research packet: order outcomes",
        "files": [
          "src/content/report/evidence/evidence.json",
          "src/content/report/diagnostic.mjs"
        ],
        "metricDefinitions": [
          {
            "field": "week",
            "label": "week",
            "definition": "Monday of original promised-delivery week, not the exact exposure date.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "orders",
            "label": "orders",
            "definition": "Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "lateOrders",
            "label": "lateOrders",
            "definition": "Orders delivered after the original promise. All have final scans by August 20.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "lateRate",
            "label": "lateRate",
            "definition": "lateOrders / orders, displayed as a percentage.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "context",
            "label": "context",
            "definition": "OPS-17 supplies the schedule change. Timing does not establish its causal effect.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          }
        ],
        "evidenceFlow": [
          {
            "title": "Synthetic evidence and scope",
            "detail": "No real company, live query, or interview is represented. Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero."
          },
          {
            "title": "OPS-17",
            "detail": "2026-07-20 · East collection time changed without a packing-wave change. The East weekday collection moved from 18:00 to 16:30 local time on July 20. The afternoon packing wave still starts at 16:45. Checkout still accepts eligible orders for the same dispatch day until 16:00. West collection and packing schedules are unchanged. The cohort chart places the event in the week beginning July 20; its rates group orders by promised delivery week, not the exact day they encountered the change."
          },
          {
            "title": "QA-1",
            "detail": "2026-08-20 · Order counts, promise dates, and dispatch classifications reconcile. Weekly, warehouse, placement-time, and failure-stage cuts reconcile to 16,000 baseline orders with 640 late and 20,000 recent orders with 1,960 late. Failure-stage buckets apply only to late-delivered orders and are mutually exclusive: missed the planned dispatch collection, or handed off by that collection and delivered late. A late order that misses dispatch remains in that first bucket even if the carrier also delays it. The classification locates a failure stage; it does not assign responsibility or prove that avoiding that failure would prevent late delivery. All counts in this report are fictional, authored for this example. Order time means placement time in each warehouse’s local timezone (East: America/New_York; West: America/Los_Angeles). The latest planned dispatch collection that could meet each original customer promise determines the stage deadline. The warehouse mix calculation first changes warehouse rates at baseline shares, then changes shares at recent rates. It is an order-dependent accounting split, not causal attribution. All cuts use orders placed by 16:00 local warehouse time and eligible for same-day dispatch. After-cutoff orders are outside the question tested by this packet."
          },
          {
            "title": "Reproduce",
            "detail": "Run node src/content/report/diagnostic.mjs. Source SHA-256: 30abb9e6d7944ed7d5b2cc84c6ed8db6ce2a55f99c62519589461b88b5734d61. Counts reconcile across every cut. No SQL or external service is used."
          }
        ]
      }
    },
    "warehouse": {
      "label": "Warehouse comparison",
      "rows": [
        {
          "warehouse": "East",
          "beforeOrders": 9600,
          "beforeLate": 576,
          "currentOrders": 13000,
          "currentLate": 1820,
          "baselineRate": 0.06,
          "currentRate": 0.14
        },
        {
          "warehouse": "West",
          "beforeOrders": 6400,
          "beforeLate": 64,
          "currentOrders": 7000,
          "currentLate": 140,
          "baselineRate": 0.01,
          "currentRate": 0.02
        }
      ],
      "source": {
        "label": "Synthetic research packet: warehouse comparison",
        "files": [
          "src/content/report/evidence/evidence.json",
          "src/content/report/diagnostic.mjs"
        ],
        "metricDefinitions": [
          {
            "field": "warehouse",
            "label": "warehouse",
            "definition": "Disjoint shipping warehouse assignment.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "beforeOrders",
            "label": "beforeOrders",
            "definition": "Eligible orders, June 22–July 19, 2026.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "currentOrders",
            "label": "currentOrders",
            "definition": "Eligible orders, July 20–August 16, 2026.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "beforeLate",
            "label": "beforeLate",
            "definition": "Baseline orders delivered after their original promise.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "currentLate",
            "label": "currentLate",
            "definition": "Recent orders delivered after their original promise.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "baselineRate",
            "label": "baselineRate",
            "definition": "beforeLate / beforeOrders, within this group.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "currentRate",
            "label": "currentRate",
            "definition": "currentLate / currentOrders, within this group.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          }
        ],
        "evidenceFlow": [
          {
            "title": "Synthetic evidence and scope",
            "detail": "No real company, live query, or interview is represented. Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero."
          },
          {
            "title": "QA-1",
            "detail": "2026-08-20 · Order counts, promise dates, and dispatch classifications reconcile. Weekly, warehouse, placement-time, and failure-stage cuts reconcile to 16,000 baseline orders with 640 late and 20,000 recent orders with 1,960 late. Failure-stage buckets apply only to late-delivered orders and are mutually exclusive: missed the planned dispatch collection, or handed off by that collection and delivered late. A late order that misses dispatch remains in that first bucket even if the carrier also delays it. The classification locates a failure stage; it does not assign responsibility or prove that avoiding that failure would prevent late delivery. All counts in this report are fictional, authored for this example. Order time means placement time in each warehouse’s local timezone (East: America/New_York; West: America/Los_Angeles). The latest planned dispatch collection that could meet each original customer promise determines the stage deadline. The warehouse mix calculation first changes warehouse rates at baseline shares, then changes shares at recent rates. It is an order-dependent accounting split, not causal attribution. All cuts use orders placed by 16:00 local warehouse time and eligible for same-day dispatch. After-cutoff orders are outside the question tested by this packet."
          },
          {
            "title": "Reproduce",
            "detail": "Run node src/content/report/diagnostic.mjs. Source SHA-256: 30abb9e6d7944ed7d5b2cc84c6ed8db6ce2a55f99c62519589461b88b5734d61. Counts reconcile across every cut. No SQL or external service is used."
          }
        ]
      }
    },
    "bridge": {
      "label": "Additional late orders",
      "rows": [
        {
          "stage": "Order volume",
          "extraLateOrders": 160
        },
        {
          "stage": "Missed dispatch",
          "beforeLate": 400,
          "currentLate": 1520,
          "expectedAtCurrentVolume": 500,
          "extraLateOrders": 1020
        },
        {
          "stage": "After handoff",
          "beforeLate": 240,
          "currentLate": 440,
          "expectedAtCurrentVolume": 300,
          "extraLateOrders": 140
        }
      ],
      "source": {
        "label": "Synthetic research packet: dispatch classification",
        "files": [
          "src/content/report/evidence/evidence.json",
          "src/content/report/diagnostic.mjs"
        ],
        "metricDefinitions": [
          {
            "field": "stage",
            "label": "stage",
            "definition": "Mutually exclusive first failure: missed planned dispatch, or handed off on time but delivered late. Not responsibility or causal attribution.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "expectedAtCurrentVolume",
            "label": "expectedAtCurrentVolume",
            "definition": "Baseline stage count × recent orders / baseline orders.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "extraLateOrders",
            "label": "extraLateOrders",
            "definition": "Volume: added orders × baseline late rate. Other stages: recent late orders minus expectedAtCurrentVolume. All three sum to 1320 additional late orders.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "annotation",
            "label": "annotation",
            "definition": "OPS-17 documents East's 16:30 weekday pickup and 16:45 packing start. This contextual note does not attribute the all-warehouse, all-day missed-dispatch increase to that mismatch.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          }
        ],
        "evidenceFlow": [
          {
            "title": "Synthetic evidence and scope",
            "detail": "No real company, live query, or interview is represented. Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero."
          },
          {
            "title": "QA-1",
            "detail": "2026-08-20 · Order counts, promise dates, and dispatch classifications reconcile. Weekly, warehouse, placement-time, and failure-stage cuts reconcile to 16,000 baseline orders with 640 late and 20,000 recent orders with 1,960 late. Failure-stage buckets apply only to late-delivered orders and are mutually exclusive: missed the planned dispatch collection, or handed off by that collection and delivered late. A late order that misses dispatch remains in that first bucket even if the carrier also delays it. The classification locates a failure stage; it does not assign responsibility or prove that avoiding that failure would prevent late delivery. All counts in this report are fictional, authored for this example. Order time means placement time in each warehouse’s local timezone (East: America/New_York; West: America/Los_Angeles). The latest planned dispatch collection that could meet each original customer promise determines the stage deadline. The warehouse mix calculation first changes warehouse rates at baseline shares, then changes shares at recent rates. It is an order-dependent accounting split, not causal attribution. All cuts use orders placed by 16:00 local warehouse time and eligible for same-day dispatch. After-cutoff orders are outside the question tested by this packet."
          },
          {
            "title": "OPS-17",
            "detail": "2026-07-20 · East collection time changed without a packing-wave change. The East weekday collection moved from 18:00 to 16:30 local time on July 20. The afternoon packing wave still starts at 16:45. Checkout still accepts eligible orders for the same dispatch day until 16:00. West collection and packing schedules are unchanged. The cohort chart places the event in the week beginning July 20; its rates group orders by promised delivery week, not the exact day they encountered the change."
          },
          {
            "title": "Reproduce",
            "detail": "Run node src/content/report/diagnostic.mjs. Source SHA-256: 30abb9e6d7944ed7d5b2cc84c6ed8db6ce2a55f99c62519589461b88b5734d61. Counts reconcile across every cut. No SQL or external service is used."
          }
        ]
      }
    },
    "timing": {
      "label": "Warehouse and order-time comparison",
      "rows": [
        {
          "group": "East · before 14:00",
          "beforeOrders": 6400,
          "beforeLate": 192,
          "currentOrders": 8000,
          "currentLate": 560,
          "baselineRate": 0.03,
          "currentRate": 0.07
        },
        {
          "group": "East · 14:00–16:00",
          "beforeOrders": 3200,
          "beforeLate": 384,
          "currentOrders": 5000,
          "currentLate": 1260,
          "baselineRate": 0.12,
          "currentRate": 0.252
        },
        {
          "group": "West · before 14:00",
          "beforeOrders": 4800,
          "beforeLate": 48,
          "currentOrders": 5200,
          "currentLate": 104,
          "baselineRate": 0.01,
          "currentRate": 0.02
        },
        {
          "group": "West · 14:00–16:00",
          "beforeOrders": 1600,
          "beforeLate": 16,
          "currentOrders": 1800,
          "currentLate": 36,
          "baselineRate": 0.01,
          "currentRate": 0.02
        }
      ],
      "source": {
        "label": "Synthetic research packet: placement-time comparison",
        "files": [
          "src/content/report/evidence/evidence.json",
          "src/content/report/diagnostic.mjs"
        ],
        "metricDefinitions": [
          {
            "field": "group",
            "label": "group",
            "definition": "Warehouse and local placement time: before 14:00 or 14:00–16:00. Same service; the four groups exhaust the sample.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "beforeOrders",
            "label": "beforeOrders",
            "definition": "Eligible orders, June 22–July 19, 2026.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "currentOrders",
            "label": "currentOrders",
            "definition": "Eligible orders, July 20–August 16, 2026.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "beforeLate",
            "label": "beforeLate",
            "definition": "Baseline orders delivered after their original promise.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "currentLate",
            "label": "currentLate",
            "definition": "Recent orders delivered after their original promise.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "baselineRate",
            "label": "baselineRate",
            "definition": "beforeLate / beforeOrders, within this group.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "currentRate",
            "label": "currentRate",
            "definition": "currentLate / currentOrders, within this group.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          }
        ],
        "evidenceFlow": [
          {
            "title": "Synthetic evidence and scope",
            "detail": "No real company, live query, or interview is represented. Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero."
          },
          {
            "title": "OPS-17",
            "detail": "2026-07-20 · East collection time changed without a packing-wave change. The East weekday collection moved from 18:00 to 16:30 local time on July 20. The afternoon packing wave still starts at 16:45. Checkout still accepts eligible orders for the same dispatch day until 16:00. West collection and packing schedules are unchanged. The cohort chart places the event in the week beginning July 20; its rates group orders by promised delivery week, not the exact day they encountered the change."
          },
          {
            "title": "STAFF-8",
            "detail": "2026-08-17 · East also handled more complex orders with more new staff. Between the two four-week periods, East multi-item order share rose from 32% to 46%, and workers in their first two weeks supplied 28% of packing hours rather than 10%. Those changes overlap the collection change. Aggregate order exports do not join staff tenure or item count to individual lateness, so their separate effects remain unresolved."
          },
          {
            "title": "Reproduce",
            "detail": "Run node src/content/report/diagnostic.mjs. Source SHA-256: 30abb9e6d7944ed7d5b2cc84c6ed8db6ce2a55f99c62519589461b88b5734d61. Counts reconcile across every cut. No SQL or external service is used."
          }
        ]
      }
    },
    "economics": {
      "label": "Unaccepted pickup offer",
      "rows": [
        {
          "quotePerDay": 450,
          "quoteDays": 20,
          "quoteCost": 9000,
          "maxParcelsPerDay": 500,
          "creditPerLateOrder": 8,
          "accepted": false
        }
      ],
      "source": {
        "label": "Synthetic research packet: carrier offer and credits",
        "files": [
          "src/content/report/evidence/evidence.json",
          "src/content/report/diagnostic.mjs"
        ],
        "metricDefinitions": [
          {
            "field": "quoteCost",
            "label": "quoteCost",
            "definition": "$450 per weekday × 20 collections = $9000. Offer acceptance: false.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "maxParcelsPerDay",
            "label": "maxParcelsPerDay",
            "definition": "500 parcels per extra East weekday collection. Eligibility and delivery benefit are unknown.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "creditPerLateOrder",
            "label": "creditPerLateOrder",
            "definition": "$8 credit for each late order. Excludes support costs, repeat purchase, and operating costs.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          }
        ],
        "evidenceFlow": [
          {
            "title": "Synthetic evidence and scope",
            "detail": "No real company, live query, or interview is represented. Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero."
          },
          {
            "title": "CARRIER-4",
            "detail": "2026-08-18 · An extra 18:00 collection costs $450 per weekday. The carrier offered an additional 18:00 East collection, capped at 500 parcels per weekday, for $450 per collection. The offer has not been accepted and no capacity is reserved. Twenty weekday collections would cost $9,000. Weekend operation and arrival performance under the additional collection have not been tested."
          },
          {
            "title": "CX-6",
            "detail": "2026-08-19 · Late deliveries trigger an $8 service credit. The fictional service policy issued one $8 credit per late order in both periods: $5,120 for 640 baseline late orders and $15,680 for 1,960 recent late orders. Support staff describe repeat where-is-my-order contacts, but the packet has no validated handling-cost or repeat-purchase estimate. Credits are not the full customer or economic impact."
          },
          {
            "title": "Reproduce",
            "detail": "Run node src/content/report/diagnostic.mjs. Source SHA-256: 30abb9e6d7944ed7d5b2cc84c6ed8db6ce2a55f99c62519589461b88b5734d61. Counts reconcile across every cut. No SQL or external service is used."
          }
        ]
      }
    },
    "research": {
      "label": "Supporting records",
      "rows": [
        {
          "id": "OPS-17",
          "date": "2026-07-20",
          "type": "Warehouse change log",
          "title": "East collection time changed without a packing-wave change",
          "text": "The East weekday collection moved from 18:00 to 16:30 local time on July 20. The afternoon packing wave still starts at 16:45. Checkout still accepts eligible orders for the same dispatch day until 16:00. West collection and packing schedules are unchanged. The cohort chart places the event in the week beginning July 20; its rates group orders by promised delivery week, not the exact day they encountered the change."
        },
        {
          "id": "AUD-12",
          "date": "2026-08-12",
          "type": "Operations case review",
          "title": "Late East orders often missed collection before the carrier had them",
          "text": "Operations reviewed a convenience sample of 120 East orders already known to have arrived late. Seventy-eight were packed after the collection time, 27 were ready before collection but did not leave on that collection, and 15 were handed off on time and arrived late. The sample was chosen from available support cases, not randomly selected. It helps identify failure modes but cannot estimate their prevalence across orders or a causal effect."
        },
        {
          "id": "STAFF-8",
          "date": "2026-08-17",
          "type": "Staffing and order-mix summary",
          "title": "East also handled more complex orders with more new staff",
          "text": "Between the two four-week periods, East multi-item order share rose from 32% to 46%, and workers in their first two weeks supplied 28% of packing hours rather than 10%. Those changes overlap the collection change. Aggregate order exports do not join staff tenure or item count to individual lateness, so their separate effects remain unresolved."
        },
        {
          "id": "CARRIER-4",
          "date": "2026-08-18",
          "type": "Unaccepted carrier quote",
          "title": "An extra 18:00 collection costs $450 per weekday",
          "text": "The carrier offered an additional 18:00 East collection, capped at 500 parcels per weekday, for $450 per collection. The offer has not been accepted and no capacity is reserved. Twenty weekday collections would cost $9,000. Weekend operation and arrival performance under the additional collection have not been tested."
        },
        {
          "id": "CX-6",
          "date": "2026-08-19",
          "type": "Service-credit ledger and support notes",
          "title": "Late deliveries trigger an $8 service credit",
          "text": "The fictional service policy issued one $8 credit per late order in both periods: $5,120 for 640 baseline late orders and $15,680 for 1,960 recent late orders. Support staff describe repeat where-is-my-order contacts, but the packet has no validated handling-cost or repeat-purchase estimate. Credits are not the full customer or economic impact."
        },
        {
          "id": "QA-1",
          "date": "2026-08-20",
          "type": "Export reconciliation",
          "title": "Order counts, promise dates, and dispatch classifications reconcile",
          "text": "Weekly, warehouse, placement-time, and failure-stage cuts reconcile to 16,000 baseline orders with 640 late and 20,000 recent orders with 1,960 late. Failure-stage buckets apply only to late-delivered orders and are mutually exclusive: missed the planned dispatch collection, or handed off by that collection and delivered late. A late order that misses dispatch remains in that first bucket even if the carrier also delays it. The classification locates a failure stage; it does not assign responsibility or prove that avoiding that failure would prevent late delivery. All counts in this report are fictional, authored for this example. Order time means placement time in each warehouse’s local timezone (East: America/New_York; West: America/Los_Angeles). The latest planned dispatch collection that could meet each original customer promise determines the stage deadline. The warehouse mix calculation first changes warehouse rates at baseline shares, then changes shares at recent rates. It is an order-dependent accounting split, not causal attribution. All cuts use orders placed by 16:00 local warehouse time and eligible for same-day dispatch. After-cutoff orders are outside the question tested by this packet."
        }
      ],
      "source": {
        "label": "Synthetic research packet: six source records",
        "files": [
          "src/content/report/evidence/evidence.json",
          "src/content/report/diagnostic.mjs"
        ],
        "metricDefinitions": [
          {
            "field": "id",
            "label": "id",
            "definition": "Stable synthetic record ID.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "date",
            "label": "date",
            "definition": "Record date.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          },
          {
            "field": "text",
            "label": "text",
            "definition": "Complete synthetic source content, not a real internal document.",
            "componentIds": [
              "delivery-summary",
              "delivery-trend",
              "delivery-drivers",
              "delivery-bridge",
              "delivery-timing",
              "delivery-timing-chart",
              "delivery-evidence",
              "delivery-packing-test",
              "delivery-pickup-comparison",
              "delivery-cost-decision",
              "delivery-scope"
            ],
            "sourceLineage": [
              {
                "files": [
                  "src/content/report/evidence/evidence.json",
                  "src/content/report/diagnostic.mjs"
                ]
              }
            ]
          }
        ],
        "evidenceFlow": [
          {
            "title": "Synthetic evidence and scope",
            "detail": "No real company, live query, or interview is represented. Every non-canceled domestic standard-delivery order placed by 16:00 local warehouse time and eligible for same-day dispatch, with an original promised date in the reporting window, grouped by the Monday of that promised-delivery week. Late means delivered after the original promise, or still undelivered after that date at the August 20 cutoff. The sample includes all eligible orders; all happen to have a final delivery scan by the cutoff, so none were excluded as undelivered. Express, pickup, and split shipments are outside scope. Promise timestamps and logging definitions are unchanged. Orders placed after 16:00 are explicitly outside this case, not assumed to be zero."
          },
          {
            "title": "OPS-17",
            "detail": "2026-07-20 · East collection time changed without a packing-wave change. The East weekday collection moved from 18:00 to 16:30 local time on July 20. The afternoon packing wave still starts at 16:45. Checkout still accepts eligible orders for the same dispatch day until 16:00. West collection and packing schedules are unchanged. The cohort chart places the event in the week beginning July 20; its rates group orders by promised delivery week, not the exact day they encountered the change."
          },
          {
            "title": "AUD-12",
            "detail": "2026-08-12 · Late East orders often missed collection before the carrier had them. Operations reviewed a convenience sample of 120 East orders already known to have arrived late. Seventy-eight were packed after the collection time, 27 were ready before collection but did not leave on that collection, and 15 were handed off on time and arrived late. The sample was chosen from available support cases, not randomly selected. It helps identify failure modes but cannot estimate their prevalence across orders or a causal effect."
          },
          {
            "title": "STAFF-8",
            "detail": "2026-08-17 · East also handled more complex orders with more new staff. Between the two four-week periods, East multi-item order share rose from 32% to 46%, and workers in their first two weeks supplied 28% of packing hours rather than 10%. Those changes overlap the collection change. Aggregate order exports do not join staff tenure or item count to individual lateness, so their separate effects remain unresolved."
          },
          {
            "title": "CARRIER-4",
            "detail": "2026-08-18 · An extra 18:00 collection costs $450 per weekday. The carrier offered an additional 18:00 East collection, capped at 500 parcels per weekday, for $450 per collection. The offer has not been accepted and no capacity is reserved. Twenty weekday collections would cost $9,000. Weekend operation and arrival performance under the additional collection have not been tested."
          },
          {
            "title": "CX-6",
            "detail": "2026-08-19 · Late deliveries trigger an $8 service credit. The fictional service policy issued one $8 credit per late order in both periods: $5,120 for 640 baseline late orders and $15,680 for 1,960 recent late orders. Support staff describe repeat where-is-my-order contacts, but the packet has no validated handling-cost or repeat-purchase estimate. Credits are not the full customer or economic impact."
          },
          {
            "title": "QA-1",
            "detail": "2026-08-20 · Order counts, promise dates, and dispatch classifications reconcile. Weekly, warehouse, placement-time, and failure-stage cuts reconcile to 16,000 baseline orders with 640 late and 20,000 recent orders with 1,960 late. Failure-stage buckets apply only to late-delivered orders and are mutually exclusive: missed the planned dispatch collection, or handed off by that collection and delivered late. A late order that misses dispatch remains in that first bucket even if the carrier also delays it. The classification locates a failure stage; it does not assign responsibility or prove that avoiding that failure would prevent late delivery. All counts in this report are fictional, authored for this example. Order time means placement time in each warehouse’s local timezone (East: America/New_York; West: America/Los_Angeles). The latest planned dispatch collection that could meet each original customer promise determines the stage deadline. The warehouse mix calculation first changes warehouse rates at baseline shares, then changes shares at recent rates. It is an order-dependent accounting split, not causal attribution. All cuts use orders placed by 16:00 local warehouse time and eligible for same-day dispatch. After-cutoff orders are outside the question tested by this packet."
          },
          {
            "title": "Reproduce",
            "detail": "Run node src/content/report/diagnostic.mjs. Source SHA-256: 30abb9e6d7944ed7d5b2cc84c6ed8db6ce2a55f99c62519589461b88b5734d61. Counts reconcile across every cut. No SQL or external service is used."
          }
        ]
      }
    }
  }
}

SHA-256: 0cd83492e36172b22f4acdbd8cc6e8534940020d3838c5599b96ca056ddd1d5a