{"abstract":"Modulo uses the loop length without restoring the nonzero loop origin.","category":"Audio playback scheduling","checks":4,"contract":"Position lies in nonempty integer loop [start,end). Advance nonnegative frames, wrapping arbitrary multiple times and preserving overshoot.","contract_signature":"position, advance, start, end","evaluation_group":"xaud-loop-playback-wrap-offset","failed_approach":"Jumping to loop start discards residual advance beyond the boundary.","family":"xaud-loop-playback-wrap-offset","id":"FA-10961","implementations":{"attempt":{"sha256":"3188f408d7bd10cad3450357e7c056dc32a6a11efe21d07c670f44fc238f7341","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(position, advance, start, end):\n    return start if position+advance>=end else position+advance\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(12, 4, 10, 15)),11)\ncheck('fixture 2',solve(*(12, 14, 10, 15)),11)\ncheck('fixture 3',solve(*(10, 0, 10, 15)),10)\ncheck('fixture 4',solve(*(14, 1, 10, 15)),10)\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":"f9a74c38654c87757a80220fc797651ddaa05dca376790ea45aa4dbd6ffe9bc1","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(position, advance, start, end):\n    return (position+advance)%(end-start)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(12, 4, 10, 15)),11)\ncheck('fixture 2',solve(*(12, 14, 10, 15)),11)\ncheck('fixture 3',solve(*(10, 0, 10, 15)),10)\ncheck('fixture 4',solve(*(14, 1, 10, 15)),10)\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-loop-playback-wrap-offset","generated_at":"2026-09-29T14:38:43.758798+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":"Modulo uses the loop length without restoring the nonzero loop origin.","sha256":"c5b88f43dface9f5b1eb1dabcc4aaaece886cef927093fea199d2d7a90e9eaa3","title":"Loop playback wrap offset · 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":40.405,"exit_code":1,"observations":[{"actual":10,"check":"fixture 1","expected":11,"passed":false},{"actual":10,"check":"fixture 2","expected":11,"passed":false},{"actual":10,"check":"fixture 3","expected":10,"passed":true},{"actual":10,"check":"fixture 4","expected":10,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": 10, \"expected\": 11, \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": 10, \"expected\": 11, \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": 10, \"expected\": 10, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": 10, \"expected\": 10, \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":42.985,"exit_code":1,"observations":[{"actual":1,"check":"fixture 1","expected":11,"passed":false},{"actual":1,"check":"fixture 2","expected":11,"passed":false},{"actual":0,"check":"fixture 3","expected":10,"passed":false},{"actual":0,"check":"fixture 4","expected":10,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": 1, \"expected\": 11, \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": 1, \"expected\": 11, \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": 0, \"expected\": 10, \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": 0, \"expected\": 10, \"passed\": false}], \"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."}}