{"abstract":"The natural-completion repeat-one rule traps an explicit skip on the same entry.","category":"Media playlist state","checks":4,"contract":"An explicit user skip advances despite repeat-one; only repeat-all wraps at playlist end. Current is valid in nonempty playlist.","evaluation_group":"xmed-explicit-skip-bypasses-repeat-one","failed_approach":"Wrapping every skip makes a nonrepeating playlist restart at the end.","family":"xmed-explicit-skip-bypasses-repeat-one","id":"FA-11071","implementations":{"attempt":{"sha256":"fe1fde18854562495ac5d3b3284d0bddc078fbb8b2e025b8c12b1f80897da458","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(current, length, repeat):\n    return (current+1)%length\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(0, 3, 'one')),1)\ncheck('fixture 2',solve(*(2, 3, 'one')),None)\ncheck('fixture 3',solve(*(2, 3, 'all')),0)\ncheck('fixture 4',solve(*(2, 3, 'off')),None)\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":"4fd15ea7bf9080bb27865faafe5313ccda84067329a716db67d1d87b08c76b4c","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(current, length, repeat):\n    return current if repeat==\"one\" else (current+1 if current+1<length else None)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(0, 3, 'one')),1)\ncheck('fixture 2',solve(*(2, 3, 'one')),None)\ncheck('fixture 3',solve(*(2, 3, 'all')),0)\ncheck('fixture 4',solve(*(2, 3, 'off')),None)\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":"27bc1fb9880db3d24f8a76cf518481570f0a2ab35925166ed8ede512b3683da8","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\nimport math\nN = 1\nobservations = []\ndef solve(current, length, repeat):\n    return current+1 if current+1<length else (0 if repeat==\"all\" else None)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('fixture 1',solve(*(0, 3, 'one')),1)\ncheck('fixture 2',solve(*(2, 3, 'one')),None)\ncheck('fixture 3',solve(*(2, 3, 'all')),0)\ncheck('fixture 4',solve(*(2, 3, 'off')),None)\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":"xmed-explicit-skip-bypasses-repeat-one","generated_at":"2026-09-29T14:38:44.748809+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic local media controller stage; metadata and downloaded data are supplied explicitly. No external player, service or codec is required.","repair":"Preserve the media contract: An explicit user skip advances despite repeat-one; only repeat-all wraps at playlist end. Current is valid in nonempty playlist.","root_cause":"The natural-completion repeat-one rule traps an explicit skip on the same entry.","sha256":"72900fdfa1eaa0a42abc11b9948be96ae2bdf9b156ea397bf7f87cbd3a0892e2","title":"Explicit skip bypasses repeat one · case 01","variant":1,"variant_policy":"The five numbered cases rerun the same authored boundary fixtures; they are reproducibility runs, not independent input variants.","verification":{"attempt":{"elapsed_ms":36.672,"exit_code":1,"observations":[{"actual":1,"check":"fixture 1","expected":1,"passed":true},{"actual":0,"check":"fixture 2","expected":null,"passed":false},{"actual":0,"check":"fixture 3","expected":0,"passed":true},{"actual":0,"check":"fixture 4","expected":null,"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": 1, \"expected\": 1, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": 0, \"expected\": null, \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": 0, \"expected\": null, \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":36.589,"exit_code":1,"observations":[{"actual":0,"check":"fixture 1","expected":1,"passed":false},{"actual":2,"check":"fixture 2","expected":null,"passed":false},{"actual":null,"check":"fixture 3","expected":0,"passed":false},{"actual":null,"check":"fixture 4","expected":null,"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": 0, \"expected\": 1, \"passed\": false}, {\"check\": \"fixture 2\", \"actual\": 2, \"expected\": null, \"passed\": false}, {\"check\": \"fixture 3\", \"actual\": null, \"expected\": 0, \"passed\": false}, {\"check\": \"fixture 4\", \"actual\": null, \"expected\": null, \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":37.689,"exit_code":0,"observations":[{"actual":1,"check":"fixture 1","expected":1,"passed":true},{"actual":null,"check":"fixture 2","expected":null,"passed":true},{"actual":0,"check":"fixture 3","expected":0,"passed":true},{"actual":null,"check":"fixture 4","expected":null,"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"fixture 1\", \"actual\": 1, \"expected\": 1, \"passed\": true}, {\"check\": \"fixture 2\", \"actual\": null, \"expected\": null, \"passed\": true}, {\"check\": \"fixture 3\", \"actual\": 0, \"expected\": 0, \"passed\": true}, {\"check\": \"fixture 4\", \"actual\": null, \"expected\": null, \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}