{"abstract":"Concatenating channel planes does not produce interleaved frames.","category":"Audio frame buffers","checks":4,"contract":"Interleave equal-length left/right sample arrays into L,R frame order.","contract_signature":"left, right","evaluation_group":"xaud-interleave-stereo-frame-order","failed_approach":"Interleaving right first swaps stereo position.","family":"xaud-interleave-stereo-frame-order","id":"FA-10821","implementations":{"attempt":{"sha256":"17d090819965d1a844b7ae84371c24997d572f7de06272f1433eb88994785b96","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(left, right):\n    return [x for pair in zip(right,left) for x in pair]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([1, 2], [3, 4])),[1, 3, 2, 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":"58df13019346e6894d8e0925dedc9ba88c560abaf30700a1e56582bac5736160","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(left, right):\n    return list(left)+list(right)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([1, 2], [3, 4])),[1, 3, 2, 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-interleave-stereo-frame-order","generated_at":"2026-09-29T14:38:42.534686+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.","root_cause":"Concatenating channel planes does not produce interleaved frames.","sha256":"18145c9389b4004c2798e9f65a03ead992ef8175b26e2457e1853d2834942f04","title":"Interleave stereo frame order · 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":44.46,"exit_code":1,"observations":[{"actual":[3,1,4,2],"check":"fixture 1","expected":[1,3,2,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, 1, 4, 2], \"expected\": [1, 3, 2, 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":41.555,"exit_code":1,"observations":[{"actual":[1,2,3,4],"check":"fixture 1","expected":[1,3,2,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, 2, 3, 4], \"expected\": [1, 3, 2, 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"}},"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."}}