{"abstract":"Floor division is substituted for ceiling division.","category":"Integer arithmetic","checks":5,"contract":"Integer arguments; denominators, steps, moduli, and bit widths are positive. Unsigned word inputs fit the specified width except where masking is explicitly the operation. Sequence sizes are nonnegative. Return the least integer greater than or equal to a/b, including negative a. Exact operational definition: -(-a // b)","evaluation_group":"model-156c0ab55e1cb9db","failed_approach":"The signed shortcut truncates negative nonmultiples incorrectly.","family":"xn-ceiling-integer-quotient","id":"FA-5331","implementations":{"attempt":{"sha256":"c0cb20fef18cbc41ad8d28b8dbba8333736fd7b8ba982d847da45af4596fa478","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport calendar\nimport statistics\nimport itertools\nfrom fractions import Fraction\nfrom datetime import date, datetime, timedelta, timezone\nfrom decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR\n\nN = 1\nobservations = []\ndef solve(a, b):\n    return (a + b - 1) // b if a >= 0 else -((abs(a)+b-1) // b)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1: (7, 3)', solve(*(7, 3)), 3)\ncheck('fixture 2: (-7, 3)', solve(*(-7, 3)), -2)\ncheck('fixture 3: (6, 3)', solve(*(6, 3)), 2)\ncheck('fixture 4: (0, 3)', solve(*(0, 3)), 0)\ncheck('fixture 5: (-1, 3)', solve(*(-1, 3)), 0)\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":"9242eafef1ec4662481a07c2111ca89fc404e8d2286027b2b52a29159cf85100","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport calendar\nimport statistics\nimport itertools\nfrom fractions import Fraction\nfrom datetime import date, datetime, timedelta, timezone\nfrom decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR\n\nN = 1\nobservations = []\ndef solve(a, b):\n    return a // b\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1: (7, 3)', solve(*(7, 3)), 3)\ncheck('fixture 2: (-7, 3)', solve(*(-7, 3)), -2)\ncheck('fixture 3: (6, 3)', solve(*(6, 3)), 2)\ncheck('fixture 4: (0, 3)', solve(*(0, 3)), 0)\ncheck('fixture 5: (-1, 3)', solve(*(-1, 3)), 0)\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":"8ee377a33e80a3863c14a0ada37c884283910eb472c74ecf1854ab0f22002ab3","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport calendar\nimport statistics\nimport itertools\nfrom fractions import Fraction\nfrom datetime import date, datetime, timedelta, timezone\nfrom decimal import Decimal, ROUND_HALF_UP, ROUND_DOWN, ROUND_CEILING, ROUND_FLOOR\n\nN = 1\nobservations = []\ndef solve(a, b):\n    return -(-a // b)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1: (7, 3)', solve(*(7, 3)), 3)\ncheck('fixture 2: (-7, 3)', solve(*(-7, 3)), -2)\ncheck('fixture 3: (6, 3)', solve(*(6, 3)), 2)\ncheck('fixture 4: (0, 3)', solve(*(0, 3)), 0)\ncheck('fixture 5: (-1, 3)', solve(*(-1, 3)), 0)\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":" 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":"xn-ceiling-integer-quotient","generated_at":"2026-09-29T14:37:48.408919+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Small exact fixtures expose this error without platform timing, external services, or probabilistic observations. Integer mathematics results depend on the stated convention.","repair":"Apply the specified mathematical contract directly, preserving all terms and boundary cases: return -(-a // b)","root_cause":"Floor division is substituted for ceiling division.","sha256":"8edb856a688e537b0e3c2384cc23e0c4fc2086e8d65c30f325a0412d5acc4f42","title":"Ceiling integer quotient · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":45.228,"exit_code":1,"observations":[{"actual":3,"check":"fixture 1: (7, 3)","expected":3,"passed":true},{"actual":-3,"check":"fixture 2: (-7, 3)","expected":-2,"passed":false},{"actual":2,"check":"fixture 3: (6, 3)","expected":2,"passed":true},{"actual":0,"check":"fixture 4: (0, 3)","expected":0,"passed":true},{"actual":-1,"check":"fixture 5: (-1, 3)","expected":0,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1: (7, 3)\", \"actual\": 3, \"expected\": 3, \"passed\": true}, {\"check\": \"fixture 2: (-7, 3)\", \"actual\": -3, \"expected\": -2, \"passed\": false}, {\"check\": \"fixture 3: (6, 3)\", \"actual\": 2, \"expected\": 2, \"passed\": true}, {\"check\": \"fixture 4: (0, 3)\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 5: (-1, 3)\", \"actual\": -1, \"expected\": 0, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":48.859,"exit_code":1,"observations":[{"actual":2,"check":"fixture 1: (7, 3)","expected":3,"passed":false},{"actual":-3,"check":"fixture 2: (-7, 3)","expected":-2,"passed":false},{"actual":2,"check":"fixture 3: (6, 3)","expected":2,"passed":true},{"actual":0,"check":"fixture 4: (0, 3)","expected":0,"passed":true},{"actual":-1,"check":"fixture 5: (-1, 3)","expected":0,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1: (7, 3)\", \"actual\": 2, \"expected\": 3, \"passed\": false}, {\"check\": \"fixture 2: (-7, 3)\", \"actual\": -3, \"expected\": -2, \"passed\": false}, {\"check\": \"fixture 3: (6, 3)\", \"actual\": 2, \"expected\": 2, \"passed\": true}, {\"check\": \"fixture 4: (0, 3)\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 5: (-1, 3)\", \"actual\": -1, \"expected\": 0, \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":136.283,"exit_code":0,"observations":[{"actual":3,"check":"fixture 1: (7, 3)","expected":3,"passed":true},{"actual":-2,"check":"fixture 2: (-7, 3)","expected":-2,"passed":true},{"actual":2,"check":"fixture 3: (6, 3)","expected":2,"passed":true},{"actual":0,"check":"fixture 4: (0, 3)","expected":0,"passed":true},{"actual":0,"check":"fixture 5: (-1, 3)","expected":0,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1: (7, 3)\", \"actual\": 3, \"expected\": 3, \"passed\": true}, {\"check\": \"fixture 2: (-7, 3)\", \"actual\": -2, \"expected\": -2, \"passed\": true}, {\"check\": \"fixture 3: (6, 3)\", \"actual\": 2, \"expected\": 2, \"passed\": true}, {\"check\": \"fixture 4: (0, 3)\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 5: (-1, 3)\", \"actual\": 0, \"expected\": 0, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}