FA-95352 / Shipping rate zone lookup / Member archive
Zone chart: last ZIP3 of a range unmatched · case 02
Destinations on the last ZIP3 of a chart row fall to a wider row or NO_ZONE.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| generated mix 28 | "NO_ZONE" | 8 | 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 ↗