FAILURE MAP
← Case archive

FA-95804 / Shipping rate zone lookup / Member archive

Ounce tiers: pounds truncated · case 04

A 17 oz parcel is priced as one pound.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Parcels under 16 oz are priced in ounce tiers: ounces rounded up to a whole ounce, tier = ceil(oz/4) capped at 4. 16 oz and above price by pounds = ceil(ounces/16). Zones 1 and 2 share price group 1; zone z >= 3 is group z-1. Return [kind, n, group].

Why this case matters

Lightweight services price by ounce tier before switching to pounds.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 69["LB", 1, 4]["LB", 2, 4]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 ↗