{"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":"A fabricated terminal neighbor also adds an extra local product.","family":"s3-numerical-aggregation-adjacent-product-block-reduction-adjacent-loop-closure","id":"FA-13951","implementations":{"attempt":{"sha256":"ed46dca174e070f1a845fa5ee217d6d4ac392a8de17b8abbccbe553a4e3908ed","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:]+[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":"f0207a5f843e970f11bad362e33892463ba04f22a5fff27fa3a2ae6c46c50cb0","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:]+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-loop-closure","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":"Each block is treated as a cyclic sequence.","sha256":"72972d29abcc8b6192aa0ab51357b3b6fea67b7df7cbf2eaa360d026f404e9e8","title":"Adjacent product block reduction: Each block is treated as a cyclic sequence. · 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":40.794,"exit_code":1,"observations":[{"actual":26,"check":"regression 1","expected":20,"passed":false},{"actual":-17,"check":"regression 2","expected":-21,"passed":false},{"actual":0,"check":"regression 3","expected":0,"passed":true},{"actual":16,"check":"regression 4","expected":12,"passed":false},{"actual":-29,"check":"regression 5","expected":-33,"passed":false},{"actual":7,"check":"regression 6","expected":0,"passed":false},{"actual":22,"check":"regression 7","expected":18,"passed":false},{"actual":5,"check":"variable interblock product","expected":2,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 26, \"expected\": 20, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": -17, \"expected\": -21, \"passed\": false}, {\"check\": \"regression 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"regression 4\", \"actual\": 16, \"expected\": 12, \"passed\": false}, {\"check\": \"regression 5\", \"actual\": -29, \"expected\": -33, \"passed\": false}, {\"check\": \"regression 6\", \"actual\": 7, \"expected\": 0, \"passed\": false}, {\"check\": \"regression 7\", \"actual\": 22, \"expected\": 18, \"passed\": false}, {\"check\": \"variable interblock product\", \"actual\": 5, \"expected\": 2, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":43.425,"exit_code":1,"observations":[{"actual":34,"check":"regression 1","expected":20,"passed":false},{"actual":17,"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":-16,"check":"regression 5","expected":-33,"passed":false},{"actual":49,"check":"regression 6","expected":0,"passed":false},{"actual":26,"check":"regression 7","expected":18,"passed":false},{"actual":7,"check":"variable interblock product","expected":2,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"regression 1\", \"actual\": 34, \"expected\": 20, \"passed\": false}, {\"check\": \"regression 2\", \"actual\": 17, \"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\": -16, \"expected\": -33, \"passed\": false}, {\"check\": \"regression 6\", \"actual\": 49, \"expected\": 0, \"passed\": false}, {\"check\": \"regression 7\", \"actual\": 26, \"expected\": 18, \"passed\": false}, {\"check\": \"variable interblock product\", \"actual\": 7, \"expected\": 2, \"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."}}