Skip to main content

Ubiquitous Language

As built

Derived from network/model/model.yaml. This context's service is built; the model carries its as-built contracts, and identifiers (Err... names, routes, CloudEvents types) are the names the service uses.

The terms this context owns come from contexts[node-performance].ul. The metric terms that have no ul entry come from the Metrics value object of NodeScorecard; their definitions say only what the model says, and the gaps are listed at the end. Code identifiers are proposed Go names (package.Type).

This context's terms​

TermDefinitionCode identifierNot to be confused with
ScorecardA node's measured performance over a rolling window, with a grade. One per node and window: scorecardId = nodeId + ':' + window.scorecard.NodeScorecardThe Operational Profile (node-topology): what the vendor declares. A scorecard is never derived from it.
WindowThe rolling period a scorecard covers: 7 days or 30 days.scorecard.Window (part of scorecardId)The Ack Window of a purchase order (vendor-connectivity), which is hours, not days.
On-Time Handover RateShare of packages handed over before requiredShipBy.scorecard.Metrics.OnTimeHandoverRatePromise-kept rate: on-time handover is judged at the node's door, the promise at the customer's.
Late Ack RateShare of purchase orders acknowledged in the last 10% of the window or expired.scorecard.Metrics.LateAckRateExpiry rate, which counts only expired purchase orders.
Reject rateThe rejectRate metric: from PurchaseOrderRejected observations.scorecard.Metrics.RejectRate (value object field)A rejection by order-sourcing (there is none; only the vendor rejects).
Expiry rateThe expiryRate metric: from PurchaseOrderExpired observations.scorecard.Metrics.ExpiryRate (value object field)Late Ack Rate, which also counts late but in-time acknowledgements.
Promise-kept rateThe promiseKeptRate metric: from PromiseKept and PromiseBroken observations of the node.scorecard.Metrics.PromiseKeptRate (value object field)Promise Kept / Broken itself, which is delivery-promise's judgement of one promise.
Feed freshness p95The feedFreshnessP95Minutes metric: from InventoryFeedApplied observations of the node.scorecard.Metrics.FeedFreshnessP95Minutes (value object field)asOf on a listing (offer-availability), which this context never sees.
ObservationsThe number of facts counted in the window; a grade needs observations >= minObservations.scorecard.Metrics.ObservationsA CloudEvents message: one consumed event may be one observation, and is counted once (ErrDuplicateObservation).
GradeA, B, C or D; PROVISIONAL below the observation minimum.scorecard.GradeNode status (ACTIVE, SUSPENDED): a D grade never suspends a node.
Provisional / GradedThe two states of a scorecard: below the observation minimum, or graded.scorecard.StateProvisional, scorecard.StateGradedPROVISIONAL as a Promise state in delivery-promise (a promise awaiting order placement). Same word, different context.
Fast-tier eligibilityWhether a node may be offered SAME_DAY and NEXT_DAY: suspended when the graded 7-day on-time handover rate falls below 0.90, reinstated after three successive recompute days at 0.95 or more.scorecard.FastTierEligibility (policy)Node status (ACTIVE, SUSPENDED) in node-topology: eligibility is a promise-side filter and never changes a node's status.
HysteresisThe gap between the suspension bar (0.90) and the reinstatement bar (0.95), with the three-day streak, that stops a node at the boundary from flapping.scorecard.FastTierEligibility (policy)A grade boundary: the bars are separate from the grading bars.
Threshold breachA metric crossing its threshold downward, reported as NodeThresholdBreached.scorecard.ThresholdAlert (policy)A grade change: a breach is reported per metric, the grade is computed over three metrics.
Declared vs MeasuredWhat a vendor says (profile) against what the network observes (scorecard).(principle)A comparison metric: the model defines no metric that reads the declaration.

Neighbour terms this context uses​

