FAILURE MAP
← Case archive

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

Carton selection: cheapest instead of smallest · case 04

A cheaper but bulkier carton is chosen, increasing dimensional weight charges.

Member previewVariant 4 · 3 implementations · 8 checks per implementation

Case contract

Item dims [a,b,c], weight kg, sioc flag (ships in own container). cartons [[id, L, W, H, max_kg, cost]]. SIOC items return "SIOC". Otherwise add 1 unit of dunnage per side (2 per dimension); the item fits a carton if the sorted padded dims are each <= the sorted inner dims (any orientation) and kg <= max_kg. Choose the smallest inner volume, then cost, then id. None -> "NO_FIT".

Why this case matters

Cartonization picks the shipping box, which drives material cost and dimensional weight.

One recorded failure

Sample boundary fixture

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

Boundary fixtureActualExpectedOutcome
generated mix 20"C4""C2"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 ↗