FAILURE MAP
← Case archive

FA-35356 / Tab interfaces / Open access

Pinned partition: unpinned retention · case 01

The tab workspace reports an incorrect unpinned retention.

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

ROOT CAUSE

The unpinned retention decision uses x['tabs'][len(x['pins'])+1:] instead of [t for t in x['tabs'] if t not in x['pins']].

VERIFIED REPAIR

Use the stipulated workspace rule: [t for t in x['tabs'] if t not in x['pins']].

Unsuccessful approach: The partial repair x['tabs'][-1:] still violates a workspace boundary or normal case.

Case contract

Insert an unpinned document after all pins, retaining pinned prefix order and active document identity.

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 = len(x['pins'])
    r1 = max(len(x['pins']),min(x['requested'],len(x['tabs'])))
    r2 = [t for t in x['tabs'] if t in x['pins']]
    r3 = x['tabs'][len(x['pins'])+1:]
    r4 = x['active']
    r5 = False
    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': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False])], 2: [({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0'], 'a', False])], 3: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1'], 'a', False])], 4: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], 'a', False])], 5: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], 'a', False])]}
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[2, 2, ['p', 'q'], ['b'], 'a', False][2, 2, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 1[2, 3, ['p', 'q'], ['b'], 'a', False][2, 3, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 2[2, 2, ['p', 'q'], ['b'], 'q', False][2, 2, ['p', 'q'], ['a', 'b'], 'q', False]Failed
workspace regression 3[1, 1, ['p'], ['a', 'b'], 'a', False][1, 1, ['p'], ['q', 'a', 'b'], 'a', False]Failed
workspace regression 4[2, 4, ['p', 'q'], ['b'], 'a', False][2, 4, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 5[2, 2, ['p', 'q'], ['b', 'd'], 'a', False][2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False]Failed

SHA-256 / a15e2a3640e27034999c8cce180661c3cbea468d9857c217a509367a53d6d5dc

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(x):
    r0 = len(x['pins'])
    r1 = max(len(x['pins']),min(x['requested'],len(x['tabs'])))
    r2 = [t for t in x['tabs'] if t in x['pins']]
    r3 = x['tabs'][-1:]
    r4 = x['active']
    r5 = False
    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': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False])], 2: [({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0'], 'a', False])], 3: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1'], 'a', False])], 4: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], 'a', False])], 5: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], 'a', False])]}
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[2, 2, ['p', 'q'], ['b'], 'a', False][2, 2, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 1[2, 3, ['p', 'q'], ['b'], 'a', False][2, 3, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 2[2, 2, ['p', 'q'], ['b'], 'q', False][2, 2, ['p', 'q'], ['a', 'b'], 'q', False]Failed
workspace regression 3[1, 1, ['p'], ['b'], 'a', False][1, 1, ['p'], ['q', 'a', 'b'], 'a', False]Failed
workspace regression 4[2, 4, ['p', 'q'], ['b'], 'a', False][2, 4, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 5[2, 2, ['p', 'q'], ['d'], 'a', False][2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False]Failed

SHA-256 / b1badd040b0baa49646dff1e753d052cd5c8d030af68e23ccf9102c5c77829a6

3 / The verified repair

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

N = 1
observations = []
def solve(x):
    r0 = len(x['pins'])
    r1 = max(len(x['pins']),min(x['requested'],len(x['tabs'])))
    r2 = [t for t in x['tabs'] if t in x['pins']]
    r3 = [t for t in x['tabs'] if t not in x['pins']]
    r4 = x['active']
    r5 = False
    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': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False])], 2: [({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0'], 'a', False])], 3: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1'], 'a', False])], 4: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1', 'background2'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1', 'background2'], 'a', False])], 5: [({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 3, 'active': 'a'}, [2, 3, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 0, 'active': 'q'}, [2, 2, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'q', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'new': 'c', 'requested': 0, 'active': 'a'}, [1, 1, ['p'], ['q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 4, 'active': 'a'}, [2, 4, ['p', 'q'], ['a', 'b', 'background0', 'background1', 'background2', 'background3'], 'a', False]), ({'tabs': ['p', 'q', 'a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p', 'q'], 'new': 'c', 'requested': 1, 'active': 'a'}, [2, 2, ['p', 'q'], ['a', 'b', 'd', 'background0', 'background1', 'background2', 'background3'], 'a', False])]}
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[2, 2, ['p', 'q'], ['a', 'b'], 'a', False][2, 2, ['p', 'q'], ['a', 'b'], 'a', False]Passed
workspace regression 1[2, 3, ['p', 'q'], ['a', 'b'], 'a', False][2, 3, ['p', 'q'], ['a', 'b'], 'a', False]Passed
workspace regression 2[2, 2, ['p', 'q'], ['a', 'b'], 'q', False][2, 2, ['p', 'q'], ['a', 'b'], 'q', False]Passed
workspace regression 3[1, 1, ['p'], ['q', 'a', 'b'], 'a', False][1, 1, ['p'], ['q', 'a', 'b'], 'a', False]Passed
workspace regression 4[2, 4, ['p', 'q'], ['a', 'b'], 'a', False][2, 4, ['p', 'q'], ['a', 'b'], 'a', False]Passed
workspace regression 5[2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False][2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False]Passed

SHA-256 / 2f836f8d2a8f0102afe20c67d445368e52a64406c23da5c6cb449ce7f00420cd

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

Case digest / 93ca36d48fd6b61d4beb7146708a20886ae82a551da17e175c109f9c4f2d1c35