FA-95599 / Shipping rate zone lookup / Member archive
Injection zone: equal hubs resolved by list order · case 04
Two hubs with the same zone and linehaul are chosen by input order.
Case contract
dest [x, y] and points [[name, x, y, linehaul_cents]] on a mile grid. Distance = straight line rounded up to a whole mile. Zone bands (miles, inclusive upper): 50, 150, 300, 600, 1000, 1400, 1800 -> zones 1-7, beyond -> 8. Choose the point with the lowest zone, then linehaul, then name. Return [name, zone, miles] or None.
Why this case matters
Zone skipping injects parcels at the hub that minimizes delivery zone and linehaul.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| name tiebreak | ["Z", 1, 10] | ["M", 1, 10] | 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 ↗