TermDefinition (owner's)Code identifier (owner)Not to be confused with
NodeOne physical building of the network, of exactly one node type.node.Node (node-topology)A vendor: one vendor may operate many nodes.
Operational ProfileThe node's declared operating hours, cutoffs, handling time, throughput cap and time zone, versioned by profileRevision.node.OperationalProfile (node-topology)The Scorecard.
Handling TimeDeclared time from order release to a package ready for handover.node.OperationalProfile.HandlingTime (node-topology)Any measured duration; this context does not measure handling time.
VendorAn organisation operating fulfillment nodes for the network (the warehouse-systems fleet is vendor V-WS).vendor.VendorAccount (vendor-connectivity)A node.
Purchase Order (PO)The instruction to one vendor node to ship one shipment group in full by requiredShipBy.po.PurchaseOrder (vendor-connectivity)A customer order (customer-ordering).
AcknowledgementThe vendor's single, whole-order accept or reject.po.AckDecision (vendor-connectivity)A shipment confirmation.
Ack Window / ackByThe deadline for the acknowledgement.po.PurchaseOrder.AckBy (vendor-connectivity)The scorecard Window.
Required Ship-ByThe pickup cutoff the PO must be ready for; the fleet calls it the CPT.po.PurchaseOrder.RequiredShipBy (vendor-connectivity)Ship-By on a promise, which may be later because of the handicap.
Submission / TransactionAn asynchronous vendor write and its outcome, reconciled by transactionId.submission.Submission (vendor-connectivity)An observation.
Vendor APIThe Open Host Service of vendor-connectivity; its JSON schemas are the Published Language.apis/vendor-connectivity/openapi.yamlThis context's API, which only vendor-connectivity calls.
HandoverThe instant a vendor node's package enters the network.journey.HandedOver (shipping-and-tracking)Shipment confirmation, which is the vendor's own statement.
Inventory FeedOne vendor submission of availability for one node, full or partial.feed.InventoryFeed (offer-availability)Its quantities, which this context ignores.
Promise Kept / BrokenThe judgement at delivery against deliverByLatest.promise.Judgement (delivery-promise)Promise-kept rate (this context's aggregate of those judgements).
HandicapThe scorecard-driven delay applied to a node's shipBy.promise.ScorecardHandicap (delivery-promise)A suspension. The handicap is owned and applied by delivery-promise.
Fulfillment AssignmentThe decision of which node and path fulfil one shipment group.assignment.FulfillmentAssignment (order-sourcing)The grade, which is one input of its AssignmentCost.

Fleet translation​

None. This context has no edge to the warehouse-systems fleet. A vendor (the fleet included) sees its scorecard only through vendor-connectivity's Vendor API; the canonical network ↔ fleet term table is on WMS/WES integration.

Terms the model leaves open​

TermWhat is missing
minObservationsResolved: 50 outcomes, not 50 messages (ADR 0002 A5, gap G33). The first observation creates a PROVISIONAL card; a recompute below the minimum stays PROVISIONAL without publishing.
Window valuesThe model says "7-day and 30-day"; the literal used in scorecardId is not named. These pages write 7d and 30d.
"last 10% of the window"Read here as the purchase order's ack window (issue to ackBy), not the scorecard window. The model does not say.
Reject, expiry, promise-kept, feed-freshnessNo ul definition: no denominator and, for feed freshness, no sampling rule.
PROVISIONAL as a gradeGrade is A, B, C or D in the value object, but the ul entry and the event's grade field also carry PROVISIONAL.

Inbound metrics​

Built, ADR 0009 as realized by node-performance ADR 0009 (inbound timeliness and accuracy, two informational scorecard metrics). This section is the delta the seller-inbound design added to this page; where the service decided differently, the text below says so.

TermDefinitionCode identifierNot to be confused with
Inbound Timelinessp95 minutes between a shipment's shippedAt (InboundShipmentShipped) and the receivedAt of its InboundReceiptSubmitted. Informational.scorecard.Metrics.InboundTimelinessP95MinutesFeed freshness.
Inbound Accuracy RateShare of cartons in receipts with status RECEIVED. Informational; mixes node and seller causes (gap G52).scorecard.Metrics.InboundAccuracyRateA reject rate on purchase orders.