reports
Read-only analytics reports (ADR 0013), served by cmd/os-reports from the separate analytical database the projector feeds from this context's own events and analytics topics. Days are UTC calendar days; from and to are inclusive dates. A share, mean or rate is null when its denominator is 0.
Sourcing mix (in-region share, legs, reassignments), per day
Per UTC day of release (decidedAt of FulfillmentSourcingDecided): groupsReleased = the releases of that day; inRegionShare = releases whose node is in the destination's region / releases with both regions known, with unknownRegionCount = releases with an unknown region; meanLegs = the departures after the pickup per release; reassignmentRate = releases with releaseNo > 1 / groupsReleased; unsourceableCount = the FulfillmentUnsourceable events of that day; splitShipment = the split-shipment rate of the day (ADR 0018): the sourced orders whose first sourcing decision is on that day, those released as 2 or more shipment groups (a follower merged into its carrier shares the carrier's shipment) and the distribution of shipment groups per order over the buckets 1, 2, 3 and 4+. A day appears when it has a release or an unsourceable declaration.
Order splits (groups per order), per day
Per UTC day of FulfillmentQueued (an order belongs to the day its first group was queued): ordersQueued = the distinct orders; groupsPerOrder = their queued groups / ordersQueued; splitOrderShare = orders with more than one group / ordersQueued. Days without a queued order are omitted.
Cost to serve per unit, per day
Over the LAST sourcing decision of each assignment (highest releaseNo), per UTC day of its decidedAt: costCompleteShare = decisions with a complete estimate / decisions; costPerUnitCents = the sum of estimatedCostCents of the complete decisions / the sum of their units (null when undefined); p50CostCentsPerGroup and p90CostCentsPerGroup = the continuous percentiles of estimatedCostCents per group over the complete decisions (null without one). Estimates are planner-declared cents per package-unit (ADR 0011). Days without a decision are omitted.
How far the analytics projection is behind
asOf is the CloudEvents time of the newest event the projector applied; lagSeconds is now minus asOf, never negative. Both are null until the first event. One endpoint for every report: they all read the same projection.