FAILURE MAP
← Case archive

FA-94845 / Warehouse slotting and bin packing / Member archive

ABC velocity: tie groups split across classes · case 05

Two SKUs with identical weekly picks land in different velocity classes when their tie group straddles a band edge.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

Input [[sku, weekly_picks]]. Rank by picks descending then sku ascending. SKUs with equal picks form a tie group whose cumulative prior share is the picks of strictly faster groups. picks 0 -> D (dead stock); prior share < 80% -> A; < 95% -> B; else C. Return [[sku, class]] in input order.

Why this case matters

Velocity classes drive which SKUs are slotted into forward pick areas.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 75[["S18", "A"], ["S11", "B"], ["S06", "B"], ["S25", "A"], ["S09", "A"]][["S18", "A"], ["S11", "A"], ["S06", "B"], ["S25", "A"], ["S09", "A"]]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 ↗