{"abstract":"The tab workspace reports an incorrect viewport redaction.","category":"Tab interfaces","checks":6,"contract":"Persist durable file tabs in visual order, excluding private and preview tabs; retain pinned IDs, pane selection and per-view scroll only for eligible tabs.","contract_signature":"x","evaluation_group":"s3-tabs-session-persistence","failed_approach":"The partial repair {t:0 for t in x['scroll'] if t not in x['preview']+x['private']} still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-session-persistence-viewport-redaction","id":"FA-35666","implementations":{"attempt":{"sha256":"65c8dceafd572e09e7d172d01c56ce7f59703698cb8cbb0ba9e1e878f4de9216","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['tabs'] if t not in x['preview']]\n    r1 = [t for t in x['tabs'] if t not in x['private']]\n    r2 = [t for t in x['tabs'] if t not in x['preview'] and t not in x['private']]\n    r3 = [t for t in x['pins'] if t not in x['preview'] and t not in x['private']]\n    r4 = x['selected'] if x['selected'] not in x['preview']+x['private'] else None\n    r5 = {t:0 for t in x['scroll'] if t not in x['preview']+x['private']}\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', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd'], ['a', 'b', 'd'], ['a', 'b', 'd'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'c', 'd'], ['a', 'c', 'd'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'd': 30}])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'c', 'd', 'background0'], ['a', 'c', 'd', 'background0'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['a'], 'd', {'a': 0, 'd': 30}])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'c', 'd', 'background0', 'background1'], ['a', 'c', 'd', 'background0', 'background1'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['a'], 'd', {'a': 0, 'd': 30}])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['a'], 'd', {'a': 0, 'd': 30}])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], 'd', {'a': 0, 'd': 30}])]}\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":"b883fed209bee874bfb86efd6a55fb498a43e9f2904bc831c3443de4da3fb052","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['tabs'] if t not in x['preview']]\n    r1 = [t for t in x['tabs'] if t not in x['private']]\n    r2 = [t for t in x['tabs'] if t not in x['preview'] and t not in x['private']]\n    r3 = [t for t in x['pins'] if t not in x['preview'] and t not in x['private']]\n    r4 = x['selected'] if x['selected'] not in x['preview']+x['private'] else None\n    r5 = x['scroll']\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', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd'], ['a', 'b', 'd'], ['a', 'b', 'd'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'c', 'd'], ['a', 'c', 'd'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'd': 30}])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'c', 'd', 'background0'], ['a', 'c', 'd', 'background0'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0'], ['a', 'b', 'd', 'background0'], ['a', 'd', 'background0'], ['a'], 'd', {'a': 0, 'd': 30}])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'c', 'd', 'background0', 'background1'], ['a', 'c', 'd', 'background0', 'background1'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0', 'background1'], ['a', 'b', 'd', 'background0', 'background1'], ['a', 'd', 'background0', 'background1'], ['a'], 'd', {'a': 0, 'd': 30}])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0', 'background1', 'background2'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], ['a', 'd', 'background0', 'background1', 'background2'], ['a'], 'd', {'a': 0, 'd': 30}])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': [], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': [], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'b', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], None, {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['d'], 'selected': 'd', 'scroll': {'a': 20, 'b': 0, 'c': 40, 'd': 60}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['d'], 'd', {'a': 20, 'd': 60}]), ({'tabs': ['a', 'b', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], 'preview': ['b'], 'private': ['c'], 'pins': ['a', 'c'], 'selected': 'd', 'scroll': {'a': 0, 'b': 10, 'c': 20, 'd': 30}}, [['a', 'c', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], ['a', 'd', 'background0', 'background1', 'background2', 'background3'], ['a'], 'd', {'a': 0, 'd': 30}])]}\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-session-persistence-viewport-redaction","generated_at":"2026-09-29T14:42:43.846131+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.","root_cause":"The viewport redaction decision uses x['scroll'] instead of {t:v for t,v in x['scroll'].items() if t not in x['preview']+x['private']}.","sha256":"c93995babb2fb24cbe113acaf5c01a2829daab2439e3efea282a1262930ad984","title":"Session persistence: viewport redaction · 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":41.056,"exit_code":1,"observations":[{"actual":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":0,"d":0}],"check":"workspace regression 0","expected":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":20,"d":60}],"passed":false},{"actual":[["a","b","c","d"],["a","b","d"],["a","b","d"],["a"],"d",{"a":0,"b":0,"d":0}],"check":"workspace regression 1","expected":[["a","b","c","d"],["a","b","d"],["a","b","d"],["a"],"d",{"a":20,"b":0,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","c","d"],["a","c","d"],["a","c"],"d",{"a":0,"c":0,"d":0}],"check":"workspace regression 2","expected":[["a","c","d"],["a","b","c","d"],["a","c","d"],["a","c"],"d",{"a":20,"c":40,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","d"],["a","d"],["a"],null,{"a":0,"d":0}],"check":"workspace regression 3","expected":[["a","c","d"],["a","b","d"],["a","d"],["a"],null,{"a":20,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","d"],["a","d"],["d"],"d",{"a":0,"d":0}],"check":"workspace regression 4","expected":[["a","c","d"],["a","b","d"],["a","d"],["d"],"d",{"a":20,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":0,"d":0}],"check":"workspace regression 5","expected":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":0,"d":30}],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 0, \"d\": 0}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 20, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [[\"a\", \"b\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\"], \"d\", {\"a\": 0, \"b\": 0, \"d\": 0}], \"expected\": [[\"a\", \"b\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\"], \"d\", {\"a\": 20, \"b\": 0, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"c\", \"d\"], [\"a\", \"c\", \"d\"], [\"a\", \"c\"], \"d\", {\"a\": 0, \"c\": 0, \"d\": 0}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"c\", \"d\"], [\"a\", \"c\", \"d\"], [\"a\", \"c\"], \"d\", {\"a\": 20, \"c\": 40, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], null, {\"a\": 0, \"d\": 0}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], null, {\"a\": 20, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"d\"], \"d\", {\"a\": 0, \"d\": 0}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"d\"], \"d\", {\"a\": 20, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 0, \"d\": 0}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 0, \"d\": 30}], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.24,"exit_code":1,"observations":[{"actual":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":20,"b":0,"c":40,"d":60}],"check":"workspace regression 0","expected":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":20,"d":60}],"passed":false},{"actual":[["a","b","c","d"],["a","b","d"],["a","b","d"],["a"],"d",{"a":20,"b":0,"c":40,"d":60}],"check":"workspace regression 1","expected":[["a","b","c","d"],["a","b","d"],["a","b","d"],["a"],"d",{"a":20,"b":0,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","c","d"],["a","c","d"],["a","c"],"d",{"a":20,"b":0,"c":40,"d":60}],"check":"workspace regression 2","expected":[["a","c","d"],["a","b","c","d"],["a","c","d"],["a","c"],"d",{"a":20,"c":40,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","d"],["a","d"],["a"],null,{"a":20,"b":0,"c":40,"d":60}],"check":"workspace regression 3","expected":[["a","c","d"],["a","b","d"],["a","d"],["a"],null,{"a":20,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","d"],["a","d"],["d"],"d",{"a":20,"b":0,"c":40,"d":60}],"check":"workspace regression 4","expected":[["a","c","d"],["a","b","d"],["a","d"],["d"],"d",{"a":20,"d":60}],"passed":false},{"actual":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":0,"b":10,"c":20,"d":30}],"check":"workspace regression 5","expected":[["a","c","d"],["a","b","d"],["a","d"],["a"],"d",{"a":0,"d":30}],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 20, \"b\": 0, \"c\": 40, \"d\": 60}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 20, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [[\"a\", \"b\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\"], \"d\", {\"a\": 20, \"b\": 0, \"c\": 40, \"d\": 60}], \"expected\": [[\"a\", \"b\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\"], \"d\", {\"a\": 20, \"b\": 0, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"c\", \"d\"], [\"a\", \"c\", \"d\"], [\"a\", \"c\"], \"d\", {\"a\": 20, \"b\": 0, \"c\": 40, \"d\": 60}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"c\", \"d\"], [\"a\", \"c\", \"d\"], [\"a\", \"c\"], \"d\", {\"a\": 20, \"c\": 40, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], null, {\"a\": 20, \"b\": 0, \"c\": 40, \"d\": 60}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], null, {\"a\": 20, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"d\"], \"d\", {\"a\": 20, \"b\": 0, \"c\": 40, \"d\": 60}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"d\"], \"d\", {\"a\": 20, \"d\": 60}], \"passed\": false}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 0, \"b\": 10, \"c\": 20, \"d\": 30}], \"expected\": [[\"a\", \"c\", \"d\"], [\"a\", \"b\", \"d\"], [\"a\", \"d\"], [\"a\"], \"d\", {\"a\": 0, \"d\": 30}], \"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."}}