File size: 685 Bytes
1ca6e2c
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
"""VybBench scoring: standalone, offline, no model APIs.

Every number in the benchmark recomputes from the released artifacts alone:

* fonts  -- IoU against a programmatic (PIL) render of the pinned font file,
            after crop/scale alignment (``fonts.font_mismatch``).
* colors -- max per-channel delta of the produced rectangle against the
            requested hex (``colors.color_error``).
* edits  -- fraction of pixels changed at all between the shared starting
            design and the result (``edits.whole_change``), with the recorded
            LLM reviewer's acceptance rate reported alongside.

``python -m scoring`` recomputes everything from ``outputs/``.
"""