{"abstract":"Only complete processing blocks are retained, dropping the final audio tail.","category":"Audio playback scheduling","checks":4,"contract":"Partition a finite mono stream into disjoint nonempty blocks of positive size at least two, retaining a short final tail.","evaluation_group":"xaud-audio-block-partition-keeps-final-tail","failed_approach":"Advancing by one fewer sample duplicates overlap between successive blocks.","family":"xaud-audio-block-partition-keeps-final-tail","id":"FA-11006","implementations":{"attempt":{"sha256":"e85035cc0675b8c11cc4057cf2ca623414c9e149ee702f443219e01544dd7134","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples, size):\n    return [samples[i:i+size] for i in range(0,len(samples),size-1)]\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], 2)),[[1, 2], [3, 4], [5]])\ncheck('fixture 2',solve(*([1], 2)),[[1]])\ncheck('fixture 3',solve(*([], 2)),[])\ncheck('fixture 4',solve(*([1, 2, 3], 3)),[[1, 2, 3]])\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":"f96fcd7eac5d8c685f454b7e4912677044f1fdeaca2ef1aa2b8989c704918d39","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples, size):\n    return [samples[i:i+size] for i in range(0,len(samples)-size+1,size)]\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], 2)),[[1, 2], [3, 4], [5]])\ncheck('fixture 2',solve(*([1], 2)),[[1]])\ncheck('fixture 3',solve(*([], 2)),[])\ncheck('fixture 4',solve(*([1, 2, 3], 3)),[[1, 2, 3]])\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":"37594431c62bf3b0325173c570d55df632b70997871e22c1f1156280224c1430","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(samples, size):\n    return [samples[i:i+size] for i in range(0,len(samples),size)]\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], 2)),[[1, 2], [3, 4], [5]])\ncheck('fixture 2',solve(*([1], 2)),[[1]])\ncheck('fixture 3',solve(*([], 2)),[])\ncheck('fixture 4',solve(*([1, 2, 3], 3)),[[1, 2, 3]])\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-audio-block-partition-keeps-final-tail","generated_at":"2026-09-29T14:38:44.173215+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: Partition a finite mono stream into disjoint nonempty blocks of positive size at least two, retaining a short final tail.","root_cause":"Only complete processing blocks are retained, dropping the final audio tail.","sha256":"3b8dfe4a7b60ee73a4ec843700cb0bc88ac7945c3f41f3f866463192da76ba43","title":"Audio block partition keeps final tail · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":38.502,"exit_code":1,"observations":[{"actual":[[1,2],[2,3],[3,4],[4,5],[5]],"check":"fixture 1","expected":[[1,2],[3,4],[5]],"passed":false},{"actual":[[1]],"check":"fixture 2","expected":[[1]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[1,2,3],[3]],"check":"fixture 4","expected":[[1,2,3]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2], [2, 3], [3, 4], [4, 5], [5]], \"expected\": [[1, 2], [3, 4], [5]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[1]], \"expected\": [[1]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[1, 2, 3], [3]], \"expected\": [[1, 2, 3]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.206,"exit_code":1,"observations":[{"actual":[[1,2],[3,4]],"check":"fixture 1","expected":[[1,2],[3,4],[5]],"passed":false},{"actual":[],"check":"fixture 2","expected":[[1]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[1,2,3]],"check":"fixture 4","expected":[[1,2,3]],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2], [3, 4]], \"expected\": [[1, 2], [3, 4], [5]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [[1]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[1, 2, 3]], \"expected\": [[1, 2, 3]], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":39.813,"exit_code":0,"observations":[{"actual":[[1,2],[3,4],[5]],"check":"fixture 1","expected":[[1,2],[3,4],[5]],"passed":true},{"actual":[[1]],"check":"fixture 2","expected":[[1]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[1,2,3]],"check":"fixture 4","expected":[[1,2,3]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[1, 2], [3, 4], [5]], \"expected\": [[1, 2], [3, 4], [5]], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[1]], \"expected\": [[1]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[1, 2, 3]], \"expected\": [[1, 2, 3]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}