FA-95799 / Shipping rate zone lookup / Member archive
Ounce tiers: exact multiples pushed up a tier · case 04
Parcels of exactly 4, 8 or 12 oz are priced one tier high.
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 fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| generated mix 21 | ["OZ", 4, 5] | ["OZ", 3, 5] | 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 ↗