{"abstract":"A slice stops at the physical buffer end instead of wrapping.","category":"Audio playback scheduling","checks":4,"contract":"Read nonnegative count samples, at most ring capacity, in logical order from a valid cursor in a nonempty ring.","contract_signature":"buffer, position, count","evaluation_group":"xaud-read-ring-logical-order","failed_approach":"Reading the prefix ignores the current logical cursor.","family":"xaud-read-ring-logical-order","id":"FA-10991","implementations":{"attempt":{"sha256":"19e070266312d0d1fefb20139e1a41549dc22058f2595ceea58b37821383a267","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(buffer, position, count):\n    return buffer[:count]\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], 3, 3)),[4, 1, 2])\ncheck('fixture 2',solve(*([1, 2], 0, 2)),[1, 2])\ncheck('fixture 3',solve(*([1], 0, 0)),[])\ncheck('fixture 4',solve(*([1, 2, 3], 1, 1)),[2])\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":"05dd4a9d325c6b79e824b359e0a5dddc07cb6b3f1dd068290c3623ac192210e0","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(buffer, position, count):\n    return buffer[position:position+count]\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], 3, 3)),[4, 1, 2])\ncheck('fixture 2',solve(*([1, 2], 0, 2)),[1, 2])\ncheck('fixture 3',solve(*([1], 0, 0)),[])\ncheck('fixture 4',solve(*([1, 2, 3], 1, 1)),[2])\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-read-ring-logical-order","generated_at":"2026-09-29T14:38:44.030262+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":"A slice stops at the physical buffer end instead of wrapping.","sha256":"2aaf63bb7c7b7e92626641281722b938a5e6ba4e6ef26f9c8b7ff27ef1904cd5","title":"Read ring logical order · 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":39.023,"exit_code":1,"observations":[{"actual":[1,2,3],"check":"fixture 1","expected":[4,1,2],"passed":false},{"actual":[1,2],"check":"fixture 2","expected":[1,2],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[1],"check":"fixture 4","expected":[2],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [1, 2, 3], \"expected\": [4, 1, 2], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [1, 2], \"expected\": [1, 2], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [1], \"expected\": [2], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":37.531,"exit_code":1,"observations":[{"actual":[4],"check":"fixture 1","expected":[4,1,2],"passed":false},{"actual":[1,2],"check":"fixture 2","expected":[1,2],"passed":true},{"actual":[],"check":"fixture 3","expected":[],"passed":true},{"actual":[2],"check":"fixture 4","expected":[2],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": [4], \"expected\": [4, 1, 2], \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": [1, 2], \"expected\": [1, 2], \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": [], \"expected\": [], \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": [2], \"expected\": [2], \"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."}}