FAILURE MAP
← Case archive

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

Re-slot plan: move into a still-occupied slot · case 05

A SKU is moved into a slot whose resident SKU is not being moved out.

Member previewVariant 5 · 3 implementations · 8 checks per implementation

Case contract

cands [[sku, from_slot, to_slot, weekly_picks, travel_from, travel_to]]. Weekly benefit = picks*(travel_from - travel_to); keep candidates with benefit >= move_cost; rank by benefit desc, sku, from, to. Greedily accept up to max_moves: each SKU moves once, each target is used once, and a target that is the from_slot of any candidate is occupied unless that slot was already vacated by an accepted move. Return [[sku, to_slot, benefit]].

Why this case matters

Periodic re-slotting moves SKUs whose velocity changed toward better locations.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 3[["K1", "S6", 1600], ["K4", "S4", 600], ["K3", "S7", 75]][["K1", "S5", 300], ["K3", "S7", 75]]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 ↗