FAILURE MAP
← Case archive

FA-35501 / Tab interfaces / Open access

Panel residency: hidden panel inertness · case 01

The tab workspace reports an incorrect hidden panel inertness.

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

ROOT CAUSE

The hidden panel inertness decision uses [] instead of [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']].

VERIFIED REPAIR

Use the stipulated workspace rule: [t for t in x['loaded'] if t!=x['selected'] and t in x['keep']].

Unsuccessful approach: The partial repair [t for t in x['loaded'] if t!=x['selected']] 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 = []
    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'], [], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Failed
workspace regression 1[['b'], ['b'], [], False, False, ['a']][['b'], ['b'], [], False, False, ['a']]Passed
workspace regression 2[[], ['b'], [], True, True, ['a']][[], ['b'], ['b'], True, True, ['a']]Failed
workspace regression 3[['a'], ['a', 'b'], [], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Failed
workspace regression 4[['b'], ['b'], [], False, False, []][['b'], ['b'], [], False, False, []]Passed
workspace regression 5[['a'], ['a', 'b'], [], False, False, []][['a'], ['a', 'b'], ['b'], False, False, []]Failed
workspace regression 6[[], ['b'], [], False, True, ['a']][[], ['b'], ['b'], False, True, ['a']]Failed

SHA-256 / dce2cfbccd47e9a01e073f1edd5e74f2a746399b855ec87f364a21eb6b38da25

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']]
    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'], ['a'], False, False, ['a']][['b'], ['b'], [], False, False, ['a']]Failed
workspace regression 2[[], ['b'], ['a', 'b'], True, True, ['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'], ['a', 'b'], False, True, ['a']][[], ['b'], ['b'], False, True, ['a']]Failed

SHA-256 / feff8ef65b03e7b9d2bfe1e3cc5eba0c10a0d80f03065536b7c8abddab02cf7c

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

Case digest / ba30e14e915cca2d00d0dd41f58397e59bf7c6f579bf72f756b6c51e5ced500a