reports
Read-only analytics reports (ADR 0018), served by cmd/dp-reports from the separate analytical database the projector feeds from this context's own events. Days are UTC calendar days; from and to are inclusive dates.
Kept rate of the judged promises, per day, tier and basis
Per UTC day of judgement (the CloudEvents time of PromiseKept / PromiseBroken), per tier and per basis of the promise AS MADE (UNKNOWN while its PromiseMade is not projected). judged = kept + broken; keptRate = kept / judged; brokenByCause splits broken by the PromiseBroken cause (LATE, LOST, RETURNED); lateByMinutes is the continuous p50 / p90 of lateByMinutes over the broken LATE promises, null when there is none. Days without a judgement are omitted. Served by cmd/dp-reports (ADR 0018).
Window width, exact-day, revision and unkeepable figures of the promises made, per day and tier
Per UTC day of PromiseMade (its CloudEvents time) and per tier. windowMinutes is the mean / p50 / p90 of deliverByLatest - deliverByEarliest in minutes; exactDayShare is the share of promises whose window starts and ends on the same LOCAL calendar day in the window's timeZone (ADR 0011); a window without a loadable zone is read in UTC and also counted in zoneUnknown. revisedShare is the share with at least one PromiseRevised; unkeepableCount counts those with a PromiseUnkeepable (both at any time). Days without a promise are omitted. Served by cmd/dp-reports (ADR 0018).
Offers quoted against promises made, per day and tier, and promise coverage per region
Per UTC day and tier, offersQuoted counts DeliveryOfferQuoted and promisesMade counts PromiseMade of that day (each by its own CloudEvents time); conversion = promisesMade / offersQuoted, null when no offer was quoted that day and tier. Same-day counts, not an offer-to-promise cohort. Days with neither are omitted. promiseCoverage (ADR 0030) adds, per UTC day, the offers quoted per region (the first two characters of the destination postal prefix; the ten regions with most requests, the rest folded into other) with the cumulative counts and shares of those promised within 1, 2, 3 and 5 days; it is a sibling of days, not a field of each tier row. Each region row carries two families of fields. The OFFERS-based fields (requests, answeredWithPromise, answeredWithinDays) count offers quoted. The REQUEST-based fields (requestsAnswered, requestsWithPromise, requestsWithinDays, requestShare; ADR 0032) count the quote and estimate requests the service answered, including those answered with no promise; they are best effort (a bounded loss is tolerated) and exist only from the day the request fact was switched on, so earlier days and a service with the fact off report 0 and a null share. Served by cmd/dp-reports (ADR 0018).
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, which all read the same projection. Served by cmd/dp-reports (ADR 0018).