Add ShapeCodeBench dataset card
Browse files
README.md
CHANGED
|
@@ -1,57 +1,68 @@
|
|
| 1 |
---
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
dtype: string
|
| 14 |
-
- name: difficulty
|
| 15 |
-
dtype: string
|
| 16 |
-
- name: seed
|
| 17 |
-
dtype: int64
|
| 18 |
-
- name: image_size
|
| 19 |
-
dtype: int64
|
| 20 |
-
- name: num_shapes
|
| 21 |
-
dtype: int64
|
| 22 |
-
- name: shape_inventory
|
| 23 |
-
struct:
|
| 24 |
-
- name: circle
|
| 25 |
-
dtype: int64
|
| 26 |
-
- name: filled_circle
|
| 27 |
-
dtype: int64
|
| 28 |
-
- name: filled_square
|
| 29 |
-
dtype: int64
|
| 30 |
-
- name: square
|
| 31 |
-
dtype: int64
|
| 32 |
-
- name: ground_truth_program
|
| 33 |
-
dtype: string
|
| 34 |
-
- name: render_config
|
| 35 |
-
struct:
|
| 36 |
-
- name: background_color
|
| 37 |
-
dtype: int64
|
| 38 |
-
- name: canvas_size
|
| 39 |
-
dtype: int64
|
| 40 |
-
- name: foreground_color
|
| 41 |
-
dtype: int64
|
| 42 |
-
- name: image_mode
|
| 43 |
-
dtype: string
|
| 44 |
-
- name: renderer_semantics
|
| 45 |
-
dtype: string
|
| 46 |
-
splits:
|
| 47 |
-
- name: eval
|
| 48 |
-
num_bytes: 425157
|
| 49 |
-
num_examples: 150
|
| 50 |
-
download_size: 408616
|
| 51 |
-
dataset_size: 425157
|
| 52 |
-
configs:
|
| 53 |
-
- config_name: default
|
| 54 |
-
data_files:
|
| 55 |
-
- split: eval
|
| 56 |
-
path: data/eval-*
|
| 57 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
pretty_name: ShapeCodeBench eval_v1
|
| 3 |
+
license: cc-by-4.0
|
| 4 |
+
size_categories:
|
| 5 |
+
- n<1K
|
| 6 |
+
tags:
|
| 7 |
+
- image
|
| 8 |
+
- synthetic
|
| 9 |
+
- benchmark
|
| 10 |
+
- code-generation
|
| 11 |
+
- program-synthesis
|
| 12 |
+
- arxiv:2605.11680
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
| 14 |
+
|
| 15 |
+
# ShapeCodeBench eval_v1
|
| 16 |
+
|
| 17 |
+
This dataset is the frozen `eval_v1` reporting split for
|
| 18 |
+
[ShapeCodeBench](https://github.com/shivamk3r/shape-code-bench), a synthetic
|
| 19 |
+
benchmark for testing whether multimodal models can reconstruct executable
|
| 20 |
+
drawing programs from rendered shape images.
|
| 21 |
+
|
| 22 |
+
It contains 150 grayscale `512x512` PNG images: 50 `easy`, 50 `medium`, and
|
| 23 |
+
50 `hard` examples. Each row includes the rendered image, the canonical
|
| 24 |
+
ShapeCodeBench DSL program that generated it, generation metadata, render
|
| 25 |
+
configuration, and the SHA256 checksum for the source PNG.
|
| 26 |
+
|
| 27 |
+
Zenodo remains the archival release DOI:
|
| 28 |
+
<https://doi.org/10.5281/zenodo.20132286>. This Hugging Face dataset is a
|
| 29 |
+
discoverable and loadable mirror of the frozen evaluation split.
|
| 30 |
+
|
| 31 |
+
## Load
|
| 32 |
+
|
| 33 |
+
```python
|
| 34 |
+
from datasets import load_dataset
|
| 35 |
+
|
| 36 |
+
dataset = load_dataset("shivamk3r/shape-code-bench-eval-v1")
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
## Columns
|
| 40 |
+
|
| 41 |
+
- `image`: rendered target image.
|
| 42 |
+
- `image_file_name`: original path under `data/eval_v1`.
|
| 43 |
+
- `image_sha256`: checksum from `SHA256SUMS`.
|
| 44 |
+
- `sample_id`, `split`, `difficulty`, `seed`: sample identity and generation seed.
|
| 45 |
+
- `image_size`, `num_shapes`, `shape_inventory`: scene summary metadata.
|
| 46 |
+
- `ground_truth_program`: canonical ShapeCodeBench DSL program.
|
| 47 |
+
- `render_config`: deterministic V1 renderer configuration.
|
| 48 |
+
|
| 49 |
+
## Evaluation Hygiene
|
| 50 |
+
|
| 51 |
+
`eval_v1` is a frozen reporting split. Do not tune prompts, adapters, model
|
| 52 |
+
checkpoints, heuristic parameters, or generator settings on this split and then
|
| 53 |
+
report the result as clean held-out performance.
|
| 54 |
+
|
| 55 |
+
For development, generate separate train/dev splits from fresh seeds using the
|
| 56 |
+
ShapeCodeBench repository.
|
| 57 |
+
|
| 58 |
+
## Links
|
| 59 |
+
|
| 60 |
+
- Paper: <https://arxiv.org/abs/2605.11680>
|
| 61 |
+
- GitHub: <https://github.com/shivamk3r/shape-code-bench>
|
| 62 |
+
- Zenodo archived release: <https://doi.org/10.5281/zenodo.20132286>
|
| 63 |
+
- Artifact license: <https://github.com/shivamk3r/shape-code-bench/blob/main/LICENSE-ARTIFACTS.md>
|
| 64 |
+
|
| 65 |
+
## License
|
| 66 |
+
|
| 67 |
+
The generated benchmark dataset is licensed under CC BY 4.0. ShapeCodeBench
|
| 68 |
+
source code is licensed separately under MIT.
|