FA-35351 / Tab interfaces / Open access
Pinned partition: pinned order · case 01
The tab workspace reports an incorrect pinned order.
ROOT CAUSE
The pinned order decision uses sorted(x['pins'],reverse=True) instead of [t for t in x['tabs'] if t in x['pins']].
THE FAILURE
The pinned order decision uses sorted(x['pins'],reverse=True) instead of [t for t in x['tabs'] if t in x['pins']].
Unsuccessful approach: The partial repair list(reversed(x['pins'])) 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 = sorted(x['pins'],reverse=True)
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| workspace regression 0 | [2, 2, ['q', 'p'], ['a', 'b'], 'a', False] | [2, 2, ['p', 'q'], ['a', 'b'], 'a', False] | Failed |
| workspace regression 1 | [2, 3, ['q', 'p'], ['a', 'b'], 'a', False] | [2, 3, ['p', 'q'], ['a', 'b'], 'a', False] | Failed |
| workspace regression 2 | [2, 2, ['q', 'p'], ['a', 'b'], 'q', False] | [2, 2, ['p', 'q'], ['a', 'b'], 'q', False] | Failed |
| 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, ['q', 'p'], ['a', 'b'], 'a', False] | [2, 4, ['p', 'q'], ['a', 'b'], 'a', False] | Failed |
| workspace regression 5 | [2, 2, ['q', 'p'], ['a', 'b', 'd'], 'a', False] | [2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False] | Failed |
SHA-256 / 7b69a977aea2885547112b168a57061e0e98700d1d51a0f24479799231fb05cd
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 = list(reversed(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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| workspace regression 0 | [2, 2, ['q', 'p'], ['a', 'b'], 'a', False] | [2, 2, ['p', 'q'], ['a', 'b'], 'a', False] | Failed |
| workspace regression 1 | [2, 3, ['q', 'p'], ['a', 'b'], 'a', False] | [2, 3, ['p', 'q'], ['a', 'b'], 'a', False] | Failed |
| workspace regression 2 | [2, 2, ['q', 'p'], ['a', 'b'], 'q', False] | [2, 2, ['p', 'q'], ['a', 'b'], 'q', False] | Failed |
| 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, ['q', 'p'], ['a', 'b'], 'a', False] | [2, 4, ['p', 'q'], ['a', 'b'], 'a', False] | Failed |
| workspace regression 5 | [2, 2, ['q', 'p'], ['a', 'b', 'd'], 'a', False] | [2, 2, ['p', 'q'], ['a', 'b', 'd'], 'a', False] | Failed |
SHA-256 / 52bdf6b5c3c7718d801bf9fab694fa9cadca5b6346ee1fe3eb1d77bad57bdf61
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:40.901400+00:00.
Case digest / 4970ed007b510f65cd543fa2828bdf6fcb7b898ea0172bb06836c09aa259968e