{"abstract":"A single gain replaces separately configured channel volumes.","category":"Audio channel mixing","checks":4,"contract":"Apply a corresponding scalar gain per channel to each equal-width frame; gains length equals frame width.","evaluation_group":"xaud-channel-gains-independent","failed_approach":"Gain index follows time-frame position rather than channel position.","family":"xaud-channel-gains-independent","id":"FA-10916","implementations":{"attempt":{"sha256":"cb1a58e19e6217dd9a53c69617856661595753325da818c308c7701886664238","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(frames, gains):\n    return [[x*gains[i%len(gains)] for x in frame] for i,frame in enumerate(frames)]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([[1, 1], [1, 1]], [0.25, 0.75])),[[0.25, 0.75], [0.25, 0.75]])\ncheck('fixture 2',solve(*([[2, 4]], [0, 0.5])),[[0, 2]])\ncheck('fixture 3',solve(*([], [1, 1])),[])\ncheck('fixture 4',solve(*([[1], [2]], [0.5])),[[0.5], [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":"43ccbe8bd980d68cfab9326d717180f6f754d976583de74327ff48f5f36acc6c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(frames, gains):\n    return [[x*gains[0] for x in 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, 1], [1, 1]], [0.25, 0.75])),[[0.25, 0.75], [0.25, 0.75]])\ncheck('fixture 2',solve(*([[2, 4]], [0, 0.5])),[[0, 2]])\ncheck('fixture 3',solve(*([], [1, 1])),[])\ncheck('fixture 4',solve(*([[1], [2]], [0.5])),[[0.5], [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":"913aa0972e4495c357bde94b320db8e22e11be91c9ae4f4a160952e4893fc910","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(frames, gains):\n    return [[x*g for x,g in zip(frame,gains)] 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, 1], [1, 1]], [0.25, 0.75])),[[0.25, 0.75], [0.25, 0.75]])\ncheck('fixture 2',solve(*([[2, 4]], [0, 0.5])),[[0, 2]])\ncheck('fixture 3',solve(*([], [1, 1])),[])\ncheck('fixture 4',solve(*([[1], [2]], [0.5])),[[0.5], [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-channel-gains-independent","generated_at":"2026-09-29T14:38:43.347647+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: Apply a corresponding scalar gain per channel to each equal-width frame; gains length equals frame width.","root_cause":"A single gain replaces separately configured channel volumes.","sha256":"bd3b59c31c739a178c2c217d6bc259e823075b3e3e43ae9adf24d455a0d3df97","title":"Channel gains independent · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":37.494,"exit_code":1,"observations":[{"actual":[[0.25,0.25],[0.75,0.75]],"check":"fixture 1","expected":[[0.25,0.75],[0.25,0.75]],"passed":false},{"actual":[[0,0]],"check":"fixture 2","expected":[[0,2]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[0.5],[1.0]],"check":"fixture 4","expected":[[0.5],[1]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[0.25, 0.25], [0.75, 0.75]], \"expected\": [[0.25, 0.75], [0.25, 0.75]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[0, 0]], \"expected\": [[0, 2]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[0.5], [1.0]], \"expected\": [[0.5], [1]], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.208,"exit_code":1,"observations":[{"actual":[[0.25,0.25],[0.25,0.25]],"check":"fixture 1","expected":[[0.25,0.75],[0.25,0.75]],"passed":false},{"actual":[[0,0]],"check":"fixture 2","expected":[[0,2]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[0.5],[1.0]],"check":"fixture 4","expected":[[0.5],[1]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[0.25, 0.25], [0.25, 0.25]], \"expected\": [[0.25, 0.75], [0.25, 0.75]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[0, 0]], \"expected\": [[0, 2]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[0.5], [1.0]], \"expected\": [[0.5], [1]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":38.301,"exit_code":0,"observations":[{"actual":[[0.25,0.75],[0.25,0.75]],"check":"fixture 1","expected":[[0.25,0.75],[0.25,0.75]],"passed":true},{"actual":[[0,2.0]],"check":"fixture 2","expected":[[0,2]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[0.5],[1.0]],"check":"fixture 4","expected":[[0.5],[1]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[0.25, 0.75], [0.25, 0.75]], \"expected\": [[0.25, 0.75], [0.25, 0.75]], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[0, 2.0]], \"expected\": [[0, 2]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[0.5], [1.0]], \"expected\": [[0.5], [1]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}