{"abstract":"The reduction disagrees with its explicit aggregation oracle.","category":"Numerical aggregation","checks":6,"contract":"Return sum(abs(x-anchor)); empty input returns zero. Anchor is supplied, not estimated.","contract_signature":"xs, anchor","evaluation_group":"s3-na-absolute-deviation-about-anchor","failed_approach":"Multiplying the range by count cannot recover interior deviations.","family":"s3-numerical-aggregation-absolute-deviation-about-anchor-endpoint-range","id":"FA-12886","implementations":{"attempt":{"sha256":"b04fbdddbb22f6242960e5344b028d6656d4c4c2c94ae640a3110e871c88eb41","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, anchor):\n    return (max(xs)-min(xs))*len(xs) if xs else 0\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('regression 1', solve(*([1, 5, 9], 5)), 8)\ncheck('regression 2', solve(*([], 4)), 0)\ncheck('regression 3', solve(*([4, 4], 4)), 0)\ncheck('regression 4', solve(*([-3, -1], 2)), 8)\ncheck('regression 5', solve(*([0, 0, 6], 1)), 7)\ncheck(\"variable anchor\", solve([N-3,N+2,N+2],N),7)\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":"6eed501a93c5263cb1a1a1cba491619e40f74c0899591a6bc6efa6c3085352cd","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, anchor):\n    return abs(min(xs)-anchor)+abs(max(xs)-anchor) if xs else 0\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('regression 1', solve(*([1, 5, 9], 5)), 8)\ncheck('regression 2', solve(*([], 4)), 0)\ncheck('regression 3', solve(*([4, 4], 4)), 0)\ncheck('regression 4', solve(*([-3, -1], 2)), 8)\ncheck('regression 5', solve(*([0, 0, 6], 1)), 7)\ncheck(\"variable anchor\", solve([N-3,N+2,N+2],N),7)\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-absolute-deviation-about-anchor-endpoint-range","generated_at":"2026-09-29T14:39:01.250375+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":"Only extreme observations contribute to total deviation.","sha256":"85b4ac9c3d33af7771c3daab9748110c3bed4aa748bc122606362e094e17d480","title":"Absolute deviation about anchor: Only extreme observations contribute to total deviation. · 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":50.133,"exit_code":1,"observations":[{"actual":24,"check":"regression 1","expected":8,"passed":false},{"actual":0,"check":"regression 2","expected":0,"passed":true},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":4,"check":"regression 4","expected":8,"passed":false},{"actual":18,"check":"regression 5","expected":7,"passed":false},{"actual":15,"check":"variable anchor","expected":7,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 24, \"expected\": 8, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 4, \"expected\": 8, \"passed\": false}, {\"check\": \"regression 5\", \"actual\": 18, \"expected\": 7, \"passed\": false}, {\"check\": \"variable anchor\", \"actual\": 15, \"expected\": 7, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":49.992,"exit_code":1,"observations":[{"actual":8,"check":"regression 1","expected":8,"passed":true},{"actual":0,"check":"regression 2","expected":0,"passed":true},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":8,"check":"regression 4","expected":8,"passed":true},{"actual":6,"check":"regression 5","expected":7,"passed":false},{"actual":5,"check":"variable anchor","expected":7,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"regression 2\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 8, \"expected\": 8, \"passed\": true}, {\"check\": \"regression 5\", \"actual\": 6, \"expected\": 7, \"passed\": false}, {\"check\": \"variable anchor\", \"actual\": 5, \"expected\": 7, \"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."}}