FA-95097 / Warehouse slotting and bin packing / Member archive
Reserve allocation: exact-fit pallet not cleaned out · case 02
A pallet holding exactly the remaining need is picked partially instead of moved whole.
Case contract
pallets [[license_plate, received_day, qty]]; need units. Order pallets by received_day then plate. Pass 1 takes whole pallets (qty > 0) whose qty fits the remaining need, oldest first, skipping ones that are too large. Pass 2 takes partial quantity from remaining pallets oldest first. Return [[[plate, qty] in pick order], shortfall].
Why this case matters
Reserve allocation decides which pallets feed replenishment and order picks.
One recorded failure
Sample boundary fixtureThis sample comes from the broken implementation of a controlled reproducer.
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| generated mix 23 | [[["P1", 10]], 0] | [[["P2", 10]], 0] | 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 ↗