{"abstract":"The exact continued fraction convergents result violates the stated contract at numerator seeds.","category":"Numerics","checks":8,"contract":"Input nonempty coefficients with positive terms after first; return every convergent as [numerator,positive denominator].","evaluation_group":"s3-numerics-continued-fraction-convergents","failed_approach":"The partial repair 1,1 still violates the numerator seeds invariant.","family":"s3-numerics-continued-fraction-convergents-numerator-seeds","id":"FA-14441","implementations":{"attempt":{"sha256":"c8b2b1369278efda21ad76ba2668a0b3ceb27e4e0dd1c9f11aafbd6cbd527738","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=x\n    p0,p1=1,1\n    q0,q1=1,0\n    out=[]\n    for c in a:\n     p=c*p1+p0\n     q=c*q1+q0\n     out.append([p,q])\n     p0,p1,q0,q1=p1,p,q1,q\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([2], [[2, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([3], [[3, 1]]), ([4], [[4, 1]]), ([1, 1], [[1, 1], [2, 1]]), ([1, 2], [[1, 1], [3, 2]]), ([1, 3], [[1, 1], [4, 3]])], [([3], [[3, 1]]), ([4], [[4, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([4, 2], [[4, 1], [9, 2]]), ([4, 3], [[4, 1], [13, 3]]), ([4, 4], [[4, 1], [17, 4]]), ([1, 1, 1], [[1, 1], [2, 1], [3, 2]])], [([4], [[4, 1]]), ([1, 3], [[1, 1], [4, 3]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([1, 4, 3], [[1, 1], [5, 4], [16, 13]]), ([1, 4, 4], [[1, 1], [5, 4], [21, 17]]), ([2, 1, 1], [[2, 1], [3, 1], [5, 2]]), ([2, 1, 2], [[2, 1], [3, 1], [8, 3]])], [([1, 1], [[1, 1], [2, 1]]), ([2, 2], [[2, 1], [5, 2]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([2, 4, 4], [[2, 1], [9, 4], [38, 17]]), ([3, 1, 1], [[3, 1], [4, 1], [7, 2]]), ([3, 1, 2], [[3, 1], [4, 1], [11, 3]]), ([3, 1, 3], [[3, 1], [4, 1], [15, 4]])], [([1, 2], [[1, 1], [3, 2]]), ([3, 1], [[3, 1], [4, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([4, 1, 1], [[4, 1], [5, 1], [9, 2]]), ([4, 1, 2], [[4, 1], [5, 1], [14, 3]]), ([4, 1, 3], [[4, 1], [5, 1], [19, 4]]), ([4, 1, 4], [[4, 1], [5, 1], [24, 5]])]]\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":"c8555194bb063a41dec1aed4ac4c3c09125fbb0939a0d2a215ccf49a81379362","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=x\n    p0,p1=1,0\n    q0,q1=1,0\n    out=[]\n    for c in a:\n     p=c*p1+p0\n     q=c*q1+q0\n     out.append([p,q])\n     p0,p1,q0,q1=p1,p,q1,q\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([2], [[2, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([3], [[3, 1]]), ([4], [[4, 1]]), ([1, 1], [[1, 1], [2, 1]]), ([1, 2], [[1, 1], [3, 2]]), ([1, 3], [[1, 1], [4, 3]])], [([3], [[3, 1]]), ([4], [[4, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([4, 2], [[4, 1], [9, 2]]), ([4, 3], [[4, 1], [13, 3]]), ([4, 4], [[4, 1], [17, 4]]), ([1, 1, 1], [[1, 1], [2, 1], [3, 2]])], [([4], [[4, 1]]), ([1, 3], [[1, 1], [4, 3]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([1, 4, 3], [[1, 1], [5, 4], [16, 13]]), ([1, 4, 4], [[1, 1], [5, 4], [21, 17]]), ([2, 1, 1], [[2, 1], [3, 1], [5, 2]]), ([2, 1, 2], [[2, 1], [3, 1], [8, 3]])], [([1, 1], [[1, 1], [2, 1]]), ([2, 2], [[2, 1], [5, 2]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([2, 4, 4], [[2, 1], [9, 4], [38, 17]]), ([3, 1, 1], [[3, 1], [4, 1], [7, 2]]), ([3, 1, 2], [[3, 1], [4, 1], [11, 3]]), ([3, 1, 3], [[3, 1], [4, 1], [15, 4]])], [([1, 2], [[1, 1], [3, 2]]), ([3, 1], [[3, 1], [4, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([4, 1, 1], [[4, 1], [5, 1], [9, 2]]), ([4, 1, 2], [[4, 1], [5, 1], [14, 3]]), ([4, 1, 3], [[4, 1], [5, 1], [19, 4]]), ([4, 1, 4], [[4, 1], [5, 1], [24, 5]])]]\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":"c22aeafdbceb08f93cbf8c24e2ea5925b98e6631d91b5b05fbebd30bd5ca9882","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=x\n    p0,p1=0,1\n    q0,q1=1,0\n    out=[]\n    for c in a:\n     p=c*p1+p0\n     q=c*q1+q0\n     out.append([p,q])\n     p0,p1,q0,q1=p1,p,q1,q\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([2], [[2, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([3], [[3, 1]]), ([4], [[4, 1]]), ([1, 1], [[1, 1], [2, 1]]), ([1, 2], [[1, 1], [3, 2]]), ([1, 3], [[1, 1], [4, 3]])], [([3], [[3, 1]]), ([4], [[4, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([4, 2], [[4, 1], [9, 2]]), ([4, 3], [[4, 1], [13, 3]]), ([4, 4], [[4, 1], [17, 4]]), ([1, 1, 1], [[1, 1], [2, 1], [3, 2]])], [([4], [[4, 1]]), ([1, 3], [[1, 1], [4, 3]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([1, 4, 3], [[1, 1], [5, 4], [16, 13]]), ([1, 4, 4], [[1, 1], [5, 4], [21, 17]]), ([2, 1, 1], [[2, 1], [3, 1], [5, 2]]), ([2, 1, 2], [[2, 1], [3, 1], [8, 3]])], [([1, 1], [[1, 1], [2, 1]]), ([2, 2], [[2, 1], [5, 2]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([2, 4, 4], [[2, 1], [9, 4], [38, 17]]), ([3, 1, 1], [[3, 1], [4, 1], [7, 2]]), ([3, 1, 2], [[3, 1], [4, 1], [11, 3]]), ([3, 1, 3], [[3, 1], [4, 1], [15, 4]])], [([1, 2], [[1, 1], [3, 2]]), ([3, 1], [[3, 1], [4, 1]]), ([1], [[1, 1]]), ([-2, 3, 4], [[-2, 1], [-5, 3], [-22, 13]]), ([4, 1, 1], [[4, 1], [5, 1], [9, 2]]), ([4, 1, 2], [[4, 1], [5, 1], [14, 3]]), ([4, 1, 3], [[4, 1], [5, 1], [19, 4]]), ([4, 1, 4], [[4, 1], [5, 1], [24, 5]])]]\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-continued-fraction-convergents-numerator-seeds","generated_at":"2026-09-29T14:39:16.906857+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,1 at the numerator seeds step.","root_cause":"The numerator seeds step uses 1,0 instead of 0,1.","sha256":"64dabdd90b1e73b3ebf8fc86f81eb840fc81428e4a1b3fd1c008c27702c512b2","title":"Continued fraction convergents: numerator seeds · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.76,"exit_code":1,"observations":[{"actual":[[3,1]],"check":"explicit oracle 0","expected":[[2,1]],"passed":false},{"actual":[[2,1]],"check":"explicit oracle 1","expected":[[1,1]],"passed":false},{"actual":[[-1,1],[-2,3],[-9,13]],"check":"explicit oracle 2","expected":[[-2,1],[-5,3],[-22,13]],"passed":false},{"actual":[[4,1]],"check":"explicit oracle 3","expected":[[3,1]],"passed":false},{"actual":[[5,1]],"check":"explicit oracle 4","expected":[[4,1]],"passed":false},{"actual":[[2,1],[3,1]],"check":"explicit oracle 5","expected":[[1,1],[2,1]],"passed":false},{"actual":[[2,1],[5,2]],"check":"explicit oracle 6","expected":[[1,1],[3,2]],"passed":false},{"actual":[[2,1],[7,3]],"check":"explicit oracle 7","expected":[[1,1],[4,3]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [[3, 1]], \"expected\": [[2, 1]], \"passed\": false}, {\"check\": \"explicit oracle 1\", \"actual\": [[2, 1]], \"expected\": [[1, 1]], \"passed\": false}, {\"check\": \"explicit oracle 2\", \"actual\": [[-1, 1], [-2, 3], [-9, 13]], \"expected\": [[-2, 1], [-5, 3], [-22, 13]], \"passed\": false}, {\"check\": \"explicit oracle 3\", \"actual\": [[4, 1]], \"expected\": [[3, 1]], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [[5, 1]], \"expected\": [[4, 1]], \"passed\": false}, {\"check\": \"explicit oracle 5\", \"actual\": [[2, 1], [3, 1]], \"expected\": [[1, 1], [2, 1]], \"passed\": false}, {\"check\": \"explicit oracle 6\", \"actual\": [[2, 1], [5, 2]], \"expected\": [[1, 1], [3, 2]], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [[2, 1], [7, 3]], \"expected\": [[1, 1], [4, 3]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.126,"exit_code":1,"observations":[{"actual":[[1,1]],"check":"explicit oracle 0","expected":[[2,1]],"passed":false},{"actual":[[1,1]],"check":"explicit oracle 1","expected":[[1,1]],"passed":true},{"actual":[[1,1],[3,3],[13,13]],"check":"explicit oracle 2","expected":[[-2,1],[-5,3],[-22,13]],"passed":false},{"actual":[[1,1]],"check":"explicit oracle 3","expected":[[3,1]],"passed":false},{"actual":[[1,1]],"check":"explicit oracle 4","expected":[[4,1]],"passed":false},{"actual":[[1,1],[1,1]],"check":"explicit oracle 5","expected":[[1,1],[2,1]],"passed":false},{"actual":[[1,1],[2,2]],"check":"explicit oracle 6","expected":[[1,1],[3,2]],"passed":false},{"actual":[[1,1],[3,3]],"check":"explicit oracle 7","expected":[[1,1],[4,3]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [[1, 1]], \"expected\": [[2, 1]], \"passed\": false}, {\"check\": \"explicit oracle 1\", \"actual\": [[1, 1]], \"expected\": [[1, 1]], \"passed\": true}, {\"check\": \"explicit oracle 2\", \"actual\": [[1, 1], [3, 3], [13, 13]], \"expected\": [[-2, 1], [-5, 3], [-22, 13]], \"passed\": false}, {\"check\": \"explicit oracle 3\", \"actual\": [[1, 1]], \"expected\": [[3, 1]], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [[1, 1]], \"expected\": [[4, 1]], \"passed\": false}, {\"check\": \"explicit oracle 5\", \"actual\": [[1, 1], [1, 1]], \"expected\": [[1, 1], [2, 1]], \"passed\": false}, {\"check\": \"explicit oracle 6\", \"actual\": [[1, 1], [2, 2]], \"expected\": [[1, 1], [3, 2]], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [[1, 1], [3, 3]], \"expected\": [[1, 1], [4, 3]], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.451,"exit_code":0,"observations":[{"actual":[[2,1]],"check":"explicit oracle 0","expected":[[2,1]],"passed":true},{"actual":[[1,1]],"check":"explicit oracle 1","expected":[[1,1]],"passed":true},{"actual":[[-2,1],[-5,3],[-22,13]],"check":"explicit oracle 2","expected":[[-2,1],[-5,3],[-22,13]],"passed":true},{"actual":[[3,1]],"check":"explicit oracle 3","expected":[[3,1]],"passed":true},{"actual":[[4,1]],"check":"explicit oracle 4","expected":[[4,1]],"passed":true},{"actual":[[1,1],[2,1]],"check":"explicit oracle 5","expected":[[1,1],[2,1]],"passed":true},{"actual":[[1,1],[3,2]],"check":"explicit oracle 6","expected":[[1,1],[3,2]],"passed":true},{"actual":[[1,1],[4,3]],"check":"explicit oracle 7","expected":[[1,1],[4,3]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [[2, 1]], \"expected\": [[2, 1]], \"passed\": true}, {\"check\": \"explicit oracle 1\", \"actual\": [[1, 1]], \"expected\": [[1, 1]], \"passed\": true}, {\"check\": \"explicit oracle 2\", \"actual\": [[-2, 1], [-5, 3], [-22, 13]], \"expected\": [[-2, 1], [-5, 3], [-22, 13]], \"passed\": true}, {\"check\": \"explicit oracle 3\", \"actual\": [[3, 1]], \"expected\": [[3, 1]], \"passed\": true}, {\"check\": \"explicit oracle 4\", \"actual\": [[4, 1]], \"expected\": [[4, 1]], \"passed\": true}, {\"check\": \"explicit oracle 5\", \"actual\": [[1, 1], [2, 1]], \"expected\": [[1, 1], [2, 1]], \"passed\": true}, {\"check\": \"explicit oracle 6\", \"actual\": [[1, 1], [3, 2]], \"expected\": [[1, 1], [3, 2]], \"passed\": true}, {\"check\": \"explicit oracle 7\", \"actual\": [[1, 1], [4, 3]], \"expected\": [[1, 1], [4, 3]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}