FAILURE MAP
← Case archive

FA-35591 / Tab interfaces / Open access

Strip reveal: leading obscured · case 01

The tab workspace reports an incorrect leading obscured.

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

ROOT CAUSE

The leading obscured decision uses x['left']<x['scroll'] instead of x['left']<x['scroll']+x['pinned'].

THE FAILURE

The leading obscured decision uses x['left']<x['scroll'] instead of x['left']<x['scroll']+x['pinned'].

Unsuccessful approach: The partial repair x['left']<=x['scroll']+x['pinned'] still violates a workspace boundary or normal case.

Case contract

Reveal a tab in a horizontally scrolled strip using its full bounds; account for pinned strip width and clamp to content scroll limits.

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 = x['scroll']+x['pinned']
    r1 = x['scroll']+x['viewport']
    r2 = x['left']<x['scroll']
    r3 = x['right']>x['scroll']+x['viewport']
    r4 = max(0,x['total']-x['viewport'])
    r5 = max(0,min(x['total']-x['viewport'], x['left']-x['pinned'] if x['left']<x['scroll']+x['pinned'] else max(x['scroll'],x['right']-x['viewport'])))
    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: [({'left': 130, 'right': 210, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, False, True, 300, 110]), ({'left': 80, 'right': 110, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, True, False, 300, 60]), ({'left': 110, 'right': 140, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, True, False, 300, 90]), ({'left': 0, 'right': 30, 'scroll': 0, 'viewport': 100, 'pinned': 20, 'total': 400}, [20, 100, True, False, 300, 0]), ({'left': 350, 'right': 400, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, False, True, 300, 300]), ({'left': 130, 'right': 210, 'scroll': 100, 'viewport': 100, 'pinned': 0, 'total': 400}, [100, 200, False, True, 300, 110]), ({'left': 120, 'right': 200, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, False, False, 300, 100])], 2: [({'left': 260, 'right': 420, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, False, True, 600, 220]), ({'left': 160, 'right': 220, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, True, False, 600, 120]), ({'left': 220, 'right': 280, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, True, False, 600, 180]), ({'left': 0, 'right': 60, 'scroll': 0, 'viewport': 200, 'pinned': 40, 'total': 800}, [40, 200, True, False, 600, 0]), ({'left': 700, 'right': 800, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, False, True, 600, 600]), ({'left': 260, 'right': 420, 'scroll': 200, 'viewport': 200, 'pinned': 0, 'total': 800}, [200, 400, False, True, 600, 220]), ({'left': 240, 'right': 400, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, False, False, 600, 200])], 3: [({'left': 390, 'right': 630, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, False, True, 900, 330]), ({'left': 240, 'right': 330, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, True, False, 900, 180]), ({'left': 330, 'right': 420, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, True, False, 900, 270]), ({'left': 0, 'right': 90, 'scroll': 0, 'viewport': 300, 'pinned': 60, 'total': 1200}, [60, 300, True, False, 900, 0]), ({'left': 1050, 'right': 1200, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, False, True, 900, 900]), ({'left': 390, 'right': 630, 'scroll': 300, 'viewport': 300, 'pinned': 0, 'total': 1200}, [300, 600, False, True, 900, 330]), ({'left': 360, 'right': 600, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, False, False, 900, 300])], 4: [({'left': 520, 'right': 840, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, False, True, 1200, 440]), ({'left': 320, 'right': 440, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, True, False, 1200, 240]), ({'left': 440, 'right': 560, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, True, False, 1200, 360]), ({'left': 0, 'right': 120, 'scroll': 0, 'viewport': 400, 'pinned': 80, 'total': 1600}, [80, 400, True, False, 1200, 0]), ({'left': 1400, 'right': 1600, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, False, True, 1200, 1200]), ({'left': 520, 'right': 840, 'scroll': 400, 'viewport': 400, 'pinned': 0, 'total': 1600}, [400, 800, False, True, 1200, 440]), ({'left': 480, 'right': 800, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, False, False, 1200, 400])], 5: [({'left': 650, 'right': 1050, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, False, True, 1500, 550]), ({'left': 400, 'right': 550, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, True, False, 1500, 300]), ({'left': 550, 'right': 700, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, True, False, 1500, 450]), ({'left': 0, 'right': 150, 'scroll': 0, 'viewport': 500, 'pinned': 100, 'total': 2000}, [100, 500, True, False, 1500, 0]), ({'left': 1750, 'right': 2000, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, False, True, 1500, 1500]), ({'left': 650, 'right': 1050, 'scroll': 500, 'viewport': 500, 'pinned': 0, 'total': 2000}, [500, 1000, False, True, 1500, 550]), ({'left': 600, 'right': 1000, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, False, False, 1500, 500])]}
