Preparing your design workspace

Loading the problem and your saved attempt…

Design a Delivery Estimation Domain

Model delivery-window estimates from route, service, calendar, capacity, and cutoff rules.

For this exercise, assume a checkout requests an estimated delivery window for a package, origin, destination, service level, and request time.

The estimator selects a carrier capability, accounts for pickup cutoffs, non-working days, a two-to-three-working-day route transit band, and a capacity observation that is fresh for thirty minutes, then returns the estimate plus the rule version used.

Inputs may be unsupported or temporarily stale; callers need explicit unavailable and degraded outcomes. A retry with the same facts and rule version must be deterministic. Design the objects, interfaces, rule strategies, interaction, and extension points.

Exclude shipment booking, live tracking, payments, and route optimization.