{"abstract":"The tab workspace reports an incorrect empty header dissolution.","category":"Tab interfaces","checks":6,"contract":"Pinning a tab removes it from its group, moves it behind existing pins, shrinks group count and dissolves empty group headers while keeping selection.","evaluation_group":"s3-tabs-pin-group-interaction","failed_approach":"The partial repair len(x['members'])==0 still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-pin-group-interaction-empty-header-dissolution","id":"FA-36021","implementations":{"attempt":{"sha256":"1124ec6eabe49b805db3da3407c1c0e154f39b90484c2743de2f7e43b767198e","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['members'] if t!=x['pin']]\n    r1 = x['pins']+[x['pin']] if x['pin'] not in x['pins'] else x['pins']\n    r2 = len(x['pins'])\n    r3 = sum(t!=x['pin'] for t in x['members'])\n    r4 = len(x['members'])==0\n    r5 = x['active']\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 2: [({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 3: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 4: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 5: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"broken":{"sha256":"b30f0c2b585b02f0ca811127bfd1d4898a9d533508380b0b28ffb53ee45fcc15","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['members'] if t!=x['pin']]\n    r1 = x['pins']+[x['pin']] if x['pin'] not in x['pins'] else x['pins']\n    r2 = len(x['pins'])\n    r3 = sum(t!=x['pin'] for t in x['members'])\n    r4 = False\n    r5 = x['active']\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 2: [({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 3: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 4: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 5: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"},"fixed":{"sha256":"f568f77394d8a56e1c299c2a08a5b1219ae1486cba2c536692cf8950600f3d09","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = [t for t in x['members'] if t!=x['pin']]\n    r1 = x['pins']+[x['pin']] if x['pin'] not in x['pins'] else x['pins']\n    r2 = len(x['pins'])\n    r3 = sum(t!=x['pin'] for t in x['members'])\n    r4 = not any(t!=x['pin'] for t in x['members'])\n    r5 = x['active']\n    return [r0,r1,r2,r3,r4,r5]\ndef check(label, actual, expected):\n    observations.append({\"check\": label, \"actual\": actual, \"expected\": expected, \"passed\": actual == expected})\nfixtures = {1: [({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 2: [({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 3: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 4: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])], 5: [({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['p', 'b'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'a', 'active': 'a'}, [['b'], ['p', 'a'], 1, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['b'], 'pin': 'b', 'active': 'a'}, [[], ['p', 'b'], 1, 0, True, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': [], 'members': ['a', 'b'], 'pin': 'b', 'active': 'a'}, [['a'], ['b'], 0, 1, False, 'a']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b'], 'pin': 'b', 'active': 'b'}, [['a'], ['p', 'b'], 1, 1, False, 'b']), ({'tabs': ['p', 'a', 'b', 'c', 'background0', 'background1', 'background2', 'background3'], 'pins': ['p'], 'members': ['a', 'b', 'c'], 'pin': 'b', 'active': 'a'}, [['a', 'c'], ['p', 'b'], 1, 2, False, 'a'])]}\nfor i, (inputs, expected) in enumerate(fixtures[N]):\n    check(\"workspace regression \"+str(i), solve(inputs), expected)\nprint(json.dumps({\"observations\": observations, \"passed\": all(x[\"passed\"] for x in observations)}, ensure_ascii=False))\nraise SystemExit(0 if all(x[\"passed\"] for x in observations) else 1)\n"}},"limitations":"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.","method":"Deterministic executable model with adversarial boundary fixtures.","provenance":{"created_by":"Failure Map","dependencies":"Python standard library","family":"s3-tab-interfaces-pin-group-interaction-empty-header-dissolution","generated_at":"2026-09-29T14:42:47.165096+00:00","license":"CC0-1.0","python":"3.12.14","seed":1,"split":"open-access"},"relevance":"Offline tab/panel workspace behavior; no browser or desktop framework is emulated.","repair":"Use the stipulated workspace rule: not any(t!=x['pin'] for t in x['members']).","root_cause":"The empty header dissolution decision uses False instead of not any(t!=x['pin'] for t in x['members']).","sha256":"bcff57aeae1783833e4abf1465352041025783507eded83d9583a40ad2730e87","title":"Pin group interaction: empty header dissolution · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":40.881,"exit_code":1,"observations":[{"actual":[["a"],["p","b"],1,1,false,"a"],"check":"workspace regression 0","expected":[["a"],["p","b"],1,1,false,"a"],"passed":true},{"actual":[["b"],["p","a"],1,1,false,"a"],"check":"workspace regression 1","expected":[["b"],["p","a"],1,1,false,"a"],"passed":true},{"actual":[[],["p","b"],1,0,false,"a"],"check":"workspace regression 2","expected":[[],["p","b"],1,0,true,"a"],"passed":false},{"actual":[["a"],["b"],0,1,false,"a"],"check":"workspace regression 3","expected":[["a"],["b"],0,1,false,"a"],"passed":true},{"actual":[["a"],["p","b"],1,1,false,"b"],"check":"workspace regression 4","expected":[["a"],["p","b"],1,1,false,"b"],"passed":true},{"actual":[["a","c"],["p","b"],1,2,false,"a"],"check":"workspace regression 5","expected":[["a","c"],["p","b"],1,2,false,"a"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"a\"], \"expected\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [[\"b\"], [\"p\", \"a\"], 1, 1, false, \"a\"], \"expected\": [[\"b\"], [\"p\", \"a\"], 1, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [[], [\"p\", \"b\"], 1, 0, false, \"a\"], \"expected\": [[], [\"p\", \"b\"], 1, 0, true, \"a\"], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\"], [\"b\"], 0, 1, false, \"a\"], \"expected\": [[\"a\"], [\"b\"], 0, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"b\"], \"expected\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\"], [\"p\", \"b\"], 1, 2, false, \"a\"], \"expected\": [[\"a\", \"c\"], [\"p\", \"b\"], 1, 2, false, \"a\"], \"passed\": true}], \"passed\": false}\n"},"broken":{"elapsed_ms":40.736,"exit_code":1,"observations":[{"actual":[["a"],["p","b"],1,1,false,"a"],"check":"workspace regression 0","expected":[["a"],["p","b"],1,1,false,"a"],"passed":true},{"actual":[["b"],["p","a"],1,1,false,"a"],"check":"workspace regression 1","expected":[["b"],["p","a"],1,1,false,"a"],"passed":true},{"actual":[[],["p","b"],1,0,false,"a"],"check":"workspace regression 2","expected":[[],["p","b"],1,0,true,"a"],"passed":false},{"actual":[["a"],["b"],0,1,false,"a"],"check":"workspace regression 3","expected":[["a"],["b"],0,1,false,"a"],"passed":true},{"actual":[["a"],["p","b"],1,1,false,"b"],"check":"workspace regression 4","expected":[["a"],["p","b"],1,1,false,"b"],"passed":true},{"actual":[["a","c"],["p","b"],1,2,false,"a"],"check":"workspace regression 5","expected":[["a","c"],["p","b"],1,2,false,"a"],"passed":true}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"a\"], \"expected\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [[\"b\"], [\"p\", \"a\"], 1, 1, false, \"a\"], \"expected\": [[\"b\"], [\"p\", \"a\"], 1, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [[], [\"p\", \"b\"], 1, 0, false, \"a\"], \"expected\": [[], [\"p\", \"b\"], 1, 0, true, \"a\"], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\"], [\"b\"], 0, 1, false, \"a\"], \"expected\": [[\"a\"], [\"b\"], 0, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"b\"], \"expected\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\"], [\"p\", \"b\"], 1, 2, false, \"a\"], \"expected\": [[\"a\", \"c\"], [\"p\", \"b\"], 1, 2, false, \"a\"], \"passed\": true}], \"passed\": false}\n"},"fixed":{"elapsed_ms":43.637,"exit_code":0,"observations":[{"actual":[["a"],["p","b"],1,1,false,"a"],"check":"workspace regression 0","expected":[["a"],["p","b"],1,1,false,"a"],"passed":true},{"actual":[["b"],["p","a"],1,1,false,"a"],"check":"workspace regression 1","expected":[["b"],["p","a"],1,1,false,"a"],"passed":true},{"actual":[[],["p","b"],1,0,true,"a"],"check":"workspace regression 2","expected":[[],["p","b"],1,0,true,"a"],"passed":true},{"actual":[["a"],["b"],0,1,false,"a"],"check":"workspace regression 3","expected":[["a"],["b"],0,1,false,"a"],"passed":true},{"actual":[["a"],["p","b"],1,1,false,"b"],"check":"workspace regression 4","expected":[["a"],["p","b"],1,1,false,"b"],"passed":true},{"actual":[["a","c"],["p","b"],1,2,false,"a"],"check":"workspace regression 5","expected":[["a","c"],["p","b"],1,2,false,"a"],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"a\"], \"expected\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [[\"b\"], [\"p\", \"a\"], 1, 1, false, \"a\"], \"expected\": [[\"b\"], [\"p\", \"a\"], 1, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [[], [\"p\", \"b\"], 1, 0, true, \"a\"], \"expected\": [[], [\"p\", \"b\"], 1, 0, true, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [[\"a\"], [\"b\"], 0, 1, false, \"a\"], \"expected\": [[\"a\"], [\"b\"], 0, 1, false, \"a\"], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"b\"], \"expected\": [[\"a\"], [\"p\", \"b\"], 1, 1, false, \"b\"], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [[\"a\", \"c\"], [\"p\", \"b\"], 1, 2, false, \"a\"], \"expected\": [[\"a\", \"c\"], [\"p\", \"b\"], 1, 2, false, \"a\"], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}