{"abstract":"The reduction disagrees with its explicit aggregation oracle.","category":"Numerical aggregation","checks":8,"contract":"Concatenate ordered integer blocks logically and sum products of neighboring observations. Empty blocks are identity; there is exactly one cross-boundary product between consecutive nonempty blocks.","contract_signature":"blocks","evaluation_group":"s3-na-adjacent-product-block-reduction","failed_approach":"Keeping the larger block total is not an additive neighboring reduction.","family":"s3-numerical-aggregation-adjacent-product-block-reduction-adjacent-total-overwrite","id":"FA-13946","implementations":{"attempt":{"sha256":"d10970d659dab88998ac920cf8f2302b5ed544824971c6094278391a44728b87","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(blocks):\n    total=0\n    last=None\n    for block in blocks:\n        if not block: continue\n        total=max(total,sum(a*b for a,b in zip(block,block[1:])))\n        if last is not None: total+=last*block[0]\n        last=block[-1]\n    return total\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('regression 1', solve(*([[1, 2], [3, 4]],)), 20)\ncheck('regression 2', solve(*([[2], [], [-3], [5]],)), -21)\ncheck('regression 3', solve(*([],)), 0)\ncheck('regression 4', solve(*([[0, 4], [3, 0]],)), 12)\ncheck('regression 5', solve(*([[-2, -1], [3, -4, 5]],)), -33)\ncheck('regression 6', solve(*([[], [7], []],)), 0)\ncheck('regression 7', solve(*([[2, 3, 4]],)), 18)\ncheck(\"variable interblock product\",solve([[N],[N+1]]),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":"cfbb9ac4180d32264d5ba4ad207e38f0a5316df37169011f84f829bcbb6b3b98","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(blocks):\n    total=0\n    last=None\n    for block in blocks:\n        if not block: continue\n        total=sum(a*b for a,b in zip(block,block[1:]))\n        if last is not None: total+=last*block[0]\n        last=block[-1]\n    return total\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('regression 1', solve(*([[1, 2], [3, 4]],)), 20)\ncheck('regression 2', solve(*([[2], [], [-3], [5]],)), -21)\ncheck('regression 3', solve(*([],)), 0)\ncheck('regression 4', solve(*([[0, 4], [3, 0]],)), 12)\ncheck('regression 5', solve(*([[-2, -1], [3, -4, 5]],)), -33)\ncheck('regression 6', solve(*([[], [7], []],)), 0)\ncheck('regression 7', solve(*([[2, 3, 4]],)), 18)\ncheck(\"variable interblock product\",solve([[N],[N+1]]),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-adjacent-product-block-reduction-adjacent-total-overwrite","generated_at":"2026-09-29T14:39:12.219008+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":"Incoming within-block reduction replaces accumulated total.","sha256":"091b57f53a026860245390a9ba217c0546be36b409004a20b099be282bf05ab6","title":"Adjacent product block reduction: Incoming within-block reduction replaces accumulated total. · 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":42.694,"exit_code":1,"observations":[{"actual":18,"check":"regression 1","expected":20,"passed":false},{"actual":-15,"check":"regression 2","expected":-21,"passed":false},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":12,"check":"regression 4","expected":12,"passed":true},{"actual":-1,"check":"regression 5","expected":-33,"passed":false},{"actual":0,"check":"regression 6","expected":0,"passed":true},{"actual":18,"check":"regression 7","expected":18,"passed":true},{"actual":2,"check":"variable interblock product","expected":2,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 18, \"expected\": 20, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": -15, \"expected\": -21, \"passed\": false}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 12, \"expected\": 12, \"passed\": true}, {\"check\": \"regression 5\", \"actual\": -1, \"expected\": -33, \"passed\": false}, {\"check\": \"regression 6\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 7\", \"actual\": 18, \"expected\": 18, \"passed\": true}, {\"check\": \"variable interblock product\", \"actual\": 2, \"expected\": 2, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.16,"exit_code":1,"observations":[{"actual":18,"check":"regression 1","expected":20,"passed":false},{"actual":-15,"check":"regression 2","expected":-21,"passed":false},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":12,"check":"regression 4","expected":12,"passed":true},{"actual":-35,"check":"regression 5","expected":-33,"passed":false},{"actual":0,"check":"regression 6","expected":0,"passed":true},{"actual":18,"check":"regression 7","expected":18,"passed":true},{"actual":2,"check":"variable interblock product","expected":2,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 18, \"expected\": 20, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": -15, \"expected\": -21, \"passed\": false}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 12, \"expected\": 12, \"passed\": true}, {\"check\": \"regression 5\", \"actual\": -35, \"expected\": -33, \"passed\": false}, {\"check\": \"regression 6\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 7\", \"actual\": 18, \"expected\": 18, \"passed\": true}, {\"check\": \"variable interblock product\", \"actual\": 2, \"expected\": 2, \"passed\": true}], \"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."}}