{"abstract":"The exact finite field discrete transform result violates the stated contract at frequency bin range.","category":"Numerics","checks":8,"contract":"Input [values,p,w], len(values)=n and w has exact multiplicative order n modulo prime p; forward transform sum values[j]*w^(j*k) modulo p.","evaluation_group":"s3-numerics-finite-field-discrete-transform","failed_approach":"The partial repair range(n-1) still violates the frequency bin range invariant.","family":"s3-numerics-finite-field-discrete-transform-frequency-bin-range","id":"FA-15716","implementations":{"attempt":{"sha256":"3dd81ad06976b7d8b1e2668cb3e8b0942c6ae5820a4e5a39d80617280ff6e534","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    values,p,w=x;n=len(values);out=[]\n    for k in range(n-1):\n     total=0\n     for j in range(n):\n      factor=pow(w,j*k,p)\n      total=(total+values[j]*factor)%p\n     out.append(total)\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[2, 1], 5, 4], [3, 1]), ([[2, 1], 5, 4], [3, 1]), ([[3, 0], 5, 4], [3, 3]), ([[0, 2], 5, 4], [2, 3]), ([[1, 3], 5, 4], [4, 3]), ([[0, 4], 5, 4], [4, 1])], [([[2, 1], 5, 4], [3, 1]), ([[3, 0], 5, 4], [3, 3]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[0, 2], 5, 4], [2, 3]), ([[1, 1], 5, 4], [2, 0]), ([[4, 3], 5, 4], [2, 1]), ([[2, 0], 5, 4], [2, 2])], [([[2, 1], 5, 4], [3, 1]), ([[0, 4], 5, 4], [4, 1]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[4, 0], 5, 4], [4, 4]), ([[1, 4], 5, 4], [0, 2]), ([[1, 2], 5, 4], [3, 4]), ([[0, 3], 5, 4], [3, 2])], [([[0, 2], 5, 4], [2, 3]), ([[1, 4], 5, 4], [0, 2]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[4, 3], 5, 4], [2, 1]), ([[4, 1], 5, 4], [0, 3]), ([[1, 0], 5, 4], [1, 1]), ([[3, 3], 5, 4], [1, 0])], [([[1, 3], 5, 4], [4, 3]), ([[1, 3], 5, 4], [4, 3]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[2, 5, 0], 7, 2], [0, 5, 1]), ([[0, 0, 4], 7, 2], [4, 2, 1]), ([[5, 5, 2], 7, 2], [5, 2, 1]), ([[1, 6, 1], 7, 2], [1, 3, 6])]]\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":"0b616ce05f373c5f87d13b09e21c7e9bbe1e8b474a0e567fdca31dca1677401d","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    values,p,w=x;n=len(values);out=[]\n    for k in range(1,n+1):\n     total=0\n     for j in range(n):\n      factor=pow(w,j*k,p)\n      total=(total+values[j]*factor)%p\n     out.append(total)\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[2, 1], 5, 4], [3, 1]), ([[2, 1], 5, 4], [3, 1]), ([[3, 0], 5, 4], [3, 3]), ([[0, 2], 5, 4], [2, 3]), ([[1, 3], 5, 4], [4, 3]), ([[0, 4], 5, 4], [4, 1])], [([[2, 1], 5, 4], [3, 1]), ([[3, 0], 5, 4], [3, 3]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[0, 2], 5, 4], [2, 3]), ([[1, 1], 5, 4], [2, 0]), ([[4, 3], 5, 4], [2, 1]), ([[2, 0], 5, 4], [2, 2])], [([[2, 1], 5, 4], [3, 1]), ([[0, 4], 5, 4], [4, 1]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[4, 0], 5, 4], [4, 4]), ([[1, 4], 5, 4], [0, 2]), ([[1, 2], 5, 4], [3, 4]), ([[0, 3], 5, 4], [3, 2])], [([[0, 2], 5, 4], [2, 3]), ([[1, 4], 5, 4], [0, 2]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[4, 3], 5, 4], [2, 1]), ([[4, 1], 5, 4], [0, 3]), ([[1, 0], 5, 4], [1, 1]), ([[3, 3], 5, 4], [1, 0])], [([[1, 3], 5, 4], [4, 3]), ([[1, 3], 5, 4], [4, 3]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[2, 5, 0], 7, 2], [0, 5, 1]), ([[0, 0, 4], 7, 2], [4, 2, 1]), ([[5, 5, 2], 7, 2], [5, 2, 1]), ([[1, 6, 1], 7, 2], [1, 3, 6])]]\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":"197eb271af90eb5975e9169217f0c662547c6c1152d11c090230a9e677c1527d","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    values,p,w=x;n=len(values);out=[]\n    for k in range(n):\n     total=0\n     for j in range(n):\n      factor=pow(w,j*k,p)\n      total=(total+values[j]*factor)%p\n     out.append(total)\n    return out\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = [[([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[2, 1], 5, 4], [3, 1]), ([[2, 1], 5, 4], [3, 1]), ([[3, 0], 5, 4], [3, 3]), ([[0, 2], 5, 4], [2, 3]), ([[1, 3], 5, 4], [4, 3]), ([[0, 4], 5, 4], [4, 1])], [([[2, 1], 5, 4], [3, 1]), ([[3, 0], 5, 4], [3, 3]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[0, 2], 5, 4], [2, 3]), ([[1, 1], 5, 4], [2, 0]), ([[4, 3], 5, 4], [2, 1]), ([[2, 0], 5, 4], [2, 2])], [([[2, 1], 5, 4], [3, 1]), ([[0, 4], 5, 4], [4, 1]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[4, 0], 5, 4], [4, 4]), ([[1, 4], 5, 4], [0, 2]), ([[1, 2], 5, 4], [3, 4]), ([[0, 3], 5, 4], [3, 2])], [([[0, 2], 5, 4], [2, 3]), ([[1, 4], 5, 4], [0, 2]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[4, 3], 5, 4], [2, 1]), ([[4, 1], 5, 4], [0, 3]), ([[1, 0], 5, 4], [1, 1]), ([[3, 3], 5, 4], [1, 0])], [([[1, 3], 5, 4], [4, 3]), ([[1, 3], 5, 4], [4, 3]), ([[0, 3], 5, 4], [3, 2]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[2, 5, 0], 7, 2], [0, 5, 1]), ([[0, 0, 4], 7, 2], [4, 2, 1]), ([[5, 5, 2], 7, 2], [5, 2, 1]), ([[1, 6, 1], 7, 2], [1, 3, 6])]]\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-finite-field-discrete-transform-frequency-bin-range","generated_at":"2026-09-29T14:39:29.475714+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 range(n) at the frequency bin range step.","root_cause":"The frequency bin range step uses range(1,n+1) instead of range(n).","sha256":"a1e1b88e60c2ecb6fa0c5088df07d2fef1c3df5881fb89e83b5e7ff98023675f","title":"Finite field discrete transform: frequency bin range · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":43.038,"exit_code":1,"observations":[{"actual":[3],"check":"explicit oracle 0","expected":[3,2],"passed":false},{"actual":[15,14,9,14,4,14,0],"check":"explicit oracle 1","expected":[15,14,9,14,4,14,0,10],"passed":false},{"actual":[3],"check":"explicit oracle 2","expected":[3,1],"passed":false},{"actual":[3],"check":"explicit oracle 3","expected":[3,1],"passed":false},{"actual":[3],"check":"explicit oracle 4","expected":[3,3],"passed":false},{"actual":[2],"check":"explicit oracle 5","expected":[2,3],"passed":false},{"actual":[4],"check":"explicit oracle 6","expected":[4,3],"passed":false},{"actual":[4],"check":"explicit oracle 7","expected":[4,1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [3], \"expected\": [3, 2], \"passed\": false}, {\"check\": \"explicit oracle 1\", \"actual\": [15, 14, 9, 14, 4, 14, 0], \"expected\": [15, 14, 9, 14, 4, 14, 0, 10], \"passed\": false}, {\"check\": \"explicit oracle 2\", \"actual\": [3], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 3\", \"actual\": [3], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [3], \"expected\": [3, 3], \"passed\": false}, {\"check\": \"explicit oracle 5\", \"actual\": [2], \"expected\": [2, 3], \"passed\": false}, {\"check\": \"explicit oracle 6\", \"actual\": [4], \"expected\": [4, 3], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [4], \"expected\": [4, 1], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.326,"exit_code":1,"observations":[{"actual":[2,3],"check":"explicit oracle 0","expected":[3,2],"passed":false},{"actual":[14,9,14,4,14,0,10,15],"check":"explicit oracle 1","expected":[15,14,9,14,4,14,0,10],"passed":false},{"actual":[1,3],"check":"explicit oracle 2","expected":[3,1],"passed":false},{"actual":[1,3],"check":"explicit oracle 3","expected":[3,1],"passed":false},{"actual":[3,3],"check":"explicit oracle 4","expected":[3,3],"passed":true},{"actual":[3,2],"check":"explicit oracle 5","expected":[2,3],"passed":false},{"actual":[3,4],"check":"explicit oracle 6","expected":[4,3],"passed":false},{"actual":[1,4],"check":"explicit oracle 7","expected":[4,1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [2, 3], \"expected\": [3, 2], \"passed\": false}, {\"check\": \"explicit oracle 1\", \"actual\": [14, 9, 14, 4, 14, 0, 10, 15], \"expected\": [15, 14, 9, 14, 4, 14, 0, 10], \"passed\": false}, {\"check\": \"explicit oracle 2\", \"actual\": [1, 3], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 3\", \"actual\": [1, 3], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [3, 3], \"expected\": [3, 3], \"passed\": true}, {\"check\": \"explicit oracle 5\", \"actual\": [3, 2], \"expected\": [2, 3], \"passed\": false}, {\"check\": \"explicit oracle 6\", \"actual\": [3, 4], \"expected\": [4, 3], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [1, 4], \"expected\": [4, 1], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":45.899,"exit_code":0,"observations":[{"actual":[3,2],"check":"explicit oracle 0","expected":[3,2],"passed":true},{"actual":[15,14,9,14,4,14,0,10],"check":"explicit oracle 1","expected":[15,14,9,14,4,14,0,10],"passed":true},{"actual":[3,1],"check":"explicit oracle 2","expected":[3,1],"passed":true},{"actual":[3,1],"check":"explicit oracle 3","expected":[3,1],"passed":true},{"actual":[3,3],"check":"explicit oracle 4","expected":[3,3],"passed":true},{"actual":[2,3],"check":"explicit oracle 5","expected":[2,3],"passed":true},{"actual":[4,3],"check":"explicit oracle 6","expected":[4,3],"passed":true},{"actual":[4,1],"check":"explicit oracle 7","expected":[4,1],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [3, 2], \"expected\": [3, 2], \"passed\": true}, {\"check\": \"explicit oracle 1\", \"actual\": [15, 14, 9, 14, 4, 14, 0, 10], \"expected\": [15, 14, 9, 14, 4, 14, 0, 10], \"passed\": true}, {\"check\": \"explicit oracle 2\", \"actual\": [3, 1], \"expected\": [3, 1], \"passed\": true}, {\"check\": \"explicit oracle 3\", \"actual\": [3, 1], \"expected\": [3, 1], \"passed\": true}, {\"check\": \"explicit oracle 4\", \"actual\": [3, 3], \"expected\": [3, 3], \"passed\": true}, {\"check\": \"explicit oracle 5\", \"actual\": [2, 3], \"expected\": [2, 3], \"passed\": true}, {\"check\": \"explicit oracle 6\", \"actual\": [4, 3], \"expected\": [4, 3], \"passed\": true}, {\"check\": \"explicit oracle 7\", \"actual\": [4, 1], \"expected\": [4, 1], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}