{"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.","evaluation_group":"s3-na-signed-channel-totals","failed_approach":"The zero counter uses the number of distinct inputs.","family":"s3-numerical-aggregation-signed-channel-totals-zero-presence","id":"FA-12856","implementations":{"attempt":{"sha256":"f0da768f03958daea5422c6847949a6e8ed09764213e9d1c7faae98d0b52c53c","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 [sum(x for x in xs if x>0),sum(x for x in xs if x<0),len(set(xs))]\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":"e6edec25fd244b54a9543c1bdf4a7c56fa0c77d223f645d54c554009d5f2bd70","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 [sum(x for x in xs if x>0),sum(x for x in xs if x<0),int(0 in xs)]\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"},"fixed":{"sha256":"78a7955d2be7a67187873c2aed8d1ea9bd0e81f6fbe78c695ab3204ec5a175d8","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 [sum(x for x in xs if x>0), sum(x for x in xs if x<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-zero-presence","generated_at":"2026-09-29T14:39:00.823225+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.","repair":"Preserve the signed channel totals contract at the identified reduction decision.","root_cause":"Zero presence is reported instead of zero multiplicity.","sha256":"dc0d10777f1af3ad67d6e42c3c2607fb3621341da0fc698574c3c27439d5ebe8","title":"Signed channel totals: Zero presence is reported instead of zero multiplicity. · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":52.189,"exit_code":1,"observations":[{"actual":[6,-6,4],"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,1],"check":"regression 3","expected":[0,0,3],"passed":false},{"actual":[0,-10,2],"check":"regression 4","expected":[0,-10,0],"passed":false},{"actual":[11,0,2],"check":"regression 5","expected":[11,0,0],"passed":false},{"actual":[2,-1,3],"check":"variable signed channels","expected":[2,-1,1],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": [6, -6, 4], \"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, 1], \"expected\": [0, 0, 3], \"passed\": false}, {\"check\": \"regression 4\", \"actual\": [0, -10, 2], \"expected\": [0, -10, 0], \"passed\": false}, {\"check\": \"regression 5\", \"actual\": [11, 0, 2], \"expected\": [11, 0, 0], \"passed\": false}, {\"check\": \"variable signed channels\", \"actual\": [2, -1, 3], \"expected\": [2, -1, 1], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":46.498,"exit_code":1,"observations":[{"actual":[6,-6,1],"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,1],"check":"regression 3","expected":[0,0,3],"passed":false},{"actual":[0,-10,0],"check":"regression 4","expected":[0,-10,0],"passed":true},{"actual":[11,0,0],"check":"regression 5","expected":[11,0,0],"passed":true},{"actual":[2,-1,1],"check":"variable signed channels","expected":[2,-1,1],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": [6, -6, 1], \"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, 1], \"expected\": [0, 0, 3], \"passed\": false}, {\"check\": \"regression 4\", \"actual\": [0, -10, 0], \"expected\": [0, -10, 0], \"passed\": true}, {\"check\": \"regression 5\", \"actual\": [11, 0, 0], \"expected\": [11, 0, 0], \"passed\": true}, {\"check\": \"variable signed channels\", \"actual\": [2, -1, 1], \"expected\": [2, -1, 1], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":61.179,"exit_code":0,"observations":[{"actual":[6,-6,2],"check":"regression 1","expected":[6,-6,2],"passed":true},{"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,-10,0],"check":"regression 4","expected":[0,-10,0],"passed":true},{"actual":[11,0,0],"check":"regression 5","expected":[11,0,0],"passed":true},{"actual":[2,-1,1],"check":"variable signed channels","expected":[2,-1,1],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": [6, -6, 2], \"expected\": [6, -6, 2], \"passed\": true}, {\"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, -10, 0], \"expected\": [0, -10, 0], \"passed\": true}, {\"check\": \"regression 5\", \"actual\": [11, 0, 0], \"expected\": [11, 0, 0], \"passed\": true}, {\"check\": \"variable signed channels\", \"actual\": [2, -1, 1], \"expected\": [2, -1, 1], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}