FA-36626 / Tab interfaces / Open access
Panel viewport transform: visible content height · case 01
The tab workspace reports an incorrect visible content height.
ROOT CAUSE
The visible content height decision uses x['panel_height']*100//x['zoom'] instead of (x['panel_height']-x['strip'])*100//x['zoom'].
VERIFIED REPAIR
Use the stipulated workspace rule: (x['panel_height']-x['strip'])*100//x['zoom'].
Unsuccessful approach: The partial repair (x['panel_height']-x['strip'])*x['zoom']//100 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']-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']*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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| workspace regression 0 | [230, 180, 125, 160, 200, 150] | [230, 180, 125, 160, 200, 135] | Failed |
| workspace regression 1 | [230, 180, 240, 250, 400, 300] | [230, 180, 240, 250, 400, 270] | Failed |
| workspace regression 2 | [230, 180, 115, 90, 200, 150] | [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, 230, 175, 185, 200, 150] | [330, 230, 175, 185, 200, 135] | Failed |
| workspace regression 5 | [0, 0, 10, 70, 200, 150] | [0, 0, 10, 70, 200, 135] | Failed |
SHA-256 / e3e5d28ef8b54abd50e2b442840b477b13ffc30797fd7d87e3961e4b5bb4f18f
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['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'])*x['zoom']//100
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| workspace regression 0 | [230, 180, 125, 160, 200, 540] | [230, 180, 125, 160, 200, 135] | Failed |
| workspace regression 1 | [230, 180, 240, 250, 400, 270] | [230, 180, 240, 250, 400, 270] | Passed |
| workspace regression 2 | [230, 180, 115, 90, 200, 540] | [230, 180, 115, 90, 200, 135] | Failed |
| workspace regression 3 | [230, 210, 125, 175, 200, 600] | [230, 210, 125, 175, 200, 150] | Failed |
| workspace regression 4 | [330, 230, 175, 185, 200, 540] | [330, 230, 175, 185, 200, 135] | Failed |
| workspace regression 5 | [0, 0, 10, 70, 200, 540] | [0, 0, 10, 70, 200, 135] | Failed |
SHA-256 / ab7af43d513a744be8886a31d4b59819f0051b44a8fe983e56e7c3d612395f48
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 fixture | Actual | Expected | Outcome |
|---|---|---|---|
| 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.214080+00:00.
Case digest / c7a9ac6e1edbffbbc4d7ebee4f5e919582aff8af20cbca1bc83034d5898d3838