FA-95119 / Warehouse slotting and bin packing / Member archive
Reserve allocation: cleaned pallet picked again · case 04
A pallet already moved whole in pass 1 is allocated a second time in pass 2.
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 60 | [[["P0", 20], ["P0", 10]], 0] | [[["P0", 20], ["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 ↗