{"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.","evaluation_group":"s3-na-adjacent-product-block-reduction","failed_approach":"Carrying block total loses the identity of its final observation.","family":"s3-numerical-aggregation-adjacent-product-block-reduction-adjacent-retained-head","id":"FA-13921","implementations":{"attempt":{"sha256":"e0c238aed9ac1e1c4ef584e4ae6227c202c88412616c3f895a6425ec176587ee","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=sum(block)\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":"827d0a0917cb4b5a96fe5371980e27e6cf696b184f787fbeac51e40746b93cb8","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[0]\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"},"fixed":{"sha256":"57613ef4fdd7ea759e8e79c19b3f78b846fe3c80a8c64f8eca1cbd31f91df0ea","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-retained-head","generated_at":"2026-09-29T14:39:11.685760+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 adjacent product block reduction contract at the identified reduction decision.","root_cause":"The carried endpoint is the first observation of the old block.","sha256":"711ca562945ce7e882147d2b272ba279c75834af0020d390c71009fcb1015716","title":"Adjacent product block reduction: The carried endpoint is the first observation of the old block. · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.019,"exit_code":1,"observations":[{"actual":23,"check":"regression 1","expected":20,"passed":false},{"actual":-21,"check":"regression 2","expected":-21,"passed":true},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":12,"check":"regression 4","expected":12,"passed":true},{"actual":-39,"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\": 23, \"expected\": 20, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": -21, \"expected\": -21, \"passed\": true}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 12, \"expected\": 12, \"passed\": true}, {\"check\": \"regression 5\", \"actual\": -39, \"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":40.989,"exit_code":1,"observations":[{"actual":17,"check":"regression 1","expected":20,"passed":false},{"actual":-21,"check":"regression 2","expected":-21,"passed":true},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":0,"check":"regression 4","expected":12,"passed":false},{"actual":-36,"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\": 17, \"expected\": 20, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": -21, \"expected\": -21, \"passed\": true}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 0, \"expected\": 12, \"passed\": false}, {\"check\": \"regression 5\", \"actual\": -36, \"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"},"fixed":{"elapsed_ms":39.333,"exit_code":0,"observations":[{"actual":20,"check":"regression 1","expected":20,"passed":true},{"actual":-21,"check":"regression 2","expected":-21,"passed":true},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":12,"check":"regression 4","expected":12,"passed":true},{"actual":-33,"check":"regression 5","expected":-33,"passed":true},{"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":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 20, \"expected\": 20, \"passed\": true}, {\"check\": \"regression 2\", \"actual\": -21, \"expected\": -21, \"passed\": true}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 12, \"expected\": 12, \"passed\": true}, {\"check\": \"regression 5\", \"actual\": -33, \"expected\": -33, \"passed\": true}, {\"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\": true}\n"}},"verified":true,"visibility":"public"}