eu-studio measure covers all of it; never hand-write Playwright or
PIL scripts for these.
The seven modes
Real
sections output against a production build:
pixeldiff: the photometric fidelity score
Anchors measure geometry; pixeldiff measures appearance: gradients, art, type ink.Exclusion masks
--exclude y0-y1:why drops reference-coordinate row bands from the mean and the
worst-band scan, reporting them separately, so the score reflects what the build
was actually asked to match. The why label is mandatory context for
whoever reads the score.
This exists because of a real incident: an agent spent eight minutes chasing a
score of 8 that was mathematically unreachable; the worst band (61.6) was a
deviation the brief itself mandated, and the gate had no way to know. Mask the
mandated deviations, then chase the score.
bench: scoring whole scenario runs
For repeatable evaluation of agent builds,eu-studio bench scores a scenario
directory (reference render, anchors with presence floors and paint bands, a
brief template) by running geometric verify plus photometric pixeldiff, and
appends one record per run to runs.jsonl. bench compare tabulates runs. See
eu-studio bench for the scenario layout.
Next
Recipe: clone a site
The measurement modes assembled into the faithful-rebuild flow.
Verify
The structural and interaction gates.