for i, (inputs, expected) in enumerate(fixtures[N]):
    check("workspace regression "+str(i), solve(inputs), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
workspace regression 0[120, 200, False, True, 300, 110][120, 200, False, True, 300, 110]Passed
workspace regression 1[120, 200, True, False, 300, 60][120, 200, True, False, 300, 60]Passed
workspace regression 2[120, 200, False, False, 300, 90][120, 200, True, False, 300, 90]Failed
workspace regression 3[20, 100, False, False, 300, 0][20, 100, True, False, 300, 0]Failed
workspace regression 4[120, 200, False, True, 300, 300][120, 200, False, True, 300, 300]Passed
workspace regression 5[100, 200, False, True, 300, 110][100, 200, False, True, 300, 110]Passed
workspace regression 6[120, 200, False, False, 300, 100][120, 200, False, False, 300, 100]Passed

SHA-256 / 7a8bc0a8ead6a7d001843d23c265cfd8723947fb21349b36a639ee8aa60dc3c1

2 / The unsuccessful fix

Exit 1
"""Failure Map reference implementation. Python standard library only."""
import json

N = 1
observations = []
def solve(x):
    r0 = x['scroll']+x['pinned']
    r1 = x['scroll']+x['viewport']
    r2 = x['left']<=x['scroll']+x['pinned']
    r3 = x['right']>x['scroll']+x['viewport']
    r4 = max(0,x['total']-x['viewport'])
    r5 = max(0,min(x['total']-x['viewport'], x['left']-x['pinned'] if x['left']<x['scroll']+x['pinned'] else max(x['scroll'],x['right']-x['viewport'])))
    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: [({'left': 130, 'right': 210, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, False, True, 300, 110]), ({'left': 80, 'right': 110, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, True, False, 300, 60]), ({'left': 110, 'right': 140, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, True, False, 300, 90]), ({'left': 0, 'right': 30, 'scroll': 0, 'viewport': 100, 'pinned': 20, 'total': 400}, [20, 100, True, False, 300, 0]), ({'left': 350, 'right': 400, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, False, True, 300, 300]), ({'left': 130, 'right': 210, 'scroll': 100, 'viewport': 100, 'pinned': 0, 'total': 400}, [100, 200, False, True, 300, 110]), ({'left': 120, 'right': 200, 'scroll': 100, 'viewport': 100, 'pinned': 20, 'total': 400}, [120, 200, False, False, 300, 100])], 2: [({'left': 260, 'right': 420, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, False, True, 600, 220]), ({'left': 160, 'right': 220, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, True, False, 600, 120]), ({'left': 220, 'right': 280, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, True, False, 600, 180]), ({'left': 0, 'right': 60, 'scroll': 0, 'viewport': 200, 'pinned': 40, 'total': 800}, [40, 200, True, False, 600, 0]), ({'left': 700, 'right': 800, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, False, True, 600, 600]), ({'left': 260, 'right': 420, 'scroll': 200, 'viewport': 200, 'pinned': 0, 'total': 800}, [200, 400, False, True, 600, 220]), ({'left': 240, 'right': 400, 'scroll': 200, 'viewport': 200, 'pinned': 40, 'total': 800}, [240, 400, False, False, 600, 200])], 3: [({'left': 390, 'right': 630, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, False, True, 900, 330]), ({'left': 240, 'right': 330, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, True, False, 900, 180]), ({'left': 330, 'right': 420, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, True, False, 900, 270]), ({'left': 0, 'right': 90, 'scroll': 0, 'viewport': 300, 'pinned': 60, 'total': 1200}, [60, 300, True, False, 900, 0]), ({'left': 1050, 'right': 1200, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, False, True, 900, 900]), ({'left': 390, 'right': 630, 'scroll': 300, 'viewport': 300, 'pinned': 0, 'total': 1200}, [300, 600, False, True, 900, 330]), ({'left': 360, 'right': 600, 'scroll': 300, 'viewport': 300, 'pinned': 60, 'total': 1200}, [360, 600, False, False, 900, 300])], 4: [({'left': 520, 'right': 840, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, False, True, 1200, 440]), ({'left': 320, 'right': 440, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, True, False, 1200, 240]), ({'left': 440, 'right': 560, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, True, False, 1200, 360]), ({'left': 0, 'right': 120, 'scroll': 0, 'viewport': 400, 'pinned': 80, 'total': 1600}, [80, 400, True, False, 1200, 0]), ({'left': 1400, 'right': 1600, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, False, True, 1200, 1200]), ({'left': 520, 'right': 840, 'scroll': 400, 'viewport': 400, 'pinned': 0, 'total': 1600}, [400, 800, False, True, 1200, 440]), ({'left': 480, 'right': 800, 'scroll': 400, 'viewport': 400, 'pinned': 80, 'total': 1600}, [480, 800, False, False, 1200, 400])], 5: [({'left': 650, 'right': 1050, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, False, True, 1500, 550]), ({'left': 400, 'right': 550, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, True, False, 1500, 300]), ({'left': 550, 'right': 700, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, True, False, 1500, 450]), ({'left': 0, 'right': 150, 'scroll': 0, 'viewport': 500, 'pinned': 100, 'total': 2000}, [100, 500, True, False, 1500, 0]), ({'left': 1750, 'right': 2000, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, False, True, 1500, 1500]), ({'left': 650, 'right': 1050, 'scroll': 500, 'viewport': 500, 'pinned': 0, 'total': 2000}, [500, 1000, False, True, 1500, 550]), ({'left': 600, 'right': 1000, 'scroll': 500, 'viewport': 500, 'pinned': 100, 'total': 2000}, [600, 1000, False, False, 1500, 500])]}
