FAILURE MAP
← Case archive

FA-95487 / Shipping rate zone lookup / Member archive

Rate card: dates compared as text · case 02

October cards are treated as older than February cards when months are not zero padded.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

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 fixture

This sample comes from the broken implementation of a controlled reproducer.

Boundary fixtureActualExpectedOutcome
generated mix 30"R2""R0"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 ↗