FAILURE MAP
← Case archive

FA-36781 / Tab interfaces / Open access

Related tab opener path: direct child recognition · case 01

The tab workspace reports an incorrect direct child recognition.

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

ROOT CAUSE

The direct child recognition decision uses [t for t in x['tabs'] if x['opener'] in x['paths'].get(t,[])] instead of [t for t in x['tabs'] if x['paths'].get(t,[]) and x['paths'][t][-1]==x['opener']].

THE FAILURE

The direct child recognition decision uses [t for t in x['tabs'] if x['opener'] in x['paths'].get(t,[])] instead of [t for t in x['tabs'] if x['paths'].get(t,[]) and x['paths'][t][-1]==x['opener']].

Unsuccessful approach: The partial repair [] still violates a workspace boundary or normal case.

Case contract

An opener path lists ancestor tab IDs from root to direct opener. Related tabs are inserted after the opener subtree in strip order; closing an opener reparents descendants by removing that identity from their paths.

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 x['opener'] in x['paths'].get(t,[])]
    r1 = [t for t in x['tabs'] if x['opener'] in x['paths'].get(t,[])]
    r2 = max(i for i,t in enumerate(x['tabs']) if t==x['opener'] or x['opener'] in x['paths'].get(t,[]))+1
    r3 = x['paths'][x['opener']]+[x['opener']]
    r4 = {t:[p for p in path if p!=x['closing']] for t,path in x['paths'].items() if t!=x['closing']}
    r5 = x['paths'][x['opener']][0] if x['paths'][x['opener']] else x['opener']
    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', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, '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[['b', 'c', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'][['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']Failed
workspace regression 1[['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'][['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']Passed
workspace regression 2[[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e'][[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']Passed
workspace regression 3[['b', 'c', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a'][['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']Failed
workspace regression 4[['b', 'c'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a'][['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']Failed
workspace regression 5[['d', 'b', 'c'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'][['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']Failed

SHA-256 / a07d2964e084b52dbc1ee629d95b6266b0abc3a4c1c45ccadb24f182c72772b3

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(x):
    r0 = []
    r1 = [t for t in x['tabs'] if x['opener'] in x['paths'].get(t,[])]
    r2 = max(i for i,t in enumerate(x['tabs']) if t==x['opener'] or x['opener'] in x['paths'].get(t,[]))+1
    r3 = x['paths'][x['opener']]+[x['opener']]
    r4 = {t:[p for p in path if p!=x['closing']] for t,path in x['paths'].items() if t!=x['closing']}
    r5 = x['paths'][x['opener']][0] if x['paths'][x['opener']] else x['opener']
    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', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 2: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 3: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0', 'background1'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 4: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0', 'background1', 'background2'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'])], 5: [({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'b', 'closing': 'b', 'new': 'f'}, [['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'e', 'closing': 'b', 'new': 'f'}, [[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'a', 'new': 'f'}, [['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'b', 'c', 'd', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': [], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']), ({'tabs': ['a', 'd', 'b', 'c', 'e', 'background0', 'background1', 'background2', 'background3'], 'paths': {'a': [], 'b': ['a'], 'c': ['a', 'b'], 'd': ['a'], 'e': []}, 'opener': 'a', 'closing': 'b', 'new': 'f'}, [['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, '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[[], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'][['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']Failed
workspace regression 1[[], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'][['c'], ['c'], 3, ['a', 'b'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']Failed
workspace regression 2[[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e'][[], [], 5, ['e'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'e']Passed
workspace regression 3[[], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a'][['b', 'd'], ['b', 'c', 'd'], 4, ['a'], {'b': [], 'c': ['b'], 'd': [], 'e': []}, 'a']Failed
workspace regression 4[[], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a'][['b'], ['b', 'c'], 3, ['a'], {'a': [], 'c': ['a'], 'd': [], 'e': []}, 'a']Failed
workspace regression 5[[], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a'][['d', 'b'], ['d', 'b', 'c'], 4, ['a'], {'a': [], 'c': ['a'], 'd': ['a'], 'e': []}, 'a']Failed

SHA-256 / 822c6f1738ebab9c02a3c45e7d0e16fb695f16cfad6a7e11099d718f9dab1ac1

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

Case digest / 1a8834e40e6ee2a9e4f23cd22752503c187c22cc8a6d84ba219d8af4d1c9ce18