{"abstract":"Slot capacity is understated when a rotated orientation packs more units.","category":"Warehouse slotting and bin packing","checks":8,"contract":"slot [width, depth, height], unit [w, d, h]. Upright units may only rotate in the horizontal plane; others may take any of the 6 axis orientations. Vertical layers = height // unit height, capped at max_stack when max_stack > 0 (0 = unlimited). Units = best over orientations of (W//a)*(D//b)*layers. Utilization in basis points = floor(units*unit volume*10000/slot volume).","contract_signature":"slot, unit, max_stack, upright","evaluation_group":"w2-warehouse-slotting-slot-cube-fit","failed_approach":"Keeping the maximum but using uncapped layers overstates capacity when a stack limit applies.","family":"w2-warehouse-slotting-slot-cube-fit-orientation-max","id":"FA-95086","implementations":{"attempt":{"sha256":"8cca029c2ec65bef4177dcf001ecfa2f3fa77ae90ef55f1303bb42b6b3902a9e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport itertools\nN = 1\nobservations = []\ndef solve(slot, unit, max_stack, upright):\n    SW, SD, SH = slot\n    uw, ud, uh = unit\n    if upright:\n        orients = [(uw, ud, uh), (ud, uw, uh)]\n    else:\n        orients = sorted(set(itertools.permutations(unit)))\n    best = 0\n    for a, b, c in orients:\n        layers = SH // c\n        if max_stack:\n            layers = min(layers, max_stack)\n        best = max(best, (SW // a) * (SD // b) * (SH // c))\n    bp = best * uw * ud * uh * 10000 // (SW * SD * SH)\n    return [best, bp]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['laydown helps', [[40, 40, 12], [10, 10, 20], 0, False], [8, 8333]], ['generated mix 1', [[40, 40, 30], [5, 15, 7], 1, False], [40, 4375]], ['upright plane rotation', [[48, 40, 30], [12, 10, 10], 0, True], [48, 10000]], ['upright blocked', [[40, 40, 12], [10, 10, 20], 0, True], [0, 0]], ['fraction bp', [[100, 30, 45], [25, 15, 7], 0, True], [48, 9333]], ['stack cap', [[48, 40, 30], [12, 10, 10], 2, True], [32, 6666]], ['unlimited zero', [[20, 20, 40], [10, 10, 10], 0, True], [16, 10000]], ['generated mix 9', [[48, 30, 60], [25, 10, 4], 3, False], [72, 8333]]], [['generated mix 18', [[40, 48, 20], [25, 20, 10], 3, False], [4, 5208]], ['generated mix 21', [[40, 48, 45], [10, 10, 10], 2, True], [32, 3703]], ['upright blocked', [[40, 40, 12], [10, 10, 20], 0, True], [0, 0]], ['fraction bp', [[100, 30, 45], [25, 15, 7], 0, True], [48, 9333]], ['stack cap', [[48, 40, 30], [12, 10, 10], 2, True], [32, 6666]], ['generated mix 9', [[48, 30, 60], [25, 10, 4], 3, False], [72, 8333]], ['generated mix 17', [[100, 60, 45], [10, 6, 35], 2, False], [100, 7777]], ['generated mix 27', [[60, 60, 45], [8, 20, 7], 3, False], [112, 7743]]], [['generated mix 36', [[48, 30, 20], [8, 15, 7], 2, False], [24, 7000]], ['generated mix 34', [[40, 60, 45], [8, 20, 12], 2, True], [30, 5333]], ['upright plane rotation', [[48, 40, 30], [12, 10, 10], 0, True], [48, 10000]], ['laydown helps', [[40, 40, 12], [10, 10, 20], 0, False], [8, 8333]], ['unlimited zero', [[20, 20, 40], [10, 10, 10], 0, True], [16, 10000]], ['generated mix 20', [[48, 60, 60], [25, 10, 4], 3, True], [24, 1388]], ['generated mix 28', [[48, 40, 20], [25, 15, 35], 3, True], [0, 0]], ['generated mix 38', [[60, 48, 60], [12, 20, 4], 3, False], [180, 10000]]], [['generated mix 50', [[100, 48, 60], [25, 15, 35], 3, False], [12, 5468]], ['upright blocked', [[40, 40, 12], [10, 10, 20], 0, True], [0, 0]], ['fraction bp', [[100, 30, 45], [25, 15, 7], 0, True], [48, 9333]], ['stack cap', [[48, 40, 30], [12, 10, 10], 2, True], [32, 6666]], ['generated mix 31', [[48, 48, 30], [12, 6, 35], 1, True], [0, 0]], ['generated mix 39', [[60, 30, 20], [12, 6, 7], 3, True], [50, 7000]], ['generated mix 47', [[60, 60, 45], [10, 15, 4], 2, False], [180, 6666]], ['generated mix 56', [[48, 30, 45], [12, 15, 10], 3, True], [24, 6666]]], [['generated mix 63', [[100, 40, 45], [10, 15, 7], 0, True], [144, 8400]], ['generated mix 64', [[100, 40, 45], [25, 6, 4], 5, False], [200, 6666]], ['upright plane rotation', [[48, 40, 30], [12, 10, 10], 0, True], [48, 10000]], ['laydown helps', [[40, 40, 12], [10, 10, 20], 0, False], [8, 8333]], ['unlimited zero', [[20, 20, 40], [10, 10, 10], 0, True], [16, 10000]], ['generated mix 42', [[60, 30, 30], [10, 15, 35], 1, False], [3, 2916]], ['generated mix 50', [[100, 48, 60], [25, 15, 35], 3, False], [12, 5468]], ['generated mix 58', [[40, 48, 60], [10, 20, 7], 3, False], [72, 8750]]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"477ed06abcae081f1a2399923127de906221e24dfbb1ecf19def0589ae8a4532","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport itertools\nN = 1\nobservations = []\ndef solve(slot, unit, max_stack, upright):\n    SW, SD, SH = slot\n    uw, ud, uh = unit\n    if upright:\n        orients = [(uw, ud, uh), (ud, uw, uh)]\n    else:\n        orients = sorted(set(itertools.permutations(unit)))\n    best = 0\n    for a, b, c in orients:\n        layers = SH // c\n        if max_stack:\n            layers = min(layers, max_stack)\n        best = (SW // a) * (SD // b) * layers\n        break\n    bp = best * uw * ud * uh * 10000 // (SW * SD * SH)\n    return [best, bp]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['laydown helps', [[40, 40, 12], [10, 10, 20], 0, False], [8, 8333]], ['generated mix 1', [[40, 40, 30], [5, 15, 7], 1, False], [40, 4375]], ['upright plane rotation', [[48, 40, 30], [12, 10, 10], 0, True], [48, 10000]], ['upright blocked', [[40, 40, 12], [10, 10, 20], 0, True], [0, 0]], ['fraction bp', [[100, 30, 45], [25, 15, 7], 0, True], [48, 9333]], ['stack cap', [[48, 40, 30], [12, 10, 10], 2, True], [32, 6666]], ['unlimited zero', [[20, 20, 40], [10, 10, 10], 0, True], [16, 10000]], ['generated mix 9', [[48, 30, 60], [25, 10, 4], 3, False], [72, 8333]]], [['generated mix 18', [[40, 48, 20], [25, 20, 10], 3, False], [4, 5208]], ['generated mix 21', [[40, 48, 45], [10, 10, 10], 2, True], [32, 3703]], ['upright blocked', [[40, 40, 12], [10, 10, 20], 0, True], [0, 0]], ['fraction bp', [[100, 30, 45], [25, 15, 7], 0, True], [48, 9333]], ['stack cap', [[48, 40, 30], [12, 10, 10], 2, True], [32, 6666]], ['generated mix 9', [[48, 30, 60], [25, 10, 4], 3, False], [72, 8333]], ['generated mix 17', [[100, 60, 45], [10, 6, 35], 2, False], [100, 7777]], ['generated mix 27', [[60, 60, 45], [8, 20, 7], 3, False], [112, 7743]]], [['generated mix 36', [[48, 30, 20], [8, 15, 7], 2, False], [24, 7000]], ['generated mix 34', [[40, 60, 45], [8, 20, 12], 2, True], [30, 5333]], ['upright plane rotation', [[48, 40, 30], [12, 10, 10], 0, True], [48, 10000]], ['laydown helps', [[40, 40, 12], [10, 10, 20], 0, False], [8, 8333]], ['unlimited zero', [[20, 20, 40], [10, 10, 10], 0, True], [16, 10000]], ['generated mix 20', [[48, 60, 60], [25, 10, 4], 3, True], [24, 1388]], ['generated mix 28', [[48, 40, 20], [25, 15, 35], 3, True], [0, 0]], ['generated mix 38', [[60, 48, 60], [12, 20, 4], 3, False], [180, 10000]]], [['generated mix 50', [[100, 48, 60], [25, 15, 35], 3, False], [12, 5468]], ['upright blocked', [[40, 40, 12], [10, 10, 20], 0, True], [0, 0]], ['fraction bp', [[100, 30, 45], [25, 15, 7], 0, True], [48, 9333]], ['stack cap', [[48, 40, 30], [12, 10, 10], 2, True], [32, 6666]], ['generated mix 31', [[48, 48, 30], [12, 6, 35], 1, True], [0, 0]], ['generated mix 39', [[60, 30, 20], [12, 6, 7], 3, True], [50, 7000]], ['generated mix 47', [[60, 60, 45], [10, 15, 4], 2, False], [180, 6666]], ['generated mix 56', [[48, 30, 45], [12, 15, 10], 3, True], [24, 6666]]], [['generated mix 63', [[100, 40, 45], [10, 15, 7], 0, True], [144, 8400]], ['generated mix 64', [[100, 40, 45], [25, 6, 4], 5, False], [200, 6666]], ['upright plane rotation', [[48, 40, 30], [12, 10, 10], 0, True], [48, 10000]], ['laydown helps', [[40, 40, 12], [10, 10, 20], 0, False], [8, 8333]], ['unlimited zero', [[20, 20, 40], [10, 10, 10], 0, True], [16, 10000]], ['generated mix 42', [[60, 30, 30], [10, 15, 35], 1, False], [3, 2916]], ['generated mix 50', [[100, 48, 60], [25, 15, 35], 3, False], [12, 5468]], ['generated mix 58', [[40, 48, 60], [10, 20, 7], 3, False], [72, 8750]]]]\nfor label, args, expected in fixtures[N-1]:\n    check(label, solve(*args), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"Uniform unit, single orientation per slot; no mixed orientation packing. This reproducer isolates one failure mechanism. Results cover the supplied fixtures. Variants within a family share a test contract and should remain grouped when constructing evaluation splits. Related mechanisms with a shared evaluation_group must also remain together; these controlled models are not independent production incidents.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"w2-warehouse-slotting-slot-cube-fit-orientation-max","generated_at":"2026-09-29T14:52:10.455281+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Slot sizing converts product cube into units per location for slotting and replenishment.","root_cause":"The orientation loop stops after evaluating the first orientation.","sha256":"dde7d74f0bb0d1764488633cc57eb9fd60acc06dc063a38e484ae40ec31efeeb","title":"Slot fit: first orientation taken · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":43.146,"exit_code":1,"observations":[{"actual":[8,8333],"check":"laydown helps","expected":[8,8333],"passed":true},{"actual":[80,8750],"check":"generated mix 1","expected":[40,4375],"passed":false},{"actual":[48,10000],"check":"upright plane rotation","expected":[48,10000],"passed":true},{"actual":[0,0],"check":"upright blocked","expected":[0,0],"passed":true},{"actual":[48,9333],"check":"fraction bp","expected":[48,9333],"passed":true},{"actual":[48,10000],"check":"stack cap","expected":[32,6666],"passed":false},{"actual":[16,10000],"check":"unlimited zero","expected":[16,10000],"passed":true},{"actual":[72,8333],"check":"generated mix 9","expected":[72,8333],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"laydown helps\", \"actual\": [8, 8333], \"expected\": [8, 8333], \"passed\": true}, {\"check\": \"generated mix 1\", \"actual\": [80, 8750], \"expected\": [40, 4375], \"passed\": false}, {\"check\": \"upright plane rotation\", \"actual\": [48, 10000], \"expected\": [48, 10000], \"passed\": true}, {\"check\": \"upright blocked\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"fraction bp\", \"actual\": [48, 9333], \"expected\": [48, 9333], \"passed\": true}, {\"check\": \"stack cap\", \"actual\": [48, 10000], \"expected\": [32, 6666], \"passed\": false}, {\"check\": \"unlimited zero\", \"actual\": [16, 10000], \"expected\": [16, 10000], \"passed\": true}, {\"check\": \"generated mix 9\", \"actual\": [72, 8333], \"expected\": [72, 8333], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.617,"exit_code":1,"observations":[{"actual":[0,0],"check":"laydown helps","expected":[8,8333],"passed":false},{"actual":[40,4375],"check":"generated mix 1","expected":[40,4375],"passed":true},{"actual":[48,10000],"check":"upright plane rotation","expected":[48,10000],"passed":true},{"actual":[0,0],"check":"upright blocked","expected":[0,0],"passed":true},{"actual":[48,9333],"check":"fraction bp","expected":[48,9333],"passed":true},{"actual":[32,6666],"check":"stack cap","expected":[32,6666],"passed":true},{"actual":[16,10000],"check":"unlimited zero","expected":[16,10000],"passed":true},{"actual":[72,8333],"check":"generated mix 9","expected":[72,8333],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"laydown helps\", \"actual\": [0, 0], \"expected\": [8, 8333], \"passed\": false}, {\"check\": \"generated mix 1\", \"actual\": [40, 4375], \"expected\": [40, 4375], \"passed\": true}, {\"check\": \"upright plane rotation\", \"actual\": [48, 10000], \"expected\": [48, 10000], \"passed\": true}, {\"check\": \"upright blocked\", \"actual\": [0, 0], \"expected\": [0, 0], \"passed\": true}, {\"check\": \"fraction bp\", \"actual\": [48, 9333], \"expected\": [48, 9333], \"passed\": true}, {\"check\": \"stack cap\", \"actual\": [32, 6666], \"expected\": [32, 6666], \"passed\": true}, {\"check\": \"unlimited zero\", \"actual\": [16, 10000], \"expected\": [16, 10000], \"passed\": true}, {\"check\": \"generated mix 9\", \"actual\": [72, 8333], \"expected\": [72, 8333], \"passed\": true}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}