FAILURE MAP
← Case archive

FA-36606 / Tab interfaces / Open access

Panel viewport transform: strip subtracted y · case 01

The tab workspace reports an incorrect strip subtracted y.

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

ROOT CAUSE

The strip subtracted y decision uses x['py']-x['pane_y'] instead of x['py']-x['pane_y']-x['strip'].

VERIFIED REPAIR

Use the stipulated workspace rule: x['py']-x['pane_y']-x['strip'].

Unsuccessful approach: The partial repair x['py']-x['strip'] still violates a workspace boundary or normal case.

Case contract

An embedded tab panel reports content coordinates after subtracting pane origin and strip height, dividing by zoom, then adding that view scroll offsets.

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['px']-x['pane_x']
    r1 = x['py']-x['pane_y']
    r2 = (x['px']-x['pane_x'])*100//x['zoom']+x['scroll_x']
    r3 = (x['py']-x['pane_y']-x['strip'])*100//x['zoom']+x['scroll_y']
    r4 = x['panel_width']*100//x['zoom']
    r5 = (x['panel_height']-x['strip'])*100//x['zoom']
    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: [({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 180, 125, 160, 200, 135]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 100, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 180, 240, 250, 400, 270]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 400, 'panel_height': 300}, [230, 180, 115, 90, 200, 135]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 0, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 210, 125, 175, 200, 150]), ({'px': 330, 'py': 260, 'pane_x': 0, 'pane_y': 0, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [330, 230, 175, 185, 200, 135]), ({'px': 100, 'py': 80, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [0, 0, 10, 70, 200, 135])], 2: [({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 360, 135, 230, 200, 135]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 200, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 360, 250, 320, 400, 270]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 800, 'panel_height': 600}, [460, 360, 115, 90, 200, 135]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 0, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 420, 135, 245, 200, 150]), ({'px': 660, 'py': 520, 'pane_x': 0, 'pane_y': 0, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [660, 460, 185, 255, 200, 135]), ({'px': 200, 'py': 160, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [0, 0, 20, 140, 200, 135])], 3: [({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 145, 300, 200, 135]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 300, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 260, 390, 400, 270]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 115, 90, 200, 135]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 0, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 630, 145, 315, 200, 150]), ({'px': 990, 'py': 780, 'pane_x': 0, 'pane_y': 0, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [990, 690, 195, 325, 200, 135]), ({'px': 300, 'py': 240, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [0, 0, 30, 210, 200, 135])], 4: [({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 155, 370, 200, 135]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 400, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 270, 460, 400, 270]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 115, 90, 200, 135]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 0, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 840, 155, 385, 200, 150]), ({'px': 1320, 'py': 1040, 'pane_x': 0, 'pane_y': 0, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [1320, 920, 205, 395, 200, 135]), ({'px': 400, 'py': 320, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [0, 0, 40, 280, 200, 135])], 5: [({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 165, 440, 200, 135]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 500, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 280, 530, 400, 270]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 115, 90, 200, 135]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 0, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 1050, 165, 455, 200, 150]), ({'px': 1650, 'py': 1300, 'pane_x': 0, 'pane_y': 0, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1650, 1150, 215, 465, 200, 135]), ({'px': 500, 'py': 400, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [0, 0, 50, 350, 200, 135])]}
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[230, 210, 125, 160, 200, 135][230, 180, 125, 160, 200, 135]Failed
workspace regression 1[230, 210, 240, 250, 400, 270][230, 180, 240, 250, 400, 270]Failed
workspace regression 2[230, 210, 115, 90, 200, 135][230, 180, 115, 90, 200, 135]Failed
workspace regression 3[230, 210, 125, 175, 200, 150][230, 210, 125, 175, 200, 150]Passed
workspace regression 4[330, 260, 175, 185, 200, 135][330, 230, 175, 185, 200, 135]Failed
workspace regression 5[0, 30, 10, 70, 200, 135][0, 0, 10, 70, 200, 135]Failed

SHA-256 / 4d4831a748f27f663d398eb3a4ec7d0dbd299ba224312fd2e675a2a4f120a494

2 / The unsuccessful fix

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

