{"abstract":"Halving the array treats interleaved input as planar.","category":"Audio frame buffers","checks":4,"contract":"Split an even-length interleaved stereo array into left/right planar arrays.","evaluation_group":"xaud-deinterleave-stereo-stride","failed_approach":"Correct strides with reversed destinations swap left and right.","family":"xaud-deinterleave-stereo-stride","id":"FA-10826","implementations":{"attempt":{"sha256":"038fb33b56db2488d163b09e42529252e8d215f1505798d7183404a81b00ab02","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples):\n    return [samples[1::2],samples[::2]]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([1, 3, 2, 4],)),[[1, 2], [3, 4]])\ncheck('fixture 2',solve(*([],)),[[], []])\ncheck('fixture 3',solve(*([5, 6],)),[[5], [6]])\ncheck('fixture 4',solve(*([-1, 0, 0, 1],)),[[-1, 0], [0, 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":"698f3d5cf32516d3cb45dd41681733a229b64cf85f6eb5aee69503bc7453535e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples):\n    return [samples[:len(samples)//2],samples[len(samples)//2:]]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([1, 3, 2, 4],)),[[1, 2], [3, 4]])\ncheck('fixture 2',solve(*([],)),[[], []])\ncheck('fixture 3',solve(*([5, 6],)),[[5], [6]])\ncheck('fixture 4',solve(*([-1, 0, 0, 1],)),[[-1, 0], [0, 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":"524c079a84a0a6dc84954bb1d79bf0d67ba8ea253f6eff0c2618b66e94465d9e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples):\n    return [samples[::2],samples[1::2]]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([1, 3, 2, 4],)),[[1, 2], [3, 4]])\ncheck('fixture 2',solve(*([],)),[[], []])\ncheck('fixture 3',solve(*([5, 6],)),[[5], [6]])\ncheck('fixture 4',solve(*([-1, 0, 0, 1],)),[[-1, 0], [0, 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":" 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":"xaud-deinterleave-stereo-stride","generated_at":"2026-09-29T14:38:42.532138+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A pure Python local audio pipeline stage with explicit sample formats and frame conventions; no real-time device or signal-spectrum claims.","repair":"Apply the explicit PCM/playback contract: Split an even-length interleaved stereo array into left/right planar arrays.","root_cause":"Halving the array treats interleaved input as planar.","sha256":"d8d6340cba32507abbc1984aa5040ba07b47824f04a13cd72891817c22cf28bb","title":"Deinterleave stereo stride · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.68,"exit_code":1,"observations":[{"actual":[[3,4],[1,2]],"check":"fixture 1","expected":[[1,2],[3,4]],"passed":false},{"actual":[[],[]],"check":"fixture 2","expected":[[],[]],"passed":true},{"actual":[[6],[5]],"check":"fixture 3","expected":[[5],[6]],"passed":false},{"actual":[[0,1],[-1,0]],"check":"fixture 4","expected":[[-1,0],[0,1]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[3, 4], [1, 2]], \"expected\": [[1, 2], [3, 4]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [[6], [5]], \"expected\": [[5], [6]], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [[0, 1], [-1, 0]], \"expected\": [[-1, 0], [0, 1]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.235,"exit_code":1,"observations":[{"actual":[[1,3],[2,4]],"check":"fixture 1","expected":[[1,2],[3,4]],"passed":false},{"actual":[[],[]],"check":"fixture 2","expected":[[],[]],"passed":true},{"actual":[[5],[6]],"check":"fixture 3","expected":[[5],[6]],"passed":true},{"actual":[[-1,0],[0,1]],"check":"fixture 4","expected":[[-1,0],[0,1]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 3], [2, 4]], \"expected\": [[1, 2], [3, 4]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [[5], [6]], \"expected\": [[5], [6]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[-1, 0], [0, 1]], \"expected\": [[-1, 0], [0, 1]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":40.725,"exit_code":0,"observations":[{"actual":[[1,2],[3,4]],"check":"fixture 1","expected":[[1,2],[3,4]],"passed":true},{"actual":[[],[]],"check":"fixture 2","expected":[[],[]],"passed":true},{"actual":[[5],[6]],"check":"fixture 3","expected":[[5],[6]],"passed":true},{"actual":[[-1,0],[0,1]],"check":"fixture 4","expected":[[-1,0],[0,1]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2], [3, 4]], \"expected\": [[1, 2], [3, 4]], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[], []], \"expected\": [[], []], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [[5], [6]], \"expected\": [[5], [6]], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[-1, 0], [0, 1]], \"expected\": [[-1, 0], [0, 1]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}