{"abstract":"The reduction disagrees with its explicit aggregation oracle.","category":"Numerical aggregation","checks":6,"contract":"Return [positive total, negative total, zero count] for an integer sequence; preserve signs and multiplicity.","contract_signature":"xs","evaluation_group":"s3-na-signed-channel-totals","failed_approach":"Keeping the largest channel magnitude still drops other contributions.","family":"s3-numerical-aggregation-signed-channel-totals-overwrite-subtotal","id":"FA-12861","implementations":{"attempt":{"sha256":"489786e8f3250f9c411806a635abc8e0d0711b9fbcd3069c69f70c45b3a519d9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nfrom collections import Counter, defaultdict\nimport math\nimport itertools\nN = 1\nobservations = []\ndef solve(xs):\n    return [max([0]+xs),min([0]+xs),xs.count(0)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('regression 1', solve(*([3, -2, 0, 3, -4, 0],)), [6, -6, 2])\ncheck('regression 2', solve(*([],)), [0, 0, 0])\ncheck('regression 3', solve(*([0, 0, 0],)), [0, 0, 3])\ncheck('regression 4', solve(*([-8, -2],)), [0, -10, 0])\ncheck('regression 5', solve(*([2, 2, 7],)), [11, 0, 0])\ncheck(\"variable signed channels\", solve([N,-N,0,N]), [2*N,-N,1])\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":"ae13dcd8a2675ec89c2bf3ed2a074c5e1fbc707315b6a048d29f1bcb92da1590","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nfrom fractions import Fraction\nfrom collections import Counter, defaultdict\nimport math\nimport itertools\nN = 1\nobservations = []\ndef solve(xs):\n    return [next((x for x in reversed(xs) if x>0),0),next((x for x in reversed(xs) if x<0),0),xs.count(0)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('regression 1', solve(*([3, -2, 0, 3, -4, 0],)), [6, -6, 2])\ncheck('regression 2', solve(*([],)), [0, 0, 0])\ncheck('regression 3', solve(*([0, 0, 0],)), [0, 0, 3])\ncheck('regression 4', solve(*([-8, -2],)), [0, -10, 0])\ncheck('regression 5', solve(*([2, 2, 7],)), [11, 0, 0])\ncheck(\"variable signed channels\", solve([N,-N,0,N]), [2*N,-N,1])\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":"Small offline integer/rational inputs only; no performance, statistical inference, or production-library conformance claim. 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-numerical-aggregation-signed-channel-totals-overwrite-subtotal","generated_at":"2026-09-29T14:39:00.848310+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Exact bounded examples isolate a reduction defect without floating-point or external-service effects.","root_cause":"The channel accumulator is overwritten by its final contribution.","sha256":"e05907a60a869663fe0b50ed5b3410ed1598e4b304d2a684fb0b366c2a1433a3","title":"Signed channel totals: The channel accumulator is overwritten by its final contribution. · 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":58.547,"exit_code":1,"observations":[{"actual":[3,-4,2],"check":"regression 1","expected":[6,-6,2],"passed":false},{"actual":[0,0,0],"check":"regression 2","expected":[0,0,0],"passed":true},{"actual":[0,0,3],"check":"regression 3","expected":[0,0,3],"passed":true},{"actual":[0,-8,0],"check":"regression 4","expected":[0,-10,0],"passed":false},{"actual":[7,0,0],"check":"regression 5","expected":[11,0,0],"passed":false},{"actual":[1,-1,1],"check":"variable signed channels","expected":[2,-1,1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": [3, -4, 2], \"expected\": [6, -6, 2], \"passed\": false}, {\"check\": \"regression 2\", \"actual\": [0, 0, 0], \"expected\": [0, 0, 0], \"passed\": true}, {\"check\": \"regression 3\", \"actual\": [0, 0, 3], \"expected\": [0, 0, 3], \"passed\": true}, {\"check\": \"regression 4\", \"actual\": [0, -8, 0], \"expected\": [0, -10, 0], \"passed\": false}, {\"check\": \"regression 5\", \"actual\": [7, 0, 0], \"expected\": [11, 0, 0], \"passed\": false}, {\"check\": \"variable signed channels\", \"actual\": [1, -1, 1], \"expected\": [2, -1, 1], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":46.721,"exit_code":1,"observations":[{"actual":[3,-4,2],"check":"regression 1","expected":[6,-6,2],"passed":false},{"actual":[0,0,0],"check":"regression 2","expected":[0,0,0],"passed":true},{"actual":[0,0,3],"check":"regression 3","expected":[0,0,3],"passed":true},{"actual":[0,-2,0],"check":"regression 4","expected":[0,-10,0],"passed":false},{"actual":[7,0,0],"check":"regression 5","expected":[11,0,0],"passed":false},{"actual":[1,-1,1],"check":"variable signed channels","expected":[2,-1,1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": [3, -4, 2], \"expected\": [6, -6, 2], \"passed\": false}, {\"check\": \"regression 2\", \"actual\": [0, 0, 0], \"expected\": [0, 0, 0], \"passed\": true}, {\"check\": \"regression 3\", \"actual\": [0, 0, 3], \"expected\": [0, 0, 3], \"passed\": true}, {\"check\": \"regression 4\", \"actual\": [0, -2, 0], \"expected\": [0, -10, 0], \"passed\": false}, {\"check\": \"regression 5\", \"actual\": [7, 0, 0], \"expected\": [11, 0, 0], \"passed\": false}, {\"check\": \"variable signed channels\", \"actual\": [1, -1, 1], \"expected\": [2, -1, 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."}}