FAILURE MAP
← Case archive

FA-95634 / Shipping rate zone lookup / Member archive

Flat vs weight: 70 lb flat box refused · case 04

A box weighing exactly 70 lb is refused flat-rate pricing.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

boxes [[name, L, W, H, price]] inner dims; an item fits a flat box in any orientation and flat boxes accept up to 70 lb. Weight price = weight_rates[lb-1] with lb = ceil(weight) (min 1) when lb is within the table. Choose the cheapest option; on equal price prefer flat boxes, then name. Return [option, price] or ["NONE", 0].

Why this case matters

Shippers compare flat-rate packaging with zone weight pricing.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 50["NONE", 0]["MEDIUM", 1740]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 ↗