FA-95713 / Shipping rate zone lookup / Member archive
Rate shopping: slower service wins price tie · case 03
Between equally priced services, the slower one is chosen.
Case contract
quotes [[carrier, service, price_cents, transit_days, max_lb]]. Eligible when weight <= max_lb, transit <= deadline and the carrier is not excluded (case-insensitive). Choose lowest price, then fewest days, then carrier, then service. Return [carrier, service, price] or None.
Why this case matters
Rate shopping chooses the cheapest eligible carrier service for a delivery promise.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| generated mix 39 | ["UPX", "GROUND", 1200] | ["USP", "PRIORITY", 1200] | Failed |
MEMBER ARCHIVE
The complete case is available to members.
This record includes three runnable implementations, regression fixtures, execution results, and source hashes.
Member access is invitation-based. Sign in with your invited account to inspect the sources.
Sign in to the archive ↗