FAILURE MAP
← Case archive

FA-95787 / Shipping rate zone lookup / Member archive

Ounce tiers: 16 oz priced as ounces · case 02

A parcel of exactly one pound is sold the lightweight ounce price.

Member previewVariant 2 · 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 66["OZ", 4, 1]["LB", 1, 1]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 ↗