{"abstract":"Cancelling one scheduled sound clears unrelated scheduled work.","category":"Audio playback scheduling","checks":4,"contract":"Pending events are [frame,cancellation token]. Cancel every event belonging to exactly the selected token, preserving others and their order.","evaluation_group":"xaud-callback-cancellation-removes-only-target","failed_approach":"Comparing the token against timestamp leaves matching work queued.","family":"xaud-callback-cancellation-removes-only-target","id":"FA-10996","implementations":{"attempt":{"sha256":"b2a6abb778bf18d740b345d9caf00fb935332613632b518f61ecb576304abf42","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(events, token):\n    return [x for x in events if x[0]!=token]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([[4, 'a'], [5, 'b'], [6, 'a']], 'a')),[[5, 'b']])\ncheck('fixture 2',solve(*([[4, 'a']], 'z')),[[4, 'a']])\ncheck('fixture 3',solve(*([], 'a')),[])\ncheck('fixture 4',solve(*([[4, 'a']], 'a')),[])\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":"a42d874fb2474d3ae79beca462e3fcc2882134cb8ae5929acb071ef49a9b452c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(events, token):\n    return []\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([[4, 'a'], [5, 'b'], [6, 'a']], 'a')),[[5, 'b']])\ncheck('fixture 2',solve(*([[4, 'a']], 'z')),[[4, 'a']])\ncheck('fixture 3',solve(*([], 'a')),[])\ncheck('fixture 4',solve(*([[4, 'a']], 'a')),[])\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":"dd75a3c18ca382ef6184890d78fd64daadfb6ceaf56715794d9e80ee157c18c8","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(events, token):\n    return [x for x in events if x[1]!=token]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*([[4, 'a'], [5, 'b'], [6, 'a']], 'a')),[[5, 'b']])\ncheck('fixture 2',solve(*([[4, 'a']], 'z')),[[4, 'a']])\ncheck('fixture 3',solve(*([], 'a')),[])\ncheck('fixture 4',solve(*([[4, 'a']], 'a')),[])\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-callback-cancellation-removes-only-target","generated_at":"2026-09-29T14:38:44.092677+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: Pending events are [frame,cancellation token]. Cancel every event belonging to exactly the selected token, preserving others and their order.","root_cause":"Cancelling one scheduled sound clears unrelated scheduled work.","sha256":"61442143f74cae2a0ac987a0c6502b7c8936a21c42992efc2204f84dbc37d2f5","title":"Callback cancellation removes only target · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":39.359,"exit_code":1,"observations":[{"actual":[[4,"a"],[5,"b"],[6,"a"]],"check":"fixture 1","expected":[[5,"b"]],"passed":false},{"actual":[[4,"a"]],"check":"fixture 2","expected":[[4,"a"]],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[[4,"a"]],"check":"fixture 4","expected":[],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [[4, \"a\"], [5, \"b\"], [6, \"a\"]], \"expected\": [[5, \"b\"]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [[4, \"a\"]], \"expected\": [[4, \"a\"]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [[4, \"a\"]], \"expected\": [], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":38.361,"exit_code":1,"observations":[{"actual":[],"check":"fixture 1","expected":[[5,"b"]],"passed":false},{"actual":[],"check":"fixture 2","expected":[[4,"a"]],"passed":false},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[],"check":"fixture 4","expected":[],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [], \"expected\": [[5, \"b\"]], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [], \"expected\": [[4, \"a\"]], \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":38.228,"exit_code":0,"observations":[{"actual":[[5,"b"]],"check":"fixture 1","expected":[[5,"b"]],"passed":true},{"actual":[[4,"a"]],"check":"fixture 2","expected":[[4,"a"]],"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\": [[5, \"b\"]], \"expected\": [[5, \"b\"]], \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": [[4, \"a\"]], \"expected\": [[4, \"a\"]], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [], \"expected\": [], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}