{"abstract":"The tab workspace reports an incorrect close button x.","category":"Tab interfaces","checks":6,"contract":"Vertical tab strips consume pane width rather than height, reserve group-header rows, size scroll content from row heights and keep close buttons aligned to the strip trailing edge.","contract_signature":"x","evaluation_group":"s3-tabs-vertical-strip-layout","failed_approach":"The partial repair x['strip_width']-x['button_width'] still violates a workspace boundary or normal case.","family":"s3-tab-interfaces-vertical-strip-layout-close-button-x","id":"FA-36446","implementations":{"attempt":{"sha256":"bba7a87af60d58e394cbf60f9e3f28c963fe912c98ba3e0135543c480d57ceca","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = max(0,x['pane_width']-x['strip_width'])\n    r1 = x['pane_height']\n    r2 = x['tabs_count']*x['row_height']\n    r3 = x['headers']*x['header_height']\n    r4 = max(0,x['tabs_count']*x['row_height']+x['headers']*x['header_height']-x['pane_height'])\n    r5 = x['strip_width']-x['button_width']\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: [({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 8, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 224, 40, 0, 98]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 8, 'headers': 0, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 224, 0, 0, 98]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 20, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 560, 40, 200, 98]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 80, 'row_height': 28, 'tabs_count': 8, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [420, 400, 224, 40, 0, 58]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 8, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 0}, [380, 400, 224, 40, 0, 104]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 0, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 0, 40, 0, 98])], 2: [({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 8, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 448, 80, 0, 196]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 8, 'headers': 0, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 448, 0, 0, 196]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 20, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 1120, 80, 400, 196]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 160, 'row_height': 56, 'tabs_count': 8, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [840, 800, 448, 80, 0, 116]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 8, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 0}, [760, 800, 448, 80, 0, 208]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 0, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 0, 80, 0, 196])], 3: [({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 8, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 672, 120, 0, 294]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 8, 'headers': 0, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 672, 0, 0, 294]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 20, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 1680, 120, 600, 294]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 240, 'row_height': 84, 'tabs_count': 8, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1260, 1200, 672, 120, 0, 174]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 8, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 0}, [1140, 1200, 672, 120, 0, 312]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 0, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 0, 120, 0, 294])], 4: [({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 8, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 896, 160, 0, 392]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 8, 'headers': 0, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 896, 0, 0, 392]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 20, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 2240, 160, 800, 392]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 320, 'row_height': 112, 'tabs_count': 8, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1680, 1600, 896, 160, 0, 232]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 8, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 0}, [1520, 1600, 896, 160, 0, 416]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 0, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 0, 160, 0, 392])], 5: [({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 8, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 1120, 200, 0, 490]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 8, 'headers': 0, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 1120, 0, 0, 490]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 20, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 2800, 200, 1000, 490]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 400, 'row_height': 140, 'tabs_count': 8, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [2100, 2000, 1120, 200, 0, 290]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 8, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 0}, [1900, 2000, 1120, 200, 0, 520]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 0, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 0, 200, 0, 490])]}\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":"c723832c4dd665e108fdb9c34d69ecbfb2c4fc5c4e301e6d1b66fbcd31120d4d","source":"\"\"\"Failure Map reference implementation. Python standard library only.\"\"\"\nimport json\n\nN = 1\nobservations = []\ndef solve(x):\n    r0 = max(0,x['pane_width']-x['strip_width'])\n    r1 = x['pane_height']\n    r2 = x['tabs_count']*x['row_height']\n    r3 = x['headers']*x['header_height']\n    r4 = max(0,x['tabs_count']*x['row_height']+x['headers']*x['header_height']-x['pane_height'])\n    r5 = x['pane_width']-x['padding']-x['button_width']\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: [({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 8, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 224, 40, 0, 98]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 8, 'headers': 0, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 224, 0, 0, 98]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 20, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 560, 40, 200, 98]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 80, 'row_height': 28, 'tabs_count': 8, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [420, 400, 224, 40, 0, 58]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 8, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 0}, [380, 400, 224, 40, 0, 104]), ({'pane_width': 500, 'pane_height': 400, 'strip_width': 120, 'row_height': 28, 'tabs_count': 0, 'headers': 2, 'header_height': 20, 'button_width': 16, 'padding': 6}, [380, 400, 0, 40, 0, 98])], 2: [({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 8, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 448, 80, 0, 196]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 8, 'headers': 0, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 448, 0, 0, 196]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 20, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 1120, 80, 400, 196]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 160, 'row_height': 56, 'tabs_count': 8, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [840, 800, 448, 80, 0, 116]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 8, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 0}, [760, 800, 448, 80, 0, 208]), ({'pane_width': 1000, 'pane_height': 800, 'strip_width': 240, 'row_height': 56, 'tabs_count': 0, 'headers': 2, 'header_height': 40, 'button_width': 32, 'padding': 12}, [760, 800, 0, 80, 0, 196])], 3: [({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 8, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 672, 120, 0, 294]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 8, 'headers': 0, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 672, 0, 0, 294]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 20, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 1680, 120, 600, 294]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 240, 'row_height': 84, 'tabs_count': 8, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1260, 1200, 672, 120, 0, 174]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 8, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 0}, [1140, 1200, 672, 120, 0, 312]), ({'pane_width': 1500, 'pane_height': 1200, 'strip_width': 360, 'row_height': 84, 'tabs_count': 0, 'headers': 2, 'header_height': 60, 'button_width': 48, 'padding': 18}, [1140, 1200, 0, 120, 0, 294])], 4: [({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 8, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 896, 160, 0, 392]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 8, 'headers': 0, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 896, 0, 0, 392]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 20, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 2240, 160, 800, 392]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 320, 'row_height': 112, 'tabs_count': 8, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1680, 1600, 896, 160, 0, 232]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 8, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 0}, [1520, 1600, 896, 160, 0, 416]), ({'pane_width': 2000, 'pane_height': 1600, 'strip_width': 480, 'row_height': 112, 'tabs_count': 0, 'headers': 2, 'header_height': 80, 'button_width': 64, 'padding': 24}, [1520, 1600, 0, 160, 0, 392])], 5: [({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 8, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 1120, 200, 0, 490]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 8, 'headers': 0, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 1120, 0, 0, 490]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 20, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 2800, 200, 1000, 490]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 400, 'row_height': 140, 'tabs_count': 8, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [2100, 2000, 1120, 200, 0, 290]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 8, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 0}, [1900, 2000, 1120, 200, 0, 520]), ({'pane_width': 2500, 'pane_height': 2000, 'strip_width': 600, 'row_height': 140, 'tabs_count': 0, 'headers': 2, 'header_height': 100, 'button_width': 80, 'padding': 30}, [1900, 2000, 0, 200, 0, 490])]}\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-vertical-strip-layout-close-button-x","generated_at":"2026-09-29T14:42:51.426120+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.","root_cause":"The close button x decision uses x['pane_width']-x['padding']-x['button_width'] instead of x['strip_width']-x['padding']-x['button_width'].","sha256":"cd8184f2219125eec24aa820baa2f8771fde1c33677f7a8a227858a3821b74a7","title":"Vertical strip layout: close button x · case 01","variant":1,"variant_policy":"Five numbered records share a model and may reuse boundary fixtures.","verified":true,"visibility":"public","verification":{"attempt":{"elapsed_ms":45.05,"exit_code":1,"observations":[{"actual":[380,400,224,40,0,104],"check":"workspace regression 0","expected":[380,400,224,40,0,98],"passed":false},{"actual":[380,400,224,0,0,104],"check":"workspace regression 1","expected":[380,400,224,0,0,98],"passed":false},{"actual":[380,400,560,40,200,104],"check":"workspace regression 2","expected":[380,400,560,40,200,98],"passed":false},{"actual":[420,400,224,40,0,64],"check":"workspace regression 3","expected":[420,400,224,40,0,58],"passed":false},{"actual":[380,400,224,40,0,104],"check":"workspace regression 4","expected":[380,400,224,40,0,104],"passed":true},{"actual":[380,400,0,40,0,104],"check":"workspace regression 5","expected":[380,400,0,40,0,98],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [380, 400, 224, 40, 0, 104], \"expected\": [380, 400, 224, 40, 0, 98], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [380, 400, 224, 0, 0, 104], \"expected\": [380, 400, 224, 0, 0, 98], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [380, 400, 560, 40, 200, 104], \"expected\": [380, 400, 560, 40, 200, 98], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [420, 400, 224, 40, 0, 64], \"expected\": [420, 400, 224, 40, 0, 58], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [380, 400, 224, 40, 0, 104], \"expected\": [380, 400, 224, 40, 0, 104], \"passed\": true}, {\"check\": \"workspace regression 5\", \"actual\": [380, 400, 0, 40, 0, 104], \"expected\": [380, 400, 0, 40, 0, 98], \"passed\": false}], \"passed\": false}\n"},"broken":{"elapsed_ms":45.706,"exit_code":1,"observations":[{"actual":[380,400,224,40,0,478],"check":"workspace regression 0","expected":[380,400,224,40,0,98],"passed":false},{"actual":[380,400,224,0,0,478],"check":"workspace regression 1","expected":[380,400,224,0,0,98],"passed":false},{"actual":[380,400,560,40,200,478],"check":"workspace regression 2","expected":[380,400,560,40,200,98],"passed":false},{"actual":[420,400,224,40,0,478],"check":"workspace regression 3","expected":[420,400,224,40,0,58],"passed":false},{"actual":[380,400,224,40,0,484],"check":"workspace regression 4","expected":[380,400,224,40,0,104],"passed":false},{"actual":[380,400,0,40,0,478],"check":"workspace regression 5","expected":[380,400,0,40,0,98],"passed":false}],"passed":false,"stderr":"","stdout":"{\"observations\": [{\"check\": \"workspace regression 0\", \"actual\": [380, 400, 224, 40, 0, 478], \"expected\": [380, 400, 224, 40, 0, 98], \"passed\": false}, {\"check\": \"workspace regression 1\", \"actual\": [380, 400, 224, 0, 0, 478], \"expected\": [380, 400, 224, 0, 0, 98], \"passed\": false}, {\"check\": \"workspace regression 2\", \"actual\": [380, 400, 560, 40, 200, 478], \"expected\": [380, 400, 560, 40, 200, 98], \"passed\": false}, {\"check\": \"workspace regression 3\", \"actual\": [420, 400, 224, 40, 0, 478], \"expected\": [420, 400, 224, 40, 0, 58], \"passed\": false}, {\"check\": \"workspace regression 4\", \"actual\": [380, 400, 224, 40, 0, 484], \"expected\": [380, 400, 224, 40, 0, 104], \"passed\": false}, {\"check\": \"workspace regression 5\", \"actual\": [380, 400, 0, 40, 0, 478], \"expected\": [380, 400, 0, 40, 0, 98], \"passed\": false}], \"passed\": false}\n"}},"member_only":{"stages":["fixed"],"fields":["implementations.fixed","verification.fixed","harness","repair"],"note":"The verified repair, its recorded checks, the repair description, and the scoring harness are available to members."}}