FAILURE MAP
← Case archive

FA-95695 / Shipping rate zone lookup / Member archive

Contract discount: minimum charge not enforced · case 05

Heavily discounted lanes fall below the contractual minimum.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Cents. Weekly spend (dollars, may have cents) selects the discount: >= 5000 -> 25%, >= 2000 -> 18%, >= 500 -> 12%, else 0. Discount = list * pct / 100 rounded half up. Net is floored at the minimum charge, but never above the list rate. Return [pct, net].

Why this case matters

Contract pricing discounts list rates by volume tier subject to a minimum.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 25[18, 574][18, 700]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 ↗