Research notebook

Why normalized clicks miss fixed-margin controls notebook

Edit a Python cell and run it here. Your code runs in this browser tab; the notebook runtime and packages are served by this site.

Python starts when you choose Run.

Why normalized clicks miss fixed-margin controls

A viewport-relative point and a right-anchored control obey different transformations. Target width decides when that difference becomes a miss.

Pure geometry stress test; element positions are oracle inputs, not tested visual grounding.

Python · cell 1
proportional pixel hits=5/25 mean_error=153.2px
proportional normalized hits=25/25 mean_error=0.0px
proportional element hits=25/25 mean_error=0.0px
right_margin pixel hits=5/25 mean_error=297.9px
right_margin normalized hits=5/25 mean_error=21.0px
right_margin element hits=25/25 mean_error=0.0px
Right-margin normalized hit counts by half-width: [{'half_width': 5, 'hits': 5}, {'half_width': 10, 'hits': 5}, {'half_width': 20, 'hits': 15}, {'half_width': 40, 'hits': 21}, {'half_width': 80, 'hits': 25}]
Python · cell 2

Python runs locally in this page. Saved results and figures are visible before execution.

Download full experiment notebook