{"abstract":"The exact finite field discrete transform result violates the stated contract at sample index coverage.","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.","contract_signature":"x","evaluation_group":"s3-numerics-finite-field-discrete-transform","failed_approach":"The partial repair range(1,n) still violates the sample index coverage invariant.","family":"s3-numerics-finite-field-discrete-transform-sample-index-coverage","id":"FA-15721","implementations":{"attempt":{"sha256":"9ef6be66ce1bd5d333c22d981d9bb738c719e467e6dfd607fb595ec5373d00b6","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(1,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]), ([[2, 1], 5, 4], [3, 1]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[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]), ([[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]), ([[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]), ([[3, 1], 5, 4], [4, 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, 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]), ([[4, 0], 5, 4], [4, 4]), ([[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, 1], 5, 4], [2, 0]), ([[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":"b12eca5eb5bb7008eaaf0586f028706e0cc4413a38bcaccee0d6ab3e10973f21","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-1):\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]), ([[2, 1], 5, 4], [3, 1]), ([[10, 15, 12, 4, 14, 0, 16, 12], 17, 2], [15, 14, 9, 14, 4, 14, 0, 10]), ([[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]), ([[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]), ([[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]), ([[3, 1], 5, 4], [4, 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, 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]), ([[4, 0], 5, 4], [4, 4]), ([[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, 1], 5, 4], [2, 0]), ([[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-sample-index-coverage","generated_at":"2026-09-29T14:39:29.474673+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.","root_cause":"The sample index coverage step uses range(n-1) instead of range(n).","sha256":"703b0c32e95866e5338ca83c3cd878007386af5bfe442a185800d9266a53d3a8","title":"Finite field discrete transform: sample index coverage · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":43.598,"exit_code":1,"observations":[{"actual":[3,2],"check":"explicit oracle 0","expected":[3,2],"passed":true},{"actual":[1,4],"check":"explicit oracle 1","expected":[3,1],"passed":false},{"actual":[5,4,16,4,11,4,7,0],"check":"explicit oracle 2","expected":[15,14,9,14,4,14,0,10],"passed":false},{"actual":[1,4],"check":"explicit oracle 3","expected":[3,1],"passed":false},{"actual":[0,0],"check":"explicit oracle 4","expected":[3,3],"passed":false},{"actual":[2,3],"check":"explicit oracle 5","expected":[2,3],"passed":true},{"actual":[3,2],"check":"explicit oracle 6","expected":[4,3],"passed":false},{"actual":[4,1],"check":"explicit oracle 7","expected":[4,1],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [3, 2], \"expected\": [3, 2], \"passed\": true}, {\"check\": \"explicit oracle 1\", \"actual\": [1, 4], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 2\", \"actual\": [5, 4, 16, 4, 11, 4, 7, 0], \"expected\": [15, 14, 9, 14, 4, 14, 0, 10], \"passed\": false}, {\"check\": \"explicit oracle 3\", \"actual\": [1, 4], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [0, 0], \"expected\": [3, 3], \"passed\": false}, {\"check\": \"explicit oracle 5\", \"actual\": [2, 3], \"expected\": [2, 3], \"passed\": true}, {\"check\": \"explicit oracle 6\", \"actual\": [3, 2], \"expected\": [4, 3], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [4, 1], \"expected\": [4, 1], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.591,"exit_code":1,"observations":[{"actual":[0,0],"check":"explicit oracle 0","expected":[3,2],"passed":false},{"actual":[2,2],"check":"explicit oracle 1","expected":[3,1],"passed":false},{"actual":[3,8,6,4,16,3,3,3],"check":"explicit oracle 2","expected":[15,14,9,14,4,14,0,10],"passed":false},{"actual":[2,2],"check":"explicit oracle 3","expected":[3,1],"passed":false},{"actual":[3,3],"check":"explicit oracle 4","expected":[3,3],"passed":true},{"actual":[0,0],"check":"explicit oracle 5","expected":[2,3],"passed":false},{"actual":[1,1],"check":"explicit oracle 6","expected":[4,3],"passed":false},{"actual":[0,0],"check":"explicit oracle 7","expected":[4,1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"explicit oracle 0\", \"actual\": [0, 0], \"expected\": [3, 2], \"passed\": false}, {\"check\": \"explicit oracle 1\", \"actual\": [2, 2], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 2\", \"actual\": [3, 8, 6, 4, 16, 3, 3, 3], \"expected\": [15, 14, 9, 14, 4, 14, 0, 10], \"passed\": false}, {\"check\": \"explicit oracle 3\", \"actual\": [2, 2], \"expected\": [3, 1], \"passed\": false}, {\"check\": \"explicit oracle 4\", \"actual\": [3, 3], \"expected\": [3, 3], \"passed\": true}, {\"check\": \"explicit oracle 5\", \"actual\": [0, 0], \"expected\": [2, 3], \"passed\": false}, {\"check\": \"explicit oracle 6\", \"actual\": [1, 1], \"expected\": [4, 3], \"passed\": false}, {\"check\": \"explicit oracle 7\", \"actual\": [0, 0], \"expected\": [4, 1], \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}