{"abstract":"The last callback claims requested frames beyond stream end.","category":"Audio playback scheduling","checks":4,"contract":"Position is in [0,length]. Return [available frames to render,finished after this request], including a final partial block before stopping.","contract_signature":"position, length, requested","evaluation_group":"xaud-stream-end-stops-after-tail","failed_approach":"Stopping immediately at a crossing drops the valid final tail.","family":"xaud-stream-end-stops-after-tail","id":"FA-10971","implementations":{"attempt":{"sha256":"38bd410eb20275e528602f69e538af1ec6e6d15e81576fc51c9a95bc329c7207","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(position, length, requested):\n    return [0,True] if position+requested>=length else [requested,False]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(8, 10, 4)),[2, True])\ncheck('fixture 2',solve(*(0, 10, 4)),[4, False])\ncheck('fixture 3',solve(*(10, 10, 4)),[0, True])\ncheck('fixture 4',solve(*(0, 0, 0)),[0, True])\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":"d2c8e9d159dc0e10e823e0d7f097e2e77e21b0fac8762997069e06d56a194fae","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(position, length, requested):\n    return [requested,position+requested>=length]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(8, 10, 4)),[2, True])\ncheck('fixture 2',solve(*(0, 10, 4)),[4, False])\ncheck('fixture 3',solve(*(10, 10, 4)),[0, True])\ncheck('fixture 4',solve(*(0, 0, 0)),[0, True])\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-stream-end-stops-after-tail","generated_at":"2026-09-29T14:38:43.762388+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":"The last callback claims requested frames beyond stream end.","sha256":"35752b1375e73250bb205d9514367669eb9bf01576bbef1b4ce235fc2a559572","title":"Stream end stops after tail · 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":41.392,"exit_code":1,"observations":[{"actual":[0,true],"check":"fixture 1","expected":[2,true],"passed":false},{"actual":[4,false],"check":"fixture 2","expected":[4,false],"passed":true},{"actual":[0,true],"check":"fixture 3","expected":[0,true],"passed":true},{"actual":[0,true],"check":"fixture 4","expected":[0,true],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [0, true], \"expected\": [2, true], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [4, false], \"expected\": [4, false], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [0, true], \"expected\": [0, true], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [0, true], \"expected\": [0, true], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.15,"exit_code":1,"observations":[{"actual":[4,true],"check":"fixture 1","expected":[2,true],"passed":false},{"actual":[4,false],"check":"fixture 2","expected":[4,false],"passed":true},{"actual":[4,true],"check":"fixture 3","expected":[0,true],"passed":false},{"actual":[0,true],"check":"fixture 4","expected":[0,true],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [4, true], \"expected\": [2, true], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [4, false], \"expected\": [4, false], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [4, true], \"expected\": [0, true], \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": [0, true], \"expected\": [0, true], \"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."}}