{"abstract":"The tab workspace reports an incorrect retained mounted panels.","category":"Tab interfaces","checks":7,"contract":"Retained tab panels distinguish loaded, mounted and visible sets. Only the selected loaded panel is visible; kept panels remain mounted but hidden.","evaluation_group":"s3-tabs-panel-residency","failed_approach":"The partial repair [t for t in x['loaded'] if t==x['selected']] still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-panel-residency-retained-mounted-panels","id":"FA-35496","implementations":{"attempt":{"sha256":"42ed8e3369e9936d24c125f673827ae7ac89a057f19f4660ab61a0f5e404808e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['loaded'] if t==x['selected']]\n    r1 = [t for t in x['loaded'] if t==x['selected']]\n    r2 = [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']]\n    r3 = x['selected'] in x['loading']\n    r4 = x['selected'] not in x['loaded']\n    r5 = [t for t in x['loaded'] if t!=x['selected'] and t not in x['keep']]\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 2: [({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 3: [({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 4: [({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 5: [({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), expected)\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":"d587b1fc571c55952d6dad81e7498729be09ed08add98cba09a6cf995daf8c1a","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['loaded'] if t==x['selected']]\n    r1 = x['loaded']\n    r2 = [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']]\n    r3 = x['selected'] in x['loading']\n    r4 = x['selected'] not in x['loaded']\n    r5 = [t for t in x['loaded'] if t!=x['selected'] and t not in x['keep']]\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 2: [({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 3: [({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 4: [({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 5: [({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), expected)\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":"f2a9f3bbf36d85a23332b3a080a139c46a4a5020a3c46434a9da031a62d37b1d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['loaded'] if t==x['selected']]\n    r1 = [t for t in x['tabs'] if t in x['loaded'] and (t in x['keep'] or t==x['selected'])]\n    r2 = [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']]\n    r3 = x['selected'] in x['loading']\n    r4 = x['selected'] not in x['loaded']\n    r5 = [t for t in x['loaded'] if t!=x['selected'] and t not in x['keep']]\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 2: [({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 3: [({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 4: [({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])], 5: [({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': ['c']}, [[], ['b'], ['b'], True, True, ['a']]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['a', 'b'], 'selected': 'a', 'loading': ['c']}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['b'], 'keep': ['b'], 'selected': 'b', 'loading': ['c']}, [['b'], ['b'], [], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'a', 'loading': []}, [['a'], ['a', 'b'], ['b'], False, False, []]), ({'tabs': ['a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'loaded': ['a', 'b'], 'keep': ['b'], 'selected': 'c', 'loading': []}, [[], ['b'], ['b'], False, True, ['a']])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), expected)\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":"Finite stipulated workspace snapshots only. Independent result fields describe observable obligations, not a full UI runtime. 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":"s3-tab-interfaces-panel-residency-retained-mounted-panels","generated_at":"2026-09-29T14:42:42.183218+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline tab/panel workspace behavior; no browser or desktop framework is emulated.","repair":"Use the stipulated workspace rule: [t for t in x['tabs'] if t in x['loaded'] and (t in x['keep'] or t==x['selected'])].","root_cause":"The retained mounted panels decision uses x['loaded'] instead of [t for t in x['tabs'] if t in x['loaded'] and (t in x['keep'] or t==x['selected'])].","sha256":"7b5418f8006e3be08f763e21d38551d98140565a37d83f5cf93c71e5934e09f0","title":"Panel residency: retained mounted panels · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":47.037,"exit_code":1,"observations":[{"actual":[["a"],["a"],["b"],false,false,[]],"check":"workspace regression 0","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":false},{"actual":[["b"],["b"],[],false,false,["a"]],"check":"workspace regression 1","expected":[["b"],["b"],[],false,false,["a"]],"passed":true},{"actual":[[],[],["b"],true,true,["a"]],"check":"workspace regression 2","expected":[[],["b"],["b"],true,true,["a"]],"passed":false},{"actual":[["a"],["a"],["b"],false,false,[]],"check":"workspace regression 3","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":false},{"actual":[["b"],["b"],[],false,false,[]],"check":"workspace regression 4","expected":[["b"],["b"],[],false,false,[]],"passed":true},{"actual":[["a"],["a"],["b"],false,false,[]],"check":"workspace regression 5","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":false},{"actual":[[],[],["b"],false,true,["a"]],"check":"workspace regression 6","expected":[[],["b"],["b"],false,true,["a"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\"], [\"a\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [[\"b\"], [\"b\"], [], false, false, [\"a\"]], \"expected\": [[\"b\"], [\"b\"], [], false, false, [\"a\"]], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [[], [], [\"b\"], true, true, [\"a\"]], \"expected\": [[], [\"b\"], [\"b\"], true, true, [\"a\"]], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\"], [\"a\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [[\"b\"], [\"b\"], [], false, false, []], \"expected\": [[\"b\"], [\"b\"], [], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\"], [\"a\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": false}, {\"check\": \"workspace regression 6\", \"actual\": [[], [], [\"b\"], false, true, [\"a\"]], \"expected\": [[], [\"b\"], [\"b\"], false, true, [\"a\"]], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":48.409,"exit_code":1,"observations":[{"actual":[["a"],["a","b"],["b"],false,false,[]],"check":"workspace regression 0","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":true},{"actual":[["b"],["a","b"],[],false,false,["a"]],"check":"workspace regression 1","expected":[["b"],["b"],[],false,false,["a"]],"passed":false},{"actual":[[],["a","b"],["b"],true,true,["a"]],"check":"workspace regression 2","expected":[[],["b"],["b"],true,true,["a"]],"passed":false},{"actual":[["a"],["a","b"],["b"],false,false,[]],"check":"workspace regression 3","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":true},{"actual":[["b"],["b"],[],false,false,[]],"check":"workspace regression 4","expected":[["b"],["b"],[],false,false,[]],"passed":true},{"actual":[["a"],["a","b"],["b"],false,false,[]],"check":"workspace regression 5","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":true},{"actual":[[],["a","b"],["b"],false,true,["a"]],"check":"workspace regression 6","expected":[[],["b"],["b"],false,true,["a"]],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [[\"b\"], [\"a\", \"b\"], [], false, false, [\"a\"]], \"expected\": [[\"b\"], [\"b\"], [], false, false, [\"a\"]], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [[], [\"a\", \"b\"], [\"b\"], true, true, [\"a\"]], \"expected\": [[], [\"b\"], [\"b\"], true, true, [\"a\"]], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [[\"b\"], [\"b\"], [], false, false, []], \"expected\": [[\"b\"], [\"b\"], [], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 6\", \"actual\": [[], [\"a\", \"b\"], [\"b\"], false, true, [\"a\"]], \"expected\": [[], [\"b\"], [\"b\"], false, true, [\"a\"]], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.645,"exit_code":0,"observations":[{"actual":[["a"],["a","b"],["b"],false,false,[]],"check":"workspace regression 0","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":true},{"actual":[["b"],["b"],[],false,false,["a"]],"check":"workspace regression 1","expected":[["b"],["b"],[],false,false,["a"]],"passed":true},{"actual":[[],["b"],["b"],true,true,["a"]],"check":"workspace regression 2","expected":[[],["b"],["b"],true,true,["a"]],"passed":true},{"actual":[["a"],["a","b"],["b"],false,false,[]],"check":"workspace regression 3","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":true},{"actual":[["b"],["b"],[],false,false,[]],"check":"workspace regression 4","expected":[["b"],["b"],[],false,false,[]],"passed":true},{"actual":[["a"],["a","b"],["b"],false,false,[]],"check":"workspace regression 5","expected":[["a"],["a","b"],["b"],false,false,[]],"passed":true},{"actual":[[],["b"],["b"],false,true,["a"]],"check":"workspace regression 6","expected":[[],["b"],["b"],false,true,["a"]],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [[\"b\"], [\"b\"], [], false, false, [\"a\"]], \"expected\": [[\"b\"], [\"b\"], [], false, false, [\"a\"]], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [[], [\"b\"], [\"b\"], true, true, [\"a\"]], \"expected\": [[], [\"b\"], [\"b\"], true, true, [\"a\"]], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [[\"b\"], [\"b\"], [], false, false, []], \"expected\": [[\"b\"], [\"b\"], [], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"expected\": [[\"a\"], [\"a\", \"b\"], [\"b\"], false, false, []], \"passed\": true}, {\"check\": \"workspace regression 6\", \"actual\": [[], [\"b\"], [\"b\"], false, true, [\"a\"]], \"expected\": [[], [\"b\"], [\"b\"], false, true, [\"a\"]], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}