N = 1
observations = []
def solve(x):
    r0 = x['px']-x['pane_x']
    r1 = x['py']-x['strip']
    r2 = (x['px']-x['pane_x'])*100//x['zoom']+x['scroll_x']
    r3 = (x['py']-x['pane_y']-x['strip'])*100//x['zoom']+x['scroll_y']
    r4 = x['panel_width']*100//x['zoom']
    r5 = (x['panel_height']-x['strip'])*100//x['zoom']
    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: [({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 180, 125, 160, 200, 135]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 100, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 180, 240, 250, 400, 270]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 400, 'panel_height': 300}, [230, 180, 115, 90, 200, 135]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 0, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 210, 125, 175, 200, 150]), ({'px': 330, 'py': 260, 'pane_x': 0, 'pane_y': 0, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [330, 230, 175, 185, 200, 135]), ({'px': 100, 'py': 80, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [0, 0, 10, 70, 200, 135])], 2: [({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 360, 135, 230, 200, 135]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 200, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 360, 250, 320, 400, 270]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 800, 'panel_height': 600}, [460, 360, 115, 90, 200, 135]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 0, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 420, 135, 245, 200, 150]), ({'px': 660, 'py': 520, 'pane_x': 0, 'pane_y': 0, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [660, 460, 185, 255, 200, 135]), ({'px': 200, 'py': 160, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [0, 0, 20, 140, 200, 135])], 3: [({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 145, 300, 200, 135]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 300, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 260, 390, 400, 270]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 115, 90, 200, 135]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 0, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 630, 145, 315, 200, 150]), ({'px': 990, 'py': 780, 'pane_x': 0, 'pane_y': 0, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [990, 690, 195, 325, 200, 135]), ({'px': 300, 'py': 240, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [0, 0, 30, 210, 200, 135])], 4: [({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 155, 370, 200, 135]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 400, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 270, 460, 400, 270]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 115, 90, 200, 135]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 0, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 840, 155, 385, 200, 150]), ({'px': 1320, 'py': 1040, 'pane_x': 0, 'pane_y': 0, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [1320, 920, 205, 395, 200, 135]), ({'px': 400, 'py': 320, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [0, 0, 40, 280, 200, 135])], 5: [({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 165, 440, 200, 135]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 500, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 280, 530, 400, 270]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 115, 90, 200, 135]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 0, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 1050, 165, 455, 200, 150]), ({'px': 1650, 'py': 1300, 'pane_x': 0, 'pane_y': 0, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1650, 1150, 215, 465, 200, 135]), ({'px': 500, 'py': 400, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [0, 0, 50, 350, 200, 135])]}
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[230, 230, 125, 160, 200, 135][230, 180, 125, 160, 200, 135]Failed
workspace regression 1[230, 230, 240, 250, 400, 270][230, 180, 240, 250, 400, 270]Failed
workspace regression 2[230, 230, 115, 90, 200, 135][230, 180, 115, 90, 200, 135]Failed
workspace regression 3[230, 260, 125, 175, 200, 150][230, 210, 125, 175, 200, 150]Failed
workspace regression 4[330, 230, 175, 185, 200, 135][330, 230, 175, 185, 200, 135]Passed
workspace regression 5[0, 50, 10, 70, 200, 135][0, 0, 10, 70, 200, 135]Failed

SHA-256 / 9d089639c4e0f6bf1782c0232c2eecb40e7384c63089ca40f2457aba8c58a4bb

3 / The verified repair

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

