FA-35666 / Tab interfaces / Open access
Session persistence: viewport redaction · case 01
The tab workspace reports an incorrect viewport redaction.
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']}.
THE FAILURE
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']}.
Unsuccessful 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.
Case 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.
Why this case matters
Offline tab/panel workspace behavior; no browser or desktop framework is emulated.
1 / The failure
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
r0 = [t for t in x['tabs'] if t not in x['preview']]
r1 = [t for t in x['tabs'] if t not in x['private']]
r2 = [t for t in x['tabs'] if t not in x['preview'] and t not in x['private']]
r3 = [t for t in x['pins'] if t not in x['preview'] and t not in x['private']]
r4 = x['selected'] if x['selected'] not in x['preview']+x['private'] else None
r5 = x['scroll']
return [r0,r1,r2,r3,r4,r5]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = {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}])]}
for i, (inputs, expected) in enumerate(fixtures[N]):
check("workspace regression "+str(i), solve(inputs), expected)
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 |
|---|---|---|---|
| workspace regression 0 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 20, 'b': 0, 'c': 40, 'd': 60}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 20, 'd': 60}] | Failed |
| workspace regression 1 | [['a', 'b', 'c', 'd'], ['a', 'b', 'd'], ['a', 'b', 'd'], ['a'], 'd', {'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}] | Failed |
| workspace regression 2 | [['a', 'c', 'd'], ['a', 'b', 'c', 'd'], ['a', 'c', 'd'], ['a', 'c'], 'd', {'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}] | Failed |
| workspace regression 3 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], None, {'a': 20, 'b': 0, 'c': 40, 'd': 60}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], None, {'a': 20, 'd': 60}] | Failed |
| workspace regression 4 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['d'], 'd', {'a': 20, 'b': 0, 'c': 40, 'd': 60}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['d'], 'd', {'a': 20, 'd': 60}] | Failed |
| workspace regression 5 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'b': 10, 'c': 20, 'd': 30}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'd': 30}] | Failed |
SHA-256 / b883fed209bee874bfb86efd6a55fb498a43e9f2904bc831c3443de4da3fb052
2 / The unsuccessful fix
Exit 1"""Failure Map reference implementation. Python standard library only."""
import json
N = 1
observations = []
def solve(x):
r0 = [t for t in x['tabs'] if t not in x['preview']]
r1 = [t for t in x['tabs'] if t not in x['private']]
r2 = [t for t in x['tabs'] if t not in x['preview'] and t not in x['private']]
r3 = [t for t in x['pins'] if t not in x['preview'] and t not in x['private']]
r4 = x['selected'] if x['selected'] not in x['preview']+x['private'] else None
r5 = {t:0 for t in x['scroll'] if t not in x['preview']+x['private']}
return [r0,r1,r2,r3,r4,r5]
def check(label, actual, expected):
observations.append({"check": label, "actual": actual, "expected": expected, "passed": actual == expected})
fixtures = {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}])]}
for i, (inputs, expected) in enumerate(fixtures[N]):
check("workspace regression "+str(i), solve(inputs), expected)
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 |
|---|---|---|---|
| workspace regression 0 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'd': 0}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 20, 'd': 60}] | Failed |
| workspace regression 1 | [['a', 'b', 'c', 'd'], ['a', 'b', 'd'], ['a', 'b', 'd'], ['a'], 'd', {'a': 0, 'b': 0, 'd': 0}] | [['a', 'b', 'c', 'd'], ['a', 'b', 'd'], ['a', 'b', 'd'], ['a'], 'd', {'a': 20, 'b': 0, 'd': 60}] | Failed |
| workspace regression 2 | [['a', 'c', 'd'], ['a', 'b', 'c', 'd'], ['a', 'c', 'd'], ['a', 'c'], 'd', {'a': 0, 'c': 0, 'd': 0}] | [['a', 'c', 'd'], ['a', 'b', 'c', 'd'], ['a', 'c', 'd'], ['a', 'c'], 'd', {'a': 20, 'c': 40, 'd': 60}] | Failed |
| workspace regression 3 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], None, {'a': 0, 'd': 0}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], None, {'a': 20, 'd': 60}] | Failed |
| workspace regression 4 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['d'], 'd', {'a': 0, 'd': 0}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['d'], 'd', {'a': 20, 'd': 60}] | Failed |
| workspace regression 5 | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'd': 0}] | [['a', 'c', 'd'], ['a', 'b', 'd'], ['a', 'd'], ['a'], 'd', {'a': 0, 'd': 30}] | Failed |
SHA-256 / 65c8dceafd572e09e7d172d01c56ce7f59703698cb8cbb0ba9e1e878f4de9216
HELD IN THE MEMBER ARCHIVE
The verified repair and its recorded checks are member-only.
This mechanism has 6 recorded checks per implementation. The open-access tier publishes the failure and the unsuccessful fix; the repaired source that passes every check, and the observations that prove it, are available to members.
Every case sharing this mechanism uses the same contract and the same repair, so this one record is held back for all of them.
Member access is invitation-based. Sign in with your invited account to inspect the repair.
Sign in to the archive ↗Verification & scope
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.
Observations recorded using Python 3.12.14 at 2026-09-29T14:42:43.846131+00:00.
Case digest / c93995babb2fb24cbe113acaf5c01a2829daab2439e3efea282a1262930ad984