{"abstract":"A configured channel-routing map is ignored.","category":"Audio frame buffers","checks":4,"contract":"For each equal-width frame, select source channel indices in exact mapping order, allowing repetition and an empty mapping.","evaluation_group":"xaud-channel-remap-framewise","failed_approach":"Sorting routing indices changes channel destination order.","family":"xaud-channel-remap-framewise","id":"FA-10851","implementations":{"attempt":{"sha256":"adfeb31b6d95b0ba6f41bf92ac749d07a33da8c258c8adcdaf2444f3a86b9c01","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(frames, mapping):\n    return [[frame[i] for i in sorted(mapping)] for frame in frames]\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, 5, 6]], [2, 0])),[[3, 1], [6, 4]])\ncheck('fixture 2',solve(*([[1, 2]], [1, 1])),[[2, 2]])\ncheck('fixture 3',solve(*([], [0])),[])\ncheck('fixture 4',solve(*([[1, 2]], [])),[[]])\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":"c24aa581a2a5a823f6d3aa99566eeff1eb4b4a50d0f3214b79a8392358c75274","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(frames, mapping):\n    return [list(frame) for frame in frames]\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, 5, 6]], [2, 0])),[[3, 1], [6, 4]])\ncheck('fixture 2',solve(*([[1, 2]], [1, 1])),[[2, 2]])\ncheck('fixture 3',solve(*([], [0])),[])\ncheck('fixture 4',solve(*([[1, 2]], [])),[[]])\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":"a0a0f9f58cc519c424b3a9e6a556a0fe27d30957621bfd14a1ae126e3d6d800e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(frames, mapping):\n    return [[frame[i] for i in mapping] for frame in frames]\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, 5, 6]], [2, 0])),[[3, 1], [6, 4]])\ncheck('fixture 2',solve(*([[1, 2]], [1, 1])),[[2, 2]])\ncheck('fixture 3',solve(*([], [0])),[])\ncheck('fixture 4',solve(*([[1, 2]], [])),[[]])\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-channel-remap-framewise","generated_at":"2026-09-29T14:38:42.817208+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: For each equal-width frame, select source channel indices in exact mapping order, allowing repetition and an empty mapping.","root_cause":"A configured channel-routing map is ignored.","sha256":"4bf7990e1f5b59e1f322768ef549dc2126261b752003d8273bec4720068ab049","title":"Channel remap framewise · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":39.097,"exit_code":1,"observations":[{"actual":[[1,3],[4,6]],"check":"fixture 1","expected":[[3,1],[6,4]],"passed":false},{"actual":[[2,2]],"check":"fixture 2","expected":[[2,2]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[]],"check":"fixture 4","expected":[[]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 3], [4, 6]], \"expected\": [[3, 1], [6, 4]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[2, 2]], \"expected\": [[2, 2]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[]], \"expected\": [[]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.582,"exit_code":1,"observations":[{"actual":[[1,2,3],[4,5,6]],"check":"fixture 1","expected":[[3,1],[6,4]],"passed":false},{"actual":[[1,2]],"check":"fixture 2","expected":[[2,2]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[1,2]],"check":"fixture 4","expected":[[]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2, 3], [4, 5, 6]], \"expected\": [[3, 1], [6, 4]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[1, 2]], \"expected\": [[2, 2]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[1, 2]], \"expected\": [[]], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":38.595,"exit_code":0,"observations":[{"actual":[[3,1],[6,4]],"check":"fixture 1","expected":[[3,1],[6,4]],"passed":true},{"actual":[[2,2]],"check":"fixture 2","expected":[[2,2]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[]],"check":"fixture 4","expected":[[]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[3, 1], [6, 4]], \"expected\": [[3, 1], [6, 4]], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[2, 2]], \"expected\": [[2, 2]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[]], \"expected\": [[]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}