FAILURE MAP
← Case archive

FA-95408 / Shipping rate zone lookup / Member archive

Rate table: zone 1 indexes the last column · case 03

Local zone 1 shipments are charged the zone 8 rate.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

rows [[max_lb, [cents for zones 2..8]]] ascending; weight is rounded up to whole lb (minimum 1) and uses the first row with max_lb >= weight. Zone 1 is billed as zone 2; zones outside 1-8 -> "NO_RATE"; a None cell -> "NO_RATE". Above the last row: last row rate + (lb over last max) * over[zone].

Why this case matters

Zone rate tables convert billable weight and zone into a base charge.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 66"NO_RATE"1100Failed

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 ↗