FA-95500 / Shipping rate zone lookup / Member archive
Rate card: new card ignored on its first day · case 05
Shipments on the effective date of a new card are rated with the previous card.
Case contract
cards [[card_id, effective_from, expires or None, version]] with dates "Y-M-D" that may lack zero padding. A card applies when effective_from <= ship date < expires. Choose the latest effective_from, then highest version, then smallest card_id. None -> "NO_CARD".
Why this case matters
Carriers publish dated rate cards; each shipment must use the card in force on its ship date.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| generated mix 21 | "NO_CARD" | "R4" | 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 ↗