FA-33306 / Menu interactions / Open access
Pointer beyond radial menu radius still hits a command · case 01
Pointer beyond radial menu radius still hits a command.
ROOT CAUSE
The radial-menu-hit model applies `True` at its outer operation instead of the stipulated transformation.
VERIFIED REPAIR
Apply `p['radius']<=p['outer']` at outer.
Unsuccessful approach: The attempted repair `p['radius']>=p['outer']` still violates the outer oracle.
Case contract
A radial menu has half-open angular sectors, an inactive central disk and a bounded outer radius; only displayed command sectors are hittable.
Why this case matters
Cascading and context menus require coherent command and session state as content changes.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import unicodedata
N = 1
observations = []
def solve(action, p):
if action == 'center':
return None if p['radius']<p['inner'] else 'ring'
if action == 'outer':
return True
if action == 'angle':
return (p['degrees']-p['rotation'])%360
if action == 'sector':
return int(p['angle']//(360/p['count']))
if action == 'empty-sector':
return p['commands'][p['sector']] if p['sector']<len(p['commands']) else None
if action == 'gap':
return p['local']>=p['gap']/2 and p['local']<p['width']-p['gap']/2
return {'error': 'unsupported menu operation'}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('center contract', solve('center', {'radius':N,'inner':N+2}), None)
check('outer contract', solve('outer', {'radius':N+10,'outer':N+9}), False)
check('angle contract', solve('angle', {'degrees':N+30,'rotation':20}), N+10)
check('sector contract', solve('sector', {'angle':80+N,'count':4}), 0)
check('empty-sector contract', solve('empty-sector', {'commands':[N,N+1],'sector':3}), None)
check('gap contract', solve('gap', {'local':N/10,'gap':4,'width':90}), False)
check('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| center contract | None | None | Passed |
| outer contract | True | False | Failed |
| angle contract | 11 | 11 | Passed |
| sector contract | 0 | 0 | Passed |
| empty-sector contract | None | None | Passed |
| gap contract | False | False | Passed |
| unknown operation | {'error': 'unsupported menu operation'} | {'error': 'unsupported menu operation'} | Passed |
SHA-256 / 3f26d5d1c3cd76d5b9c8f6a8c3ff086071e00eda71e4abe66b3ea01e7fa07060
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
import math
import unicodedata
N = 1
observations = []
def solve(action, p):
if action == 'center':
return None if p['radius']<p['inner'] else 'ring'
if action == 'outer':
return p['radius']>=p['outer']
if action == 'angle':
return (p['degrees']-p['rotation'])%360
if action == 'sector':
return int(p['angle']//(360/p['count']))
if action == 'empty-sector':
return p['commands'][p['sector']] if p['sector']<len(p['commands']) else None
if action == 'gap':
return p['local']>=p['gap']/2 and p['local']<p['width']-p['gap']/2
return {'error': 'unsupported menu operation'}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('center contract', solve('center', {'radius':N,'inner':N+2}), None)
check('outer contract', solve('outer', {'radius':N+10,'outer':N+9}), False)
check('angle contract', solve('angle', {'degrees':N+30,'rotation':20}), N+10)
check('sector contract', solve('sector', {'angle':80+N,'count':4}), 0)
check('empty-sector contract', solve('empty-sector', {'commands':[N,N+1],'sector':3}), None)
check('gap contract', solve('gap', {'local':N/10,'gap':4,'width':90}), False)
check('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| center contract | None | None | Passed |
| outer contract | True | False | Failed |
| angle contract | 11 | 11 | Passed |
| sector contract | 0 | 0 | Passed |
| empty-sector contract | None | None | Passed |
| gap contract | False | False | Passed |
| unknown operation | {'error': 'unsupported menu operation'} | {'error': 'unsupported menu operation'} | Passed |
SHA-256 / a79581e245f3684863a368efaeed824042a26e264b358d90a4dbee1972194c6f
3 / The verified repair
Exit 0"""Failure Map reference implementation. Python standard library only."""
import json
import math
import unicodedata
N = 1
observations = []
def solve(action, p):
if action == 'center':
return None if p['radius']<p['inner'] else 'ring'
if action == 'outer':
return p['radius']<=p['outer']
if action == 'angle':
return (p['degrees']-p['rotation'])%360
if action == 'sector':
return int(p['angle']//(360/p['count']))
if action == 'empty-sector':
return p['commands'][p['sector']] if p['sector']<len(p['commands']) else None
if action == 'gap':
return p['local']>=p['gap']/2 and p['local']<p['width']-p['gap']/2
return {'error': 'unsupported menu operation'}
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
check('center contract', solve('center', {'radius':N,'inner':N+2}), None)
check('outer contract', solve('outer', {'radius':N+10,'outer':N+9}), False)
check('angle contract', solve('angle', {'degrees':N+30,'rotation':20}), N+10)
check('sector contract', solve('sector', {'angle':80+N,'count':4}), 0)
check('empty-sector contract', solve('empty-sector', {'commands':[N,N+1],'sector':3}), None)
check('gap contract', solve('gap', {'local':N/10,'gap':4,'width':90}), False)
check('unknown operation', solve('unknown', {}), {'error': 'unsupported menu operation'})
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
| Boundary fixture | Actual | Expected | Outcome |
|---|---|---|---|
| center contract | None | None | Passed |
| outer contract | False | False | Passed |
| angle contract | 11 | 11 | Passed |
| sector contract | 0 | 0 | Passed |
| empty-sector contract | None | None | Passed |
| gap contract | False | False | Passed |
| unknown operation | {'error': 'unsupported menu operation'} | {'error': 'unsupported menu operation'} | Passed |
SHA-256 / 3c277bc3a44c873d7e4c62420912c9bd779b6a52d5dcad71e6abb24396bee9dd
Verification & scope
Offline supplied-valid-payload model; excludes DOM, keyboard, focus, selection, announcements and browser conformance. 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.
Observations recorded using Python 3.12.14 at 2026-09-29T14:42:21.036460+00:00.
Case digest / 849547d4e609e460a5b8eacb34b430c1ab823dd12ae41595f17507632dd6994f