N = 1
observations = []
def solve(x):
    r0 = x['px']-x['pane_x']
    r1 = x['py']-x['pane_y']-x['strip']
    r2 = (x['px']-x['pane_x'])*100//x['zoom']+x['scroll_x']
    r3 = (x['py']-x['pane_y']-x['strip'])*100//x['zoom']+x['scroll_y']
    r4 = x['panel_width']*100//x['zoom']
    r5 = (x['panel_height']-x['strip'])*100//x['zoom']
    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: [({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 180, 125, 160, 200, 135]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 100, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 180, 240, 250, 400, 270]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 400, 'panel_height': 300}, [230, 180, 115, 90, 200, 135]), ({'px': 330, 'py': 260, 'pane_x': 100, 'pane_y': 50, 'strip': 0, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [230, 210, 125, 175, 200, 150]), ({'px': 330, 'py': 260, 'pane_x': 0, 'pane_y': 0, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [330, 230, 175, 185, 200, 135]), ({'px': 100, 'py': 80, 'pane_x': 100, 'pane_y': 50, 'strip': 30, 'zoom': 200, 'scroll_x': 10, 'scroll_y': 70, 'panel_width': 400, 'panel_height': 300}, [0, 0, 10, 70, 200, 135])], 2: [({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 360, 135, 230, 200, 135]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 200, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 360, 250, 320, 400, 270]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 800, 'panel_height': 600}, [460, 360, 115, 90, 200, 135]), ({'px': 660, 'py': 520, 'pane_x': 200, 'pane_y': 100, 'strip': 0, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [460, 420, 135, 245, 200, 150]), ({'px': 660, 'py': 520, 'pane_x': 0, 'pane_y': 0, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [660, 460, 185, 255, 200, 135]), ({'px': 200, 'py': 160, 'pane_x': 200, 'pane_y': 100, 'strip': 60, 'zoom': 400, 'scroll_x': 20, 'scroll_y': 140, 'panel_width': 800, 'panel_height': 600}, [0, 0, 20, 140, 200, 135])], 3: [({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 145, 300, 200, 135]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 300, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 260, 390, 400, 270]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 1200, 'panel_height': 900}, [690, 540, 115, 90, 200, 135]), ({'px': 990, 'py': 780, 'pane_x': 300, 'pane_y': 150, 'strip': 0, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [690, 630, 145, 315, 200, 150]), ({'px': 990, 'py': 780, 'pane_x': 0, 'pane_y': 0, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [990, 690, 195, 325, 200, 135]), ({'px': 300, 'py': 240, 'pane_x': 300, 'pane_y': 150, 'strip': 90, 'zoom': 600, 'scroll_x': 30, 'scroll_y': 210, 'panel_width': 1200, 'panel_height': 900}, [0, 0, 30, 210, 200, 135])], 4: [({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 155, 370, 200, 135]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 400, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 270, 460, 400, 270]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 1600, 'panel_height': 1200}, [920, 720, 115, 90, 200, 135]), ({'px': 1320, 'py': 1040, 'pane_x': 400, 'pane_y': 200, 'strip': 0, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [920, 840, 155, 385, 200, 150]), ({'px': 1320, 'py': 1040, 'pane_x': 0, 'pane_y': 0, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [1320, 920, 205, 395, 200, 135]), ({'px': 400, 'py': 320, 'pane_x': 400, 'pane_y': 200, 'strip': 120, 'zoom': 800, 'scroll_x': 40, 'scroll_y': 280, 'panel_width': 1600, 'panel_height': 1200}, [0, 0, 40, 280, 200, 135])], 5: [({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 165, 440, 200, 135]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 500, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 280, 530, 400, 270]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 0, 'scroll_y': 0, 'panel_width': 2000, 'panel_height': 1500}, [1150, 900, 115, 90, 200, 135]), ({'px': 1650, 'py': 1300, 'pane_x': 500, 'pane_y': 250, 'strip': 0, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1150, 1050, 165, 455, 200, 150]), ({'px': 1650, 'py': 1300, 'pane_x': 0, 'pane_y': 0, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [1650, 1150, 215, 465, 200, 135]), ({'px': 500, 'py': 400, 'pane_x': 500, 'pane_y': 250, 'strip': 150, 'zoom': 1000, 'scroll_x': 50, 'scroll_y': 350, 'panel_width': 2000, 'panel_height': 1500}, [0, 0, 50, 350, 200, 135])]}
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[230, 180, 125, 160, 200, 135][230, 180, 125, 160, 200, 135]Passed
workspace regression 1[230, 180, 240, 250, 400, 270][230, 180, 240, 250, 400, 270]Passed
workspace regression 2[230, 180, 115, 90, 200, 135][230, 180, 115, 90, 200, 135]Passed
workspace regression 3[230, 210, 125, 175, 200, 150][230, 210, 125, 175, 200, 150]Passed
workspace regression 4[330, 230, 175, 185, 200, 135][330, 230, 175, 185, 200, 135]Passed
workspace regression 5[0, 0, 10, 70, 200, 135][0, 0, 10, 70, 200, 135]Passed

SHA-256 / 01e35628d476dd596d5016234d79e235c1f87ecb5b8c54a73009b1b51aba3833

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:53.039976+00:00.

Case digest / 37adaf8516e2ca4305a34ef6a244961b75b0efad52589181b346289a71416735