{"abstract":"Normalization by positive maximum pushes negative full scale below -1.","category":"PCM sample encoding","checks":4,"contract":"Convert signed16 sample integers to normalized floats by dividing by32768; maximum positive is below one.","evaluation_group":"xaud-pcm16-to-float-asymmetric-range","failed_approach":"Integer division destroys all intermediate sample amplitudes.","family":"xaud-pcm16-to-float-asymmetric-range","id":"FA-10811","implementations":{"attempt":{"sha256":"1dbbd8312649f5622a27d49cd4efafe96e6b0c6cc2a2c084a839ce64d6f6e817","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples):\n    return [x//32768 for x in samples]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([-32768, 0, 16384],)),[-1, 0, 0.5])\ncheck('fixture 2',solve(*([32767],)),[0.999969482421875])\ncheck('fixture 3',solve(*([],)),[])\ncheck('fixture 4',solve(*([-16384],)),[-0.5])\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":"6077e24cb84a6e9f7ee8f3df7b155a31860541956f24949c5ff0444606bdcb20","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples):\n    return [x/32767 for x in samples]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([-32768, 0, 16384],)),[-1, 0, 0.5])\ncheck('fixture 2',solve(*([32767],)),[0.999969482421875])\ncheck('fixture 3',solve(*([],)),[])\ncheck('fixture 4',solve(*([-16384],)),[-0.5])\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":"2d2c3ed51015fd6b5c20a93b70021ab17601768a6f6100f940b034ba5356ea08","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples):\n    return [x/32768 for x in samples]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([-32768, 0, 16384],)),[-1, 0, 0.5])\ncheck('fixture 2',solve(*([32767],)),[0.999969482421875])\ncheck('fixture 3',solve(*([],)),[])\ncheck('fixture 4',solve(*([-16384],)),[-0.5])\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-pcm16-to-float-asymmetric-range","generated_at":"2026-09-29T14:38:42.489399+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: Convert signed16 sample integers to normalized floats by dividing by32768; maximum positive is below one.","root_cause":"Normalization by positive maximum pushes negative full scale below -1.","sha256":"57a97093053439007528f8462844ae3eb1e70b0063f1299ff788b7ac13a81255","title":"Pcm16 to float asymmetric range · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":42.694,"exit_code":1,"observations":[{"actual":[-1,0,0],"check":"fixture 1","expected":[-1,0,0.5],"passed":false},{"actual":[0],"check":"fixture 2","expected":[0.999969482421875],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[-1],"check":"fixture 4","expected":[-0.5],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [-1, 0, 0], \"expected\": [-1, 0, 0.5], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [0], \"expected\": [0.999969482421875], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [-1], \"expected\": [-0.5], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":41.048,"exit_code":1,"observations":[{"actual":[-1.000030518509476,0.0,0.500015259254738],"check":"fixture 1","expected":[-1,0,0.5],"passed":false},{"actual":[1.0],"check":"fixture 2","expected":[0.999969482421875],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[-0.500015259254738],"check":"fixture 4","expected":[-0.5],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [-1.000030518509476, 0.0, 0.500015259254738], \"expected\": [-1, 0, 0.5], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [1.0], \"expected\": [0.999969482421875], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [-0.500015259254738], \"expected\": [-0.5], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":42.294,"exit_code":0,"observations":[{"actual":[-1.0,0.0,0.5],"check":"fixture 1","expected":[-1,0,0.5],"passed":true},{"actual":[0.999969482421875],"check":"fixture 2","expected":[0.999969482421875],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[-0.5],"check":"fixture 4","expected":[-0.5],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [-1.0, 0.0, 0.5], \"expected\": [-1, 0, 0.5], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [0.999969482421875], \"expected\": [0.999969482421875], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [-0.5], \"expected\": [-0.5], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}