{"abstract":"A 7.2 lb parcel is billed at 7 lb.","category":"Shipping rate zone lookup","checks":8,"contract":"dims inches (each rounded half up to a whole inch), actual lb rounded up (minimum 1). Dim weight = ceil(L*W*H/divisor) using rounded dims, only when the rounded cube exceeds 1728 cubic inches. Return [billable, \"DIM\"] if dim weight strictly exceeds rounded actual, else [actual, \"ACTUAL\"].","evaluation_group":"w2-shipping-zone-billable-weight","failed_approach":"Truncating and adding one overbills parcels that already weigh a whole pound.","family":"w2-shipping-zone-billable-weight-actual-weight-ceiling","id":"FA-95386","implementations":{"attempt":{"sha256":"fad6e43e5359c085ee24c2d4f6e7fcde01ad3ef4b0ffafe71221cfdcdbf3ed3b","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(dims, actual, divisor):\n    r = [int(math.floor(d + 0.5)) for d in dims]\n    cube = r[0] * r[1] * r[2]\n    act = max(1, int(actual) + 1)\n    dimw = -(-cube // divisor) if cube > 1728 else 0\n    if dimw > act:\n        return [dimw, 'DIM']\n    return [act, 'ACTUAL']\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 7', [[16, 13.5, 12], 5, 139], [20, 'DIM']], ['generated mix 15', [[16, 10, 10], 9, 139], [9, 'ACTUAL']], ['generated mix 23', [[12, 10, 20], 9, 166], [15, 'DIM']]], [['generated mix 79', [[10, 18.5, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 16', [[10, 10, 11.4], 5, 139], [5, 'ACTUAL']], ['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['dim ceil', [[18, 12, 10], 1, 166], [14, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 9', [[12, 12, 13.5], 30, 139], [30, 'ACTUAL']], ['generated mix 18', [[13.5, 18.5, 10], 1, 139], [20, 'DIM']], ['generated mix 26', [[10, 18.5, 12], 5, 166], [14, 'DIM']]], [['generated mix 67', [[12.5, 20, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 41', [[10, 16, 10], 14, 139], [14, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['generated mix 20', [[12, 10.5, 10], 30, 166], [30, 'ACTUAL']], ['generated mix 28', [[18.5, 12, 11.4], 2.1, 166], [16, 'DIM']], ['generated mix 36', [[20, 18.5, 12], 2.1, 166], [28, 'DIM']]], [['generated mix 64', [[13.5, 12, 20], 20.01, 166], [21, 'ACTUAL']], ['generated mix 56', [[12, 13.5, 16], 30, 166], [30, 'ACTUAL']], ['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['dim ceil', [[18, 12, 10], 1, 166], [14, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 31', [[12.5, 13.5, 12.5], 14, 139], [18, 'DIM']], ['generated mix 39', [[13.5, 24.5, 16], 7.5, 139], [41, 'DIM']], ['generated mix 47', [[10, 18.5, 18.5], 0.2, 166], [22, 'DIM']]], [['generated mix 50', [[12, 12.5, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 72', [[10.5, 11.4, 12.5], 5, 166], [5, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['generated mix 42', [[10.5, 18.5, 13.5], 1, 139], [22, 'DIM']], ['generated mix 51', [[10, 11.4, 18.5], 2.1, 139], [16, 'DIM']], ['generated mix 59', [[18.5, 18.5, 16], 9, 139], [42, 'DIM']]]]\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":"b24c5a713e364d2652e86fc2b2ec916a3f69bb58d2993908dc82ecf402feec51","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(dims, actual, divisor):\n    r = [int(math.floor(d + 0.5)) for d in dims]\n    cube = r[0] * r[1] * r[2]\n    act = max(1, round(actual))\n    dimw = -(-cube // divisor) if cube > 1728 else 0\n    if dimw > act:\n        return [dimw, 'DIM']\n    return [act, 'ACTUAL']\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 7', [[16, 13.5, 12], 5, 139], [20, 'DIM']], ['generated mix 15', [[16, 10, 10], 9, 139], [9, 'ACTUAL']], ['generated mix 23', [[12, 10, 20], 9, 166], [15, 'DIM']]], [['generated mix 79', [[10, 18.5, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 16', [[10, 10, 11.4], 5, 139], [5, 'ACTUAL']], ['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['dim ceil', [[18, 12, 10], 1, 166], [14, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 9', [[12, 12, 13.5], 30, 139], [30, 'ACTUAL']], ['generated mix 18', [[13.5, 18.5, 10], 1, 139], [20, 'DIM']], ['generated mix 26', [[10, 18.5, 12], 5, 166], [14, 'DIM']]], [['generated mix 67', [[12.5, 20, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 41', [[10, 16, 10], 14, 139], [14, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['generated mix 20', [[12, 10.5, 10], 30, 166], [30, 'ACTUAL']], ['generated mix 28', [[18.5, 12, 11.4], 2.1, 166], [16, 'DIM']], ['generated mix 36', [[20, 18.5, 12], 2.1, 166], [28, 'DIM']]], [['generated mix 64', [[13.5, 12, 20], 20.01, 166], [21, 'ACTUAL']], ['generated mix 56', [[12, 13.5, 16], 30, 166], [30, 'ACTUAL']], ['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['dim ceil', [[18, 12, 10], 1, 166], [14, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 31', [[12.5, 13.5, 12.5], 14, 139], [18, 'DIM']], ['generated mix 39', [[13.5, 24.5, 16], 7.5, 139], [41, 'DIM']], ['generated mix 47', [[10, 18.5, 18.5], 0.2, 166], [22, 'DIM']]], [['generated mix 50', [[12, 12.5, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 72', [[10.5, 11.4, 12.5], 5, 166], [5, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['generated mix 42', [[10.5, 18.5, 13.5], 1, 139], [22, 'DIM']], ['generated mix 51', [[10, 11.4, 18.5], 2.1, 139], [16, 'DIM']], ['generated mix 59', [[18.5, 18.5, 16], 9, 139], [42, 'DIM']]]]\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"},"fixed":{"sha256":"ade13211bf64739bb8e7a51b5e151c813fa3386ecca53b7f429ceb8f2b3aad52","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(dims, actual, divisor):\n    r = [int(math.floor(d + 0.5)) for d in dims]\n    cube = r[0] * r[1] * r[2]\n    act = max(1, math.ceil(actual))\n    dimw = -(-cube // divisor) if cube > 1728 else 0\n    if dimw > act:\n        return [dimw, 'DIM']\n    return [act, 'ACTUAL']\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 7', [[16, 13.5, 12], 5, 139], [20, 'DIM']], ['generated mix 15', [[16, 10, 10], 9, 139], [9, 'ACTUAL']], ['generated mix 23', [[12, 10, 20], 9, 166], [15, 'DIM']]], [['generated mix 79', [[10, 18.5, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 16', [[10, 10, 11.4], 5, 139], [5, 'ACTUAL']], ['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['dim ceil', [[18, 12, 10], 1, 166], [14, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 9', [[12, 12, 13.5], 30, 139], [30, 'ACTUAL']], ['generated mix 18', [[13.5, 18.5, 10], 1, 139], [20, 'DIM']], ['generated mix 26', [[10, 18.5, 12], 5, 166], [14, 'DIM']]], [['generated mix 67', [[12.5, 20, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 41', [[10, 16, 10], 14, 139], [14, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['generated mix 20', [[12, 10.5, 10], 30, 166], [30, 'ACTUAL']], ['generated mix 28', [[18.5, 12, 11.4], 2.1, 166], [16, 'DIM']], ['generated mix 36', [[20, 18.5, 12], 2.1, 166], [28, 'DIM']]], [['generated mix 64', [[13.5, 12, 20], 20.01, 166], [21, 'ACTUAL']], ['generated mix 56', [[12, 13.5, 16], 30, 166], [30, 'ACTUAL']], ['actual fraction up', [[10, 10, 10], 7.2, 139], [8, 'ACTUAL']], ['dim ceil', [[18, 12, 10], 1, 166], [14, 'DIM']], ['cube threshold exact', [[12, 12, 12], 1, 139], [1, 'ACTUAL']], ['generated mix 31', [[12.5, 13.5, 12.5], 14, 139], [18, 'DIM']], ['generated mix 39', [[13.5, 24.5, 16], 7.5, 139], [41, 'DIM']], ['generated mix 47', [[10, 18.5, 18.5], 0.2, 166], [22, 'DIM']]], [['generated mix 50', [[12, 12.5, 10], 20.01, 166], [21, 'ACTUAL']], ['generated mix 72', [[10.5, 11.4, 12.5], 5, 166], [5, 'ACTUAL']], ['half inch rounds up', [[12.5, 12, 12], 5, 139], [14, 'DIM']], ['just above threshold', [[12, 12, 13], 1, 166], [12, 'DIM']], ['tie goes actual', [[20, 20, 20], 58, 139], [58, 'ACTUAL']], ['generated mix 42', [[10.5, 18.5, 13.5], 1, 139], [22, 'DIM']], ['generated mix 51', [[10, 11.4, 18.5], 2.1, 139], [16, 'DIM']], ['generated mix 59', [[18.5, 18.5, 16], 9, 139], [42, 'DIM']]]]\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":"Stipulated divisor and threshold; no carrier specific exceptions. 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-shipping-zone-billable-weight-actual-weight-ceiling","generated_at":"2026-09-29T14:52:13.159296+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Carriers bill the greater of actual and dimensional weight before zone rating.","repair":"Round actual weight up to a whole pound.","root_cause":"Actual weight is rounded to nearest instead of up.","sha256":"8be15719073da13d7c62982a75b2332c8426f7311f5076200ca442dde424eebd","title":"Billable weight: actual weight rounded to nearest · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":38.46,"exit_code":1,"observations":[{"actual":[8,"ACTUAL"],"check":"actual fraction up","expected":[8,"ACTUAL"],"passed":true},{"actual":[59,"ACTUAL"],"check":"tie goes actual","expected":[58,"ACTUAL"],"passed":false},{"actual":[14,"DIM"],"check":"half inch rounds up","expected":[14,"DIM"],"passed":true},{"actual":[12,"DIM"],"check":"just above threshold","expected":[12,"DIM"],"passed":true},{"actual":[2,"ACTUAL"],"check":"cube threshold exact","expected":[1,"ACTUAL"],"passed":false},{"actual":[20,"DIM"],"check":"generated mix 7","expected":[20,"DIM"],"passed":true},{"actual":[10,"ACTUAL"],"check":"generated mix 15","expected":[9,"ACTUAL"],"passed":false},{"actual":[15,"DIM"],"check":"generated mix 23","expected":[15,"DIM"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"actual fraction up\", \"actual\": [8, \"ACTUAL\"], \"expected\": [8, \"ACTUAL\"], \"passed\": true}, {\"check\": \"tie goes actual\", \"actual\": [59, \"ACTUAL\"], \"expected\": [58, \"ACTUAL\"], \"passed\": false}, {\"check\": \"half inch rounds up\", \"actual\": [14, \"DIM\"], \"expected\": [14, \"DIM\"], \"passed\": true}, {\"check\": \"just above threshold\", \"actual\": [12, \"DIM\"], \"expected\": [12, \"DIM\"], \"passed\": true}, {\"check\": \"cube threshold exact\", \"actual\": [2, \"ACTUAL\"], \"expected\": [1, \"ACTUAL\"], \"passed\": false}, {\"check\": \"generated mix 7\", \"actual\": [20, \"DIM\"], \"expected\": [20, \"DIM\"], \"passed\": true}, {\"check\": \"generated mix 15\", \"actual\": [10, \"ACTUAL\"], \"expected\": [9, \"ACTUAL\"], \"passed\": false}, {\"check\": \"generated mix 23\", \"actual\": [15, \"DIM\"], \"expected\": [15, \"DIM\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.314,"exit_code":1,"observations":[{"actual":[7,"ACTUAL"],"check":"actual fraction up","expected":[8,"ACTUAL"],"passed":false},{"actual":[58,"ACTUAL"],"check":"tie goes actual","expected":[58,"ACTUAL"],"passed":true},{"actual":[14,"DIM"],"check":"half inch rounds up","expected":[14,"DIM"],"passed":true},{"actual":[12,"DIM"],"check":"just above threshold","expected":[12,"DIM"],"passed":true},{"actual":[1,"ACTUAL"],"check":"cube threshold exact","expected":[1,"ACTUAL"],"passed":true},{"actual":[20,"DIM"],"check":"generated mix 7","expected":[20,"DIM"],"passed":true},{"actual":[9,"ACTUAL"],"check":"generated mix 15","expected":[9,"ACTUAL"],"passed":true},{"actual":[15,"DIM"],"check":"generated mix 23","expected":[15,"DIM"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"actual fraction up\", \"actual\": [7, \"ACTUAL\"], \"expected\": [8, \"ACTUAL\"], \"passed\": false}, {\"check\": \"tie goes actual\", \"actual\": [58, \"ACTUAL\"], \"expected\": [58, \"ACTUAL\"], \"passed\": true}, {\"check\": \"half inch rounds up\", \"actual\": [14, \"DIM\"], \"expected\": [14, \"DIM\"], \"passed\": true}, {\"check\": \"just above threshold\", \"actual\": [12, \"DIM\"], \"expected\": [12, \"DIM\"], \"passed\": true}, {\"check\": \"cube threshold exact\", \"actual\": [1, \"ACTUAL\"], \"expected\": [1, \"ACTUAL\"], \"passed\": true}, {\"check\": \"generated mix 7\", \"actual\": [20, \"DIM\"], \"expected\": [20, \"DIM\"], \"passed\": true}, {\"check\": \"generated mix 15\", \"actual\": [9, \"ACTUAL\"], \"expected\": [9, \"ACTUAL\"], \"passed\": true}, {\"check\": \"generated mix 23\", \"actual\": [15, \"DIM\"], \"expected\": [15, \"DIM\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.17,"exit_code":0,"observations":[{"actual":[8,"ACTUAL"],"check":"actual fraction up","expected":[8,"ACTUAL"],"passed":true},{"actual":[58,"ACTUAL"],"check":"tie goes actual","expected":[58,"ACTUAL"],"passed":true},{"actual":[14,"DIM"],"check":"half inch rounds up","expected":[14,"DIM"],"passed":true},{"actual":[12,"DIM"],"check":"just above threshold","expected":[12,"DIM"],"passed":true},{"actual":[1,"ACTUAL"],"check":"cube threshold exact","expected":[1,"ACTUAL"],"passed":true},{"actual":[20,"DIM"],"check":"generated mix 7","expected":[20,"DIM"],"passed":true},{"actual":[9,"ACTUAL"],"check":"generated mix 15","expected":[9,"ACTUAL"],"passed":true},{"actual":[15,"DIM"],"check":"generated mix 23","expected":[15,"DIM"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"actual fraction up\", \"actual\": [8, \"ACTUAL\"], \"expected\": [8, \"ACTUAL\"], \"passed\": true}, {\"check\": \"tie goes actual\", \"actual\": [58, \"ACTUAL\"], \"expected\": [58, \"ACTUAL\"], \"passed\": true}, {\"check\": \"half inch rounds up\", \"actual\": [14, \"DIM\"], \"expected\": [14, \"DIM\"], \"passed\": true}, {\"check\": \"just above threshold\", \"actual\": [12, \"DIM\"], \"expected\": [12, \"DIM\"], \"passed\": true}, {\"check\": \"cube threshold exact\", \"actual\": [1, \"ACTUAL\"], \"expected\": [1, \"ACTUAL\"], \"passed\": true}, {\"check\": \"generated mix 7\", \"actual\": [20, \"DIM\"], \"expected\": [20, \"DIM\"], \"passed\": true}, {\"check\": \"generated mix 15\", \"actual\": [9, \"ACTUAL\"], \"expected\": [9, \"ACTUAL\"], \"passed\": true}, {\"check\": \"generated mix 23\", \"actual\": [15, \"DIM\"], \"expected\": [15, \"DIM\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}