FAILURE MAP
← Case archive

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

FEFO putaway: mixed lot bin chosen by distance only · case 02

The receipt joins a nearby bin with a distant expiry while a bin with a matching expiry is available.

Member previewVariant 2 · 3 implementations · 8 checks per implementation

Case contract

bins [[bin, sku|None, lot, expiry_day, qty, capacity, distance]]; receipt [sku, lot, expiry_day, qty]. A bin is empty when sku is None or qty is 0. Preference: (1) non-empty bin with same sku and lot and room (capacity-qty >= receipt qty), nearest then id; (2) same sku, different lot, expiry within 30 days either way, room; smallest expiry gap, nearest, id; (3) empty bin with capacity >= qty, nearest then id; else "HOLD".

Why this case matters

FEFO storage keeps lots with similar expiry together so the earliest expiring stock ships first.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 52"B1""B3"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 ↗