dzcoco commited on
Commit
1ca6e2c
·
verified ·
1 Parent(s): 1a1edf7

Add remaining release files

Browse files
CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ # Changelog
2
+
3
+ ## 1.0 (2026-10-20)
4
+
5
+ Initial release: 145 fonts (one pinned word each), 100 colors, 200
6
+ single-instruction edits on shared starting designs. Scoring: font IoU against
7
+ programmatic references with per-case noise floors; max per-channel color
8
+ error; zero-tolerance whole-image change for edits, with an independent
9
+ reviewer's acceptance rate reported alongside.
LICENSE ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Creative Commons Attribution 4.0 International (CC BY 4.0)
2
+
3
+ This dataset (cases, prompts, starting designs, assets, model outputs, judge
4
+ verdicts) is licensed under CC BY 4.0:
5
+ https://creativecommons.org/licenses/by/4.0/
6
+
7
+ The scoring code under scoring/ is licensed under the MIT License:
8
+
9
+ MIT License
10
+
11
+ Permission is hereby granted, free of charge, to any person obtaining a copy
12
+ of this software and associated documentation files (the "Software"), to deal
13
+ in the Software without restriction, including without limitation the rights
14
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
15
+ copies of the Software, and to permit persons to whom the Software is
16
+ furnished to do so, subject to the following conditions:
17
+
18
+ The above copyright notice and this permission notice shall be included in all
19
+ copies or substantial portions of the Software.
20
+
21
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
22
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
23
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
24
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
25
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
26
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
27
+ SOFTWARE.
28
+
29
+ Font files under data/font_cache/ are Google Fonts, each under its own license
30
+ (OFL/Apache/UFL) as published in the google/fonts repository at the pinned
31
+ commit recorded in data/fonts.jsonl.
README.md CHANGED
@@ -1,3 +1,137 @@
1
  ---
2
- license: mit
 
 
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ license: cc-by-4.0
3
+ task_categories:
4
+ - text-to-image
5
+ - image-to-image
6
+ language:
7
+ - en
8
+ tags:
9
+ - benchmark
10
+ - design
11
+ - typography
12
+ - color
13
+ - image-editing
14
+ pretty_name: "VybBench 1.0: Design Fidelity Benchmark"
15
  ---
