{"abstract":"The exact bounded diophantine result violates the stated contract at box membership.","category":"Numerics","checks":8,"contract":"Input [a,b,c,L], positive a,b and nonnegative L; lexicographically ordered nonnegative solutions a*u+b*v=c with u,v<=L.","evaluation_group":"s3-numerics-bounded-diophantine","failed_approach":"The partial repair 0<v<L still violates the box membership invariant.","family":"s3-numerics-bounded-diophantine-box-membership","id":"FA-14411","implementations":{"attempt":{"sha256":"7b454ccafd2dc9520814a6c9efd61603c6e414dcb67c919a0ff61bf9efe9faae","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport itertools\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    a,b,c,L=x\n    out=[]\n    for u in range(L+1):\n     t=c-a*u\n     if t%b != 0: continue\n     v=t//b\n     if 0<v<L: out.append([u,v])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([1, 1, -2, 0], []), ([1, 1, 0, 0], [[0, 0]]), ([4, 4, 14, 5], []), ([1, 1, -2, 1], []), ([1, 1, -2, 2], []), ([1, 1, -2, 3], []), ([1, 1, -2, 4], []), ([1, 1, -2, 5], [])], [([1, 1, -2, 1], []), ([1, 1, 0, 3], [[0, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 0, 5], [[0, 0]]), ([1, 1, 1, 0], []), ([1, 1, 1, 1], [[0, 1], [1, 0]]), ([1, 1, 1, 2], [[0, 1], [1, 0]])], [([1, 1, -2, 2], []), ([1, 1, 1, 1], [[0, 1], [1, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 3, 4], [[0, 3], [1, 2], [2, 1], [3, 0]]), ([1, 1, 3, 5], [[0, 3], [1, 2], [2, 1], [3, 0]]), ([1, 1, 4, 0], []), ([1, 1, 4, 1], [])], [([1, 1, -2, 3], []), ([1, 1, 1, 4], [[0, 1], [1, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 6, 3], [[3, 3]]), ([1, 1, 6, 4], [[2, 4], [3, 3], [4, 2]]), ([1, 1, 6, 5], [[1, 5], [2, 4], [3, 3], [4, 2], [5, 1]]), ([1, 1, 7, 0], [])], [([1, 1, -2, 4], []), ([1, 1, 2, 2], [[0, 2], [1, 1], [2, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 9, 2], []), ([1, 1, 9, 3], []), ([1, 1, 9, 4], []), ([1, 1, 9, 5], [[4, 5], [5, 4]])]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check(\"explicit oracle %d\" % i, 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":"0aea49aeabb7fe6ccb38e9914b65f00ede239a3d2031b47d803355baa84e477d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport itertools\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    a,b,c,L=x\n    out=[]\n    for u in range(L+1):\n     t=c-a*u\n     if t%b != 0: continue\n     v=t//b\n     if v<=L: out.append([u,v])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([1, 1, -2, 0], []), ([1, 1, 0, 0], [[0, 0]]), ([4, 4, 14, 5], []), ([1, 1, -2, 1], []), ([1, 1, -2, 2], []), ([1, 1, -2, 3], []), ([1, 1, -2, 4], []), ([1, 1, -2, 5], [])], [([1, 1, -2, 1], []), ([1, 1, 0, 3], [[0, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 0, 5], [[0, 0]]), ([1, 1, 1, 0], []), ([1, 1, 1, 1], [[0, 1], [1, 0]]), ([1, 1, 1, 2], [[0, 1], [1, 0]])], [([1, 1, -2, 2], []), ([1, 1, 1, 1], [[0, 1], [1, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 3, 4], [[0, 3], [1, 2], [2, 1], [3, 0]]), ([1, 1, 3, 5], [[0, 3], [1, 2], [2, 1], [3, 0]]), ([1, 1, 4, 0], []), ([1, 1, 4, 1], [])], [([1, 1, -2, 3], []), ([1, 1, 1, 4], [[0, 1], [1, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 6, 3], [[3, 3]]), ([1, 1, 6, 4], [[2, 4], [3, 3], [4, 2]]), ([1, 1, 6, 5], [[1, 5], [2, 4], [3, 3], [4, 2], [5, 1]]), ([1, 1, 7, 0], [])], [([1, 1, -2, 4], []), ([1, 1, 2, 2], [[0, 2], [1, 1], [2, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 9, 2], []), ([1, 1, 9, 3], []), ([1, 1, 9, 4], []), ([1, 1, 9, 5], [[4, 5], [5, 4]])]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check(\"explicit oracle %d\" % i, 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":"1770f1cf7749f922e10cdd708e4c2a77e9033a6b78a506eed4336eeca39da186","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nimport itertools\nfrom fractions import Fraction\nN = 1\nobservations = []\ndef solve(x):\n    a,b,c,L=x\n    out=[]\n    for u in range(L+1):\n     t=c-a*u\n     if t%b != 0: continue\n     v=t//b\n     if 0<=v<=L: out.append([u,v])\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([1, 1, -2, 0], []), ([1, 1, 0, 0], [[0, 0]]), ([4, 4, 14, 5], []), ([1, 1, -2, 1], []), ([1, 1, -2, 2], []), ([1, 1, -2, 3], []), ([1, 1, -2, 4], []), ([1, 1, -2, 5], [])], [([1, 1, -2, 1], []), ([1, 1, 0, 3], [[0, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 0, 5], [[0, 0]]), ([1, 1, 1, 0], []), ([1, 1, 1, 1], [[0, 1], [1, 0]]), ([1, 1, 1, 2], [[0, 1], [1, 0]])], [([1, 1, -2, 2], []), ([1, 1, 1, 1], [[0, 1], [1, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 3, 4], [[0, 3], [1, 2], [2, 1], [3, 0]]), ([1, 1, 3, 5], [[0, 3], [1, 2], [2, 1], [3, 0]]), ([1, 1, 4, 0], []), ([1, 1, 4, 1], [])], [([1, 1, -2, 3], []), ([1, 1, 1, 4], [[0, 1], [1, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 6, 3], [[3, 3]]), ([1, 1, 6, 4], [[2, 4], [3, 3], [4, 2]]), ([1, 1, 6, 5], [[1, 5], [2, 4], [3, 3], [4, 2], [5, 1]]), ([1, 1, 7, 0], [])], [([1, 1, -2, 4], []), ([1, 1, 2, 2], [[0, 2], [1, 1], [2, 0]]), ([1, 1, -2, 0], []), ([4, 4, 14, 5], []), ([1, 1, 9, 2], []), ([1, 1, 9, 3], []), ([1, 1, 9, 4], []), ([1, 1, 9, 5], [[4, 5], [5, 4]])]]\nfor i, (args, expected) in enumerate(fixtures[N-1]):\n    check(\"explicit oracle %d\" % i, 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":"A deterministic bounded teaching model. Inputs are restricted to the explicit contract; this is not a production algebra library. 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":"s3-numerics-bounded-diophantine-box-membership","generated_at":"2026-09-29T14:39:16.498669+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Exact discrete arithmetic with observable algorithmic state; no floating point approximation is used.","repair":"Use 0<=v<=L at the box membership step.","root_cause":"The box membership step uses v<=L instead of 0<=v<=L.","sha256":"01bfeb746c045447524da782fcd6784075b05e75277f18dc15a557d2feeb4a88","title":"Bounded diophantine: box membership · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.061,"exit_code":1,"observations":[{"actual":[],"check":"explicit oracle 0","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 1","expected":[[0,0]],"passed":false},{"actual":[],"check":"explicit oracle 2","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 3","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 4","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 5","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 6","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 7","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 1\", \"actual\": [], \"expected\": [[0, 0]], \"passed\": false}, {\"check\": \"explicit oracle 2\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 4\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 5\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 7\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.501,"exit_code":1,"observations":[{"actual":[[0,-2]],"check":"explicit oracle 0","expected":[],"passed":false},{"actual":[[0,0]],"check":"explicit oracle 1","expected":[[0,0]],"passed":true},{"actual":[],"check":"explicit oracle 2","expected":[],"passed":true},{"actual":[[0,-2],[1,-3]],"check":"explicit oracle 3","expected":[],"passed":false},{"actual":[[0,-2],[1,-3],[2,-4]],"check":"explicit oracle 4","expected":[],"passed":false},{"actual":[[0,-2],[1,-3],[2,-4],[3,-5]],"check":"explicit oracle 5","expected":[],"passed":false},{"actual":[[0,-2],[1,-3],[2,-4],[3,-5],[4,-6]],"check":"explicit oracle 6","expected":[],"passed":false},{"actual":[[0,-2],[1,-3],[2,-4],[3,-5],[4,-6],[5,-7]],"check":"explicit oracle 7","expected":[],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [[0, -2]], \"expected\": [], \"passed\": false}, {\"check\": \"explicit oracle 1\", \"actual\": [[0, 0]], \"expected\": [[0, 0]], \"passed\": true}, {\"check\": \"explicit oracle 2\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 3\", \"actual\": [[0, -2], [1, -3]], \"expected\": [], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [[0, -2], [1, -3], [2, -4]], \"expected\": [], \"passed\": false}, {\"check\": \"explicit oracle 5\", \"actual\": [[0, -2], [1, -3], [2, -4], [3, -5]], \"expected\": [], \"passed\": false}, {\"check\": \"explicit oracle 6\", \"actual\": [[0, -2], [1, -3], [2, -4], [3, -5], [4, -6]], \"expected\": [], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [[0, -2], [1, -3], [2, -4], [3, -5], [4, -6], [5, -7]], \"expected\": [], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":41.714,"exit_code":0,"observations":[{"actual":[],"check":"explicit oracle 0","expected":[],"passed":true},{"actual":[[0,0]],"check":"explicit oracle 1","expected":[[0,0]],"passed":true},{"actual":[],"check":"explicit oracle 2","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 3","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 4","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 5","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 6","expected":[],"passed":true},{"actual":[],"check":"explicit oracle 7","expected":[],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 1\", \"actual\": [[0, 0]], \"expected\": [[0, 0]], \"passed\": true}, {\"check\": \"explicit oracle 2\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 4\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 5\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 6\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"explicit oracle 7\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}