FAILURE MAP
← Case archive

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

Nested bin fill: repeated SKU line overwrites · case 04

When an order has two lines for the same SKU only the last line quantity is placed.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

lines [[sku, qty, unit_volume, nest_increment]]. Lines for the same SKU are merged. A nesting SKU (increment > 0) occupies unit_volume + (qty-1)*increment; others qty*unit_volume; qty 0 contributes nothing and is not counted. Bin fits when total <= bin_vol and distinct stocked SKUs <= max_skus. Return [total, fits].

Why this case matters

Nesting products such as cups and trays occupy far less space than unit cube suggests.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 67[400, false][430, false]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 ↗