16
+
17
+ # VybBench 1.0
18
+ **Almost isn't good enough.** VybBench measures how well models maintain
19
+ design fidelity by comparing how effectively they generate specific
20
+ fonts and colors, and perform non-destructive edits.
21
+
22
+ Our dataset consists of 145 fonts, 100 colors, and 200 edits. We have each model
23
+ perform each task three times and score each generation individually.
24
+
25
+ We compare top image generation models:
26
+ ChatGPT Image (gpt-image-2.5-sunburst), Meta Muse, and Recraft v4.1. We also report
27
+ the results for [Vyb 1.0](https://cocolabs.ai/vyb).
28
+
29
+ Full Disclosure: VybBench was built by Coco Labs, the makers of Vyb. The full
30
+ methodology and rationale are in
31
+ [the launch post](https://cocolabs.ai/blog/introducing-vybbench).
32
+
33
+ ## Results
34
+
35
+ ### Font fidelity
36
+ We sample 145 [Google Fonts](https://fonts.google.com). For every font
37
+ we choose a word to generate. We generate that word programmatically
38
+ as well as through model calls. We compute the IoU of the ink between
39
+ the ground truth generation and each model generation. The higher the
40
+ score the better. As each model is allowed
41
+ to scale and place the text individually, we compute the noise floor by
42
+ measuring the IoU of multiple ground truth generations with the same font.
43
+
44
+
45
+ | Model | Mean | Worst 5% of cases |
46
+ |---|---|---|
47
+ | **Vyb 1.0** | **0.90** | **0.78** |
48
+ | ChatGPT Image (`gpt-image-2.5-sunburst`) | 0.76 | 0.28 |
49
+ | Muse (`meta/muse-image`) | 0.51 | 0.18 |
50
+ | Recraft (`v4.1`) | 0.46 | 0.14 |
51
+ | *Measurement noise floor* | *0.94* | *0.88* |
52
+
53
+ ![IoU scores for generating Hazel in Playwrite BE WAL](figures/bench-text.png)
54
+
55
+ *An example from the benchmark. The ground truth is shown as is each model's
56
+ output. Only Vyb generates an output that is close to the ground truth.*
57
+
58
+ ### Color fidelity
59
+ To measure color fidelity, we pick 100 different colors. We ask each model to generate
60
+ a rectangle in the specified color, given as a hex code. We then calculate the
61
+ per-channel error for each of R, G, and B (out of 255) and report the maximum across
62
+ channels.
63
+
64
+
65
+ | Model | Mean | Worst 5% of cases |
66
+ |---|---|---|
67
+ | **Vyb 1.0** | **0.0** | **0.0** |
68
+ | ChatGPT Image (`gpt-image-2.5-sunburst`) | 3.9 | 8 |
69
+ | Muse (`meta/muse-image`) | 5.7 | 10 |
70
+ | Recraft (`v4.1`) | 27.2 | 56 |
71
+
72
+ Here we see that only Vyb reproduces every requested color exactly.
73
+
74
+ ### Edit fidelity
75
+
76
+ We provide every model the same starting design and the same edit prompt.
77
+ For Vyb, the design is provided in the layered SVG format it accepts. For
78
+ the leading image generation models, the SVG is rendered and provided in
79
+ the PNG format they accept.
80
+
81
+ For each model generation, we measure the fraction of pixels in the image
82
+ that were changed and have an LLM judge score whether the edit was performed
83
+ (acceptance rate).
84
+
85
+ We report the fraction of pixels changed (lower is better) and acceptance
86
+ rate (higher is better).
87
+
88
+ | Model | Pixels changed, mean | Worst 5% of cases | Acceptance rate |
89
+ |---|---|---|---|
90
+ | **Vyb 1.0** | **7.3%** | **31.4%** | 99.2% |
91
+ | ChatGPT Image (`gpt-image-2.5-sunburst`) | 95.5% | 99.7% | **100%** |
92
+ | Muse (`meta/muse-image`) | 91.9% | 99.6% | 98.0% |
93
+ | Recraft (`v4.1`) | 98.9% | 100% | 51.2% |
94
+
95
+
96
+ ![Edit example of changing text color](figures/bench-edit.png)
97
+
98
+ *An example of an edit where the request is to change the color
99
+ of the "30% OFF" text to coral pink. Models other than Vyb change unrelated parts of the image.*
100
+
101
+ ## Reproduce
102
+
103
+ To judge new outputs, you need a Gemini API key.
104
+
105
+ ```
106
+ pip install google-genai
107
+ GEMINI_API_KEY=... python -m scoring.judge
108
+ ```
109
+
110
+ You can rescore by running:
111
+
112
+ ```
113
+ pip install numpy pillow scikit-image
114
+ python -m scoring
115
+ ```
116
+
117
+ All designs are synthetic. They contain fictional brands with AI-generated
118
+ imagery.
119
+
120
+ Run: October 2026.
121
+
122
+ ## Add your model
123
+
124
+ We are happy to include your model. Create a discussion on this dataset with
125
+ your model's outputs (follow the `outputs/` layout, provide three attempts per
126
+ case).
127
+
128
+ ## Citation
129
+
130
+ ```bibtex
131
+ @misc{vybbench2026,
132
+ title = {VybBench 1.0: A Design Fidelity Benchmark},
133
+ author = {{Coco Labs}},
134
+ year = {2026},
135
+ url = {https://huggingface.co/datasets/cocolabs/vybbench}
136
+ }
137
+ ```
prompts/color.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A plain white (#FFFFFF) image with a single solid rectangle of {hex} in the middle. No border, no shadow, no texture, no gradient.
prompts/font.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ A plain white image. The word "{word}" in solid black, centered, in the font {family} {variant}. Nothing else in the image.
prompts/ours_aspect_hint.txt ADDED
@@ -0,0 +1,2 @@
 
 
 
1
+ Appended to the prompt for the Vyb arm only (its API has no size parameter; a stated ratio is its equivalent):
2
+ (1:1 aspect ratio)
scores.json ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "fonts": {
3
+ "ours": {
4
+ "mean": 0.9030490100136523,
5
+ "median": 0.9258799043210836,
6
+ "p20": 0.8745755467432859,
7
+ "p10": 0.832307584711683,
8
+ "p5": 0.7770452071394829
9
+ },
10
+ "gpt": {
11
+ "mean": 0.760261184258689,
12
+ "median": 0.8357328688053662,
13
+ "p20": 0.7162267343485618,
14
+ "p10": 0.4515604183123666,
15
+ "p5": 0.2788465144185698
16
+ },
17
+ "muse": {
18
+ "mean": 0.5088765844582986,
19
+ "median": 0.5270965880620131,
20
+ "p20": 0.30399521489013603,
21
+ "p10": 0.22172956995061466,
22
+ "p5": 0.18329736902065374
23
+ },
24
+ "recraft": {
25
+ "mean": 0.4621657925254427,
26
+ "median": 0.47246518672074095,
27
+ "p20": 0.27166478160176655,
28
+ "p10": 0.17692216923835102,
29
+ "p5": 0.14091297333206798
30
+ },
31
+ "noise_floor": {
32
+ "mean": 0.9441404482758621,
33
+ "median": 0.951594,
34
+ "p20": 0.926101,
35
+ "p10": 0.907312,
36
+ "p5": 0.879898
37
+ }
38
+ },
39
+ "colors": {
40
+ "ours": {
41
+ "mean": 0.0,
42
+ "median": 0.0,
43
+ "p80": 0.0,
44
+ "p90": 0.0,
45
+ "p95": 0.0
46
+ },
47
+ "gpt": {
48
+ "mean": 3.9366666666666665,
49
+ "median": 4.0,
50
+ "p80": 5.0,
51
+ "p90": 7.0,
52
+ "p95": 8.0
53
+ },
54
+ "muse": {
55
+ "mean": 5.666666666666667,
56
+ "median": 5.0,
57
+ "p80": 7.0,
58
+ "p90": 9.0,
59
+ "p95": 10.0
60
+ },
61
+ "recraft": {
62
+ "mean": 27.19047619047619,
63
+ "median": 23.0,
64
+ "p80": 40.0,
65
+ "p90": 48.0,
66
+ "p95": 56.0
67
+ }
68
+ },
69
+ "edits": {
70
+ "ours": {
71
+ "mean": 0.0732679820747017,
72
+ "median": 0.026280864197530864,
73
+ "p80": 0.10023619957537155,
74
+ "p90": 0.2635643325617284,
75
+ "p95": 0.3138264746227709,
76
+ "satisfied_rate": 0.9916666666666667
77
+ },
78
+ "gpt": {
79
+ "mean": 0.955290820743786,
80
+ "median": 0.9798226318881986,
81
+ "p80": 0.9928648834019205,
82
+ "p90": 0.9954869684499315,
83
+ "p95": 0.9973703703703704,
84
+ "satisfied_rate": 1.0
85
+ },
86
+ "muse": {
87
+ "mean": 0.9185079350255037,
88
+ "median": 0.9642622599451303,
89
+ "p80": 0.9883641975308642,
90
+ "p90": 0.9940493827160494,
91
+ "p95": 0.9963680997876858,
92
+ "satisfied_rate": 0.98
93
+ },
94
+ "recraft": {
95
+ "mean": 0.9891732617765999,
96
+ "median": 0.9999348690414952,
97
+ "p80": 0.9999986282578875,
98
+ "p90": 1.0,
99
+ "p95": 1.0,
100
+ "satisfied_rate": 0.5116666666666667
101
+ }
102
+ }
103
+ }
scoring/__init__.py ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """VybBench scoring: standalone, offline, no model APIs.
2
+
3
+ Every number in the benchmark recomputes from the released artifacts alone:
4
+
5
+ * fonts -- IoU against a programmatic (PIL) render of the pinned font file,
6
+ after crop/scale alignment (``fonts.font_mismatch``).
7
+ * colors -- max per-channel delta of the produced rectangle against the
8
+ requested hex (``colors.color_error``).
9
+ * edits -- fraction of pixels changed at all between the shared starting
10
+ design and the result (``edits.whole_change``), with the recorded
11
+ LLM reviewer's acceptance rate reported alongside.
12
+
13
+ ``python -m scoring`` recomputes everything from ``outputs/``.
14
+ """