{"abstract":"An unknown radio identity becomes selected.","category":"Selection controls","checks":10,"contract":"Radio activation replaces selection with an existing enabled option and never toggles it off; required groups cannot clear; selected removal uses first remaining option only when required.","contract_signature":"options, selected, target, required, disabled, event","evaluation_group":"xi-radio-group","failed_approach":"Checking presence alone still allows disabled targets.","family":"xi-radio-group-unknown-activation","id":"FA-8841","implementations":{"attempt":{"sha256":"f4d05276c60ef4dea32311629b83350e0935e8138c29c77bcc1e85546f7a2b78","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(options, selected, target, required, disabled, event):\n    if event == 'remove':\n        options = [x for x in options if x != target]\n        if selected not in options: selected = options[0] if required and options else None\n    elif event == 'activate':\n        if target in options: selected = target\n    elif event == 'clear' and not required: selected = None\n    return (options, selected)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('remove other', solve(['a','b','c'], 'a', 'b', False, [], 'remove'), (['a', 'c'], 'a'))\ncheck('required removal', solve(['a','b','c'], 'a', 'a', True, [], 'remove'), (['b', 'c'], 'b'))\ncheck('unknown', solve(['a','b'], 'a', 'x', False, [], 'activate'), (['a', 'b'], 'a'))\ncheck('disabled', solve(['a','b'], 'a', 'b', False, ['b'], 'activate'), (['a', 'b'], 'a'))\ncheck('required clear', solve(['a','b'], 'a', None, True, [], 'clear'), (['a', 'b'], 'a'))\ncheck('optional clear', solve(['a','b'], 'a', None, False, [], 'clear'), (['a', 'b'], None))\ncheck('activate', solve(['a','b'], 'a', 'b', False, [], 'activate'), (['a', 'b'], 'b'))\ncheck('reactivate', solve(['a','b'], 'a', 'a', False, [], 'activate'), (['a', 'b'], 'a'))\ncheck('parameterized radio options', solve(list(range(N+1)),0,N,False,[],'activate'), (list(range(N+1)),N))\nfor repetition in range(N):\n    check('repeat reactivate', solve(['a','b'], 'a', 'a', False, [], 'activate'), (['a', 'b'], '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":"3f82bbc3d2986c259617e0ba89484e039932333f6636749ee1c69000d3a016e7","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(options, selected, target, required, disabled, event):\n    if event == 'remove':\n        options = [x for x in options if x != target]\n        if selected not in options: selected = options[0] if required and options else None\n    elif event == 'activate':\n        if target not in disabled: selected = target\n    elif event == 'clear' and not required: selected = None\n    return (options, selected)\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\ncheck('remove other', solve(['a','b','c'], 'a', 'b', False, [], 'remove'), (['a', 'c'], 'a'))\ncheck('required removal', solve(['a','b','c'], 'a', 'a', True, [], 'remove'), (['b', 'c'], 'b'))\ncheck('unknown', solve(['a','b'], 'a', 'x', False, [], 'activate'), (['a', 'b'], 'a'))\ncheck('disabled', solve(['a','b'], 'a', 'b', False, ['b'], 'activate'), (['a', 'b'], 'a'))\ncheck('required clear', solve(['a','b'], 'a', None, True, [], 'clear'), (['a', 'b'], 'a'))\ncheck('optional clear', solve(['a','b'], 'a', None, False, [], 'clear'), (['a', 'b'], None))\ncheck('activate', solve(['a','b'], 'a', 'b', False, [], 'activate'), (['a', 'b'], 'b'))\ncheck('reactivate', solve(['a','b'], 'a', 'a', False, [], 'activate'), (['a', 'b'], 'a'))\ncheck('parameterized radio options', solve(list(range(N+1)),0,N,False,[],'activate'), (list(range(N+1)),N))\nfor repetition in range(N):\n    check('repeat reactivate', solve(['a','b'], 'a', 'a', False, [], 'activate'), (['a', 'b'], '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":"xi-radio-group-unknown-activation","generated_at":"2026-09-29T14:38:24.975571+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"A deterministic model of radio group selection ownership; this isolates one interface invariant without requiring a browser.","root_cause":"The unknown activation operation uses `target not in disabled` where the contract requires `target in options and target not in disabled`.","sha256":"713a6c9b0639c6a1b39a6b6b7ba907e7853395118c63664e1d7fe8f877f14476","title":"Radio group selection ownership: An unknown radio identity becomes selected · 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.667,"exit_code":1,"observations":[{"actual":[["a","c"],"a"],"check":"remove other","expected":[["a","c"],"a"],"passed":true},{"actual":[["b","c"],"b"],"check":"required removal","expected":[["b","c"],"b"],"passed":true},{"actual":[["a","b"],"a"],"check":"unknown","expected":[["a","b"],"a"],"passed":true},{"actual":[["a","b"],"b"],"check":"disabled","expected":[["a","b"],"a"],"passed":false},{"actual":[["a","b"],"a"],"check":"required clear","expected":[["a","b"],"a"],"passed":true},{"actual":[["a","b"],null],"check":"optional clear","expected":[["a","b"],null],"passed":true},{"actual":[["a","b"],"b"],"check":"activate","expected":[["a","b"],"b"],"passed":true},{"actual":[["a","b"],"a"],"check":"reactivate","expected":[["a","b"],"a"],"passed":true},{"actual":[[0,1],1],"check":"parameterized radio options","expected":[[0,1],1],"passed":true},{"actual":[["a","b"],"a"],"check":"repeat reactivate","expected":[["a","b"],"a"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"remove other\", \"actual\": [[\"a\", \"c\"], \"a\"], \"expected\": [[\"a\", \"c\"], \"a\"], \"passed\": true}, {\"check\": \"required removal\", \"actual\": [[\"b\", \"c\"], \"b\"], \"expected\": [[\"b\", \"c\"], \"b\"], \"passed\": true}, {\"check\": \"unknown\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}, {\"check\": \"disabled\", \"actual\": [[\"a\", \"b\"], \"b\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": false}, {\"check\": \"required clear\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}, {\"check\": \"optional clear\", \"actual\": [[\"a\", \"b\"], null], \"expected\": [[\"a\", \"b\"], null], \"passed\": true}, {\"check\": \"activate\", \"actual\": [[\"a\", \"b\"], \"b\"], \"expected\": [[\"a\", \"b\"], \"b\"], \"passed\": true}, {\"check\": \"reactivate\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}, {\"check\": \"parameterized radio options\", \"actual\": [[0, 1], 1], \"expected\": [[0, 1], 1], \"passed\": true}, {\"check\": \"repeat reactivate\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":39.093,"exit_code":1,"observations":[{"actual":[["a","c"],"a"],"check":"remove other","expected":[["a","c"],"a"],"passed":true},{"actual":[["b","c"],"b"],"check":"required removal","expected":[["b","c"],"b"],"passed":true},{"actual":[["a","b"],"x"],"check":"unknown","expected":[["a","b"],"a"],"passed":false},{"actual":[["a","b"],"a"],"check":"disabled","expected":[["a","b"],"a"],"passed":true},{"actual":[["a","b"],"a"],"check":"required clear","expected":[["a","b"],"a"],"passed":true},{"actual":[["a","b"],null],"check":"optional clear","expected":[["a","b"],null],"passed":true},{"actual":[["a","b"],"b"],"check":"activate","expected":[["a","b"],"b"],"passed":true},{"actual":[["a","b"],"a"],"check":"reactivate","expected":[["a","b"],"a"],"passed":true},{"actual":[[0,1],1],"check":"parameterized radio options","expected":[[0,1],1],"passed":true},{"actual":[["a","b"],"a"],"check":"repeat reactivate","expected":[["a","b"],"a"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"remove other\", \"actual\": [[\"a\", \"c\"], \"a\"], \"expected\": [[\"a\", \"c\"], \"a\"], \"passed\": true}, {\"check\": \"required removal\", \"actual\": [[\"b\", \"c\"], \"b\"], \"expected\": [[\"b\", \"c\"], \"b\"], \"passed\": true}, {\"check\": \"unknown\", \"actual\": [[\"a\", \"b\"], \"x\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": false}, {\"check\": \"disabled\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}, {\"check\": \"required clear\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}, {\"check\": \"optional clear\", \"actual\": [[\"a\", \"b\"], null], \"expected\": [[\"a\", \"b\"], null], \"passed\": true}, {\"check\": \"activate\", \"actual\": [[\"a\", \"b\"], \"b\"], \"expected\": [[\"a\", \"b\"], \"b\"], \"passed\": true}, {\"check\": \"reactivate\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"passed\": true}, {\"check\": \"parameterized radio options\", \"actual\": [[0, 1], 1], \"expected\": [[0, 1], 1], \"passed\": true}, {\"check\": \"repeat reactivate\", \"actual\": [[\"a\", \"b\"], \"a\"], \"expected\": [[\"a\", \"b\"], \"a\"], \"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."}}