FAILURE MAP
← Case archive

FA-95370 / Shipping rate zone lookup / Member archive

Zone chart: garbage after ZIP3 accepted · case 05

Codes like "123AB" are rated as if they were valid ZIPs.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

dest is a ZIP string with optional surrounding whitespace, optionally ZIP+4 ("12345-6789"), or a 4-digit ZIP whose leading zero was lost (left-pad one zero). chart [[lo3, hi3, zone]] inclusive ZIP3 ranges; the narrowest matching range wins, earliest listed on equal width. Malformed -> "INVALID"; no match -> "NO_ZONE".

Why this case matters

Carrier zone charts map origin to destination ZIP3 ranges, the first step of rating.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 98"INVALID"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 ↗