FAILURE MAP
← Case archive

FA-95373 / Shipping rate zone lookup / Member archive

Billable weight: half inches rounded to even · case 03

A 12.5 inch side is measured as 12 inches, under-billing dimensional weight.

Member previewVariant 3 · 3 implementations · 8 checks per implementation

Case contract

dims inches (each rounded half up to a whole inch), actual lb rounded up (minimum 1). Dim weight = ceil(L*W*H/divisor) using rounded dims, only when the rounded cube exceeds 1728 cubic inches. Return [billable, "DIM"] if dim weight strictly exceeds rounded actual, else [actual, "ACTUAL"].

Why this case matters

Carriers bill the greater of actual and dimensional weight before zone rating.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 30[22, "DIM"][23, "DIM"]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 ↗