FAILURE MAP
← Case archive

FA-35511 / Tab interfaces / Open access

Panel residency: unloaded selection · case 01

The tab workspace reports an incorrect unloaded selection.

Verified by executionVariant 1 · 7 checks per implementationDownload source bundle ↓JSON ↗

ROOT CAUSE

The unloaded selection decision uses False instead of x['selected'] not in x['loaded'].

VERIFIED REPAIR

Use the stipulated workspace rule: x['selected'] not in x['loaded'].

Unsuccessful approach: The partial repair x['selected'] in x['loading'] still violates a workspace boundary or normal case.

Case contract

Retained tab panels distinguish loaded, mounted and visible sets. Only the selected loaded panel is visible; kept panels remain mounted but hidden.

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['loaded'] if t==x['selected']]
    r1 = [t for t in x['tabs'] if t in x['loaded'] and (t in x['keep'] or t==x['selected'])]
    r2 = [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']]
    r3 = x['selected'] in x['loading']
    r4 = False
    r5 = [t for t in x['loaded'] if t!=x['selected'] and t not in x['keep']]
    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'], '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']])]}
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 fixtureActualExpectedOutcome
workspace regression 0[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 1[['b'], ['b'], [], False, False, ['a']][['b'], ['b'], [], False, False, ['a']]Passed
workspace regression 2[[], ['b'], ['b'], True, False, ['a']][[], ['b'], ['b'], True, True, ['a']]Failed
workspace regression 3[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 4[['b'], ['b'], [], False, False, []][['b'], ['b'], [], False, False, []]Passed
workspace regression 5[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 6[[], ['b'], ['b'], False, False, ['a']][[], ['b'], ['b'], False, True, ['a']]Failed

SHA-256 / 5cd5b2e1a8addc54970b218d20d67821e61dc5b3c4dae7faeea555bb78773a4f

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['loaded'] if t==x['selected']]
    r1 = [t for t in x['tabs'] if t in x['loaded'] and (t in x['keep'] or t==x['selected'])]
    r2 = [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']]
    r3 = x['selected'] in x['loading']
    r4 = x['selected'] in x['loading']
    r5 = [t for t in x['loaded'] if t!=x['selected'] and t not in x['keep']]
    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'], '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']])]}
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 fixtureActualExpectedOutcome
workspace regression 0[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 1[['b'], ['b'], [], False, False, ['a']][['b'], ['b'], [], False, False, ['a']]Passed
workspace regression 2[[], ['b'], ['b'], True, True, ['a']][[], ['b'], ['b'], True, True, ['a']]Passed
workspace regression 3[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 4[['b'], ['b'], [], False, False, []][['b'], ['b'], [], False, False, []]Passed
workspace regression 5[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 6[[], ['b'], ['b'], False, False, ['a']][[], ['b'], ['b'], False, True, ['a']]Failed

SHA-256 / 713d130676452881e36df6cb4098e21294cefec831fb0f98bb8874721b6f3f0f

3 / The verified repair

Exit 0
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(x):
    r0 = [t for t in x['loaded'] if t==x['selected']]
    r1 = [t for t in x['tabs'] if t in x['loaded'] and (t in x['keep'] or t==x['selected'])]
    r2 = [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']]
    r3 = x['selected'] in x['loading']
    r4 = x['selected'] not in x['loaded']
    r5 = [t for t in x['loaded'] if t!=x['selected'] and t not in x['keep']]
    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'], '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']])]}
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 fixtureActualExpectedOutcome
workspace regression 0[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 1[['b'], ['b'], [], False, False, ['a']][['b'], ['b'], [], False, False, ['a']]Passed
workspace regression 2[[], ['b'], ['b'], True, True, ['a']][[], ['b'], ['b'], True, True, ['a']]Passed
workspace regression 3[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 4[['b'], ['b'], [], False, False, []][['b'], ['b'], [], False, False, []]Passed
workspace regression 5[['a'], ['a', 'b'], ['b'], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Passed
workspace regression 6[[], ['b'], ['b'], False, True, ['a']][[], ['b'], ['b'], False, True, ['a']]Passed

SHA-256 / f2a9f3bbf36d85a23332b3a080a139c46a4a5020a3c46434a9da031a62d37b1d

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:42.349134+00:00.

Case digest / 3da9a207f145c4d83a664457d2f386eead0851465a1270c369621d1ca7f9f915