{"abstract":"The tab workspace reports an incorrect new tab pin status.","category":"Tab interfaces","checks":6,"contract":"Insert an unpinned document after all pins, retaining pinned prefix order and active document identity.","evaluation_group":"s3-tabs-pinned-partition","failed_approach":"The partial repair x['requested']<len(x['pins']) still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-pinned-partition-new-tab-pin-status","id":"FA-35366","implementations":{"attempt":{"sha256":"3f62430bc8ea643dd67f5bdccdeda7c660e738496d2ba5cf566f96f777441fec","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = len(x['pins'])\n    r1 = max(len(x['pins']),min(x['requested'],len(x['tabs'])))\n    r2 = [t for t in x['tabs'] if t in x['pins']]\n    r3 = [t for t in x['tabs'] if t not in x['pins']]\n    r4 = x['active']\n    r5 = x['requested']<len(x['pins'])\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', '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])]}\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":"e068bed72dc022c2c264eea475ba1e7cda0eb0309f7974208ecf21f673df3de9","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = len(x['pins'])\n    r1 = max(len(x['pins']),min(x['requested'],len(x['tabs'])))\n    r2 = [t for t in x['tabs'] if t in x['pins']]\n    r3 = [t for t in x['tabs'] if t not in x['pins']]\n    r4 = x['active']\n    r5 = True\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', '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])]}\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":"2f836f8d2a8f0102afe20c67d445368e52a64406c23da5c6cb449ce7f00420cd","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = len(x['pins'])\n    r1 = max(len(x['pins']),min(x['requested'],len(x['tabs'])))\n    r2 = [t for t in x['tabs'] if t in x['pins']]\n    r3 = [t for t in x['tabs'] if t not in x['pins']]\n    r4 = x['active']\n    r5 = False\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', '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])]}\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-pinned-partition-new-tab-pin-status","generated_at":"2026-09-29T14:42:40.901400+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: False.","root_cause":"The new tab pin status decision uses True instead of False.","sha256":"c1c65359c25c0c8b292f6fdc9866b50a3618d5a7868a4e6bcb80421a4f8b0a04","title":"Pinned partition: new tab pin status · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verification":{"attempt":{"elapsed_ms":49.388,"exit_code":1,"observations":[{"actual":[2,2,["p","q"],["a","b"],"a",true],"check":"workspace regression 0","expected":[2,2,["p","q"],["a","b"],"a",false],"passed":false},{"actual":[2,3,["p","q"],["a","b"],"a",false],"check":"workspace regression 1","expected":[2,3,["p","q"],["a","b"],"a",false],"passed":true},{"actual":[2,2,["p","q"],["a","b"],"q",true],"check":"workspace regression 2","expected":[2,2,["p","q"],["a","b"],"q",false],"passed":false},{"actual":[1,1,["p"],["q","a","b"],"a",true],"check":"workspace regression 3","expected":[1,1,["p"],["q","a","b"],"a",false],"passed":false},{"actual":[2,4,["p","q"],["a","b"],"a",false],"check":"workspace regression 4","expected":[2,4,["p","q"],["a","b"],"a",false],"passed":true},{"actual":[2,2,["p","q"],["a","b","d"],"a",true],"check":"workspace regression 5","expected":[2,2,["p","q"],["a","b","d"],"a",false],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", true], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [2, 3, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"expected\": [2, 3, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"q\", true], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"q\", false], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [1, 1, [\"p\"], [\"q\", \"a\", \"b\"], \"a\", true], \"expected\": [1, 1, [\"p\"], [\"q\", \"a\", \"b\"], \"a\", false], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [2, 4, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"expected\": [2, 4, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\", \"d\"], \"a\", true], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\", \"d\"], \"a\", false], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":44.405,"exit_code":1,"observations":[{"actual":[2,2,["p","q"],["a","b"],"a",true],"check":"workspace regression 0","expected":[2,2,["p","q"],["a","b"],"a",false],"passed":false},{"actual":[2,3,["p","q"],["a","b"],"a",true],"check":"workspace regression 1","expected":[2,3,["p","q"],["a","b"],"a",false],"passed":false},{"actual":[2,2,["p","q"],["a","b"],"q",true],"check":"workspace regression 2","expected":[2,2,["p","q"],["a","b"],"q",false],"passed":false},{"actual":[1,1,["p"],["q","a","b"],"a",true],"check":"workspace regression 3","expected":[1,1,["p"],["q","a","b"],"a",false],"passed":false},{"actual":[2,4,["p","q"],["a","b"],"a",true],"check":"workspace regression 4","expected":[2,4,["p","q"],["a","b"],"a",false],"passed":false},{"actual":[2,2,["p","q"],["a","b","d"],"a",true],"check":"workspace regression 5","expected":[2,2,["p","q"],["a","b","d"],"a",false],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", true], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [2, 3, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", true], \"expected\": [2, 3, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"q\", true], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"q\", false], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [1, 1, [\"p\"], [\"q\", \"a\", \"b\"], \"a\", true], \"expected\": [1, 1, [\"p\"], [\"q\", \"a\", \"b\"], \"a\", false], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [2, 4, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", true], \"expected\": [2, 4, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": false}, {\"check\": \"workspace regression 5\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\", \"d\"], \"a\", true], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\", \"d\"], \"a\", false], \"passed\": false}], \"passed\": false}\n"},"fixed":{"elapsed_ms":44.903,"exit_code":0,"observations":[{"actual":[2,2,["p","q"],["a","b"],"a",false],"check":"workspace regression 0","expected":[2,2,["p","q"],["a","b"],"a",false],"passed":true},{"actual":[2,3,["p","q"],["a","b"],"a",false],"check":"workspace regression 1","expected":[2,3,["p","q"],["a","b"],"a",false],"passed":true},{"actual":[2,2,["p","q"],["a","b"],"q",false],"check":"workspace regression 2","expected":[2,2,["p","q"],["a","b"],"q",false],"passed":true},{"actual":[1,1,["p"],["q","a","b"],"a",false],"check":"workspace regression 3","expected":[1,1,["p"],["q","a","b"],"a",false],"passed":true},{"actual":[2,4,["p","q"],["a","b"],"a",false],"check":"workspace regression 4","expected":[2,4,["p","q"],["a","b"],"a",false],"passed":true},{"actual":[2,2,["p","q"],["a","b","d"],"a",false],"check":"workspace regression 5","expected":[2,2,["p","q"],["a","b","d"],"a",false],"passed":true}],"passed":true,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": true}, {\"check\": \"workspace regression 1\", \"actual\": [2, 3, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"expected\": [2, 3, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": true}, {\"check\": \"workspace regression 2\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"q\", false], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\"], \"q\", false], \"passed\": true}, {\"check\": \"workspace regression 3\", \"actual\": [1, 1, [\"p\"], [\"q\", \"a\", \"b\"], \"a\", false], \"expected\": [1, 1, [\"p\"], [\"q\", \"a\", \"b\"], \"a\", false], \"passed\": true}, {\"check\": \"workspace regression 4\", \"actual\": [2, 4, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"expected\": [2, 4, [\"p\", \"q\"], [\"a\", \"b\"], \"a\", false], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\", \"d\"], \"a\", false], \"expected\": [2, 2, [\"p\", \"q\"], [\"a\", \"b\", \"d\"], \"a\", false], \"passed\": true}], \"passed\": true}\n"}},"verified":true,"visibility":"public"}