for i, (inputs, expected) in enumerate(fixtures[N]):
    check("workspace regression "+str(i), solve(inputs), expected)
print(json.dumps({"observations": observations, "passed": all(x["passed"] for x in observations)}, ensure_ascii=False))
raise SystemExit(0 if all(x["passed"] for x in observations) else 1)
Boundary fixtureActualExpectedOutcome
workspace regression 0[120, 200, False, True, 300, 110][120, 200, False, True, 300, 110]Passed
workspace regression 1[120, 200, True, False, 300, 60][120, 200, True, False, 300, 60]Passed
workspace regression 2[120, 200, True, False, 300, 90][120, 200, True, False, 300, 90]Passed
workspace regression 3[20, 100, True, False, 300, 0][20, 100, True, False, 300, 0]Passed
workspace regression 4[120, 200, False, True, 300, 300][120, 200, False, True, 300, 300]Passed
workspace regression 5[100, 200, False, True, 300, 110][100, 200, False, True, 300, 110]Passed
workspace regression 6[120, 200, True, False, 300, 100][120, 200, False, False, 300, 100]Failed

SHA-256 / ad5e330b46ecf416392a442f539766dab96da7de061ed7198a2e1ff8398b3117

HELD IN THE MEMBER ARCHIVE

The verified repair and its recorded checks are member-only.

This mechanism has 7 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:43.264832+00:00.

Case digest / 3ae62cdc0daaf1d661bf88c89699f65adf153f3c403b27a7df89348c1b620828