FAILURE MAP
← Case archive

FA-35341 / Tab interfaces / Open access

Pinned partition: partition boundary · case 01

The tab workspace reports an incorrect partition boundary.

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

ROOT CAUSE

The partition boundary decision uses 0 instead of len(x['pins']).

VERIFIED REPAIR

Use the stipulated workspace rule: len(x['pins']).

Unsuccessful approach: The partial repair len(x['pins'])-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 = 0
    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[0, 2, ['p', 'q'], ['a', 'b'], 'a', False][2, 2, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 1[0, 3, ['p', 'q'], ['a', 'b'], 'a', False][2, 3, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 2[0, 2, ['p', 'q'], ['a', 'b'], 'q', False][2, 2, ['p', 'q'], ['a', 'b'], 'q', False]Failed
workspace regression 3[0, 1, ['p'], ['q', 'a', 'b'], 'a', False][1, 1, ['p'], ['q', 'a', 'b'], 'a', False]Failed
workspace regression 4[0, 4, ['p', 'q'], ['a', 'b'], 'a', False][2, 4, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 5[0, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False][2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False]Failed

SHA-256 / e5c9c1012e95377251429e4f5d8f4196effdd61688afc62e347b8f4978fccbb2

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'])-1
    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[1, 2, ['p', 'q'], ['a', 'b'], 'a', False][2, 2, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 1[1, 3, ['p', 'q'], ['a', 'b'], 'a', False][2, 3, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 2[1, 2, ['p', 'q'], ['a', 'b'], 'q', False][2, 2, ['p', 'q'], ['a', 'b'], 'q', False]Failed
workspace regression 3[0, 1, ['p'], ['q', 'a', 'b'], 'a', False][1, 1, ['p'], ['q', 'a', 'b'], 'a', False]Failed
workspace regression 4[1, 4, ['p', 'q'], ['a', 'b'], 'a', False][2, 4, ['p', 'q'], ['a', 'b'], 'a', False]Failed
workspace regression 5[1, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False][2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False]Failed

SHA-256 / 20f47256e5137f0e48242ec154dd9d95863e61d174df4e53746c1d18d7c496bf

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

Case digest / 7765e352aa79456907e6cec05063a112b1c8699472769c4471dd35a2c1308644