File size: 3,583 Bytes
12d4ce8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
---
license: mit
task_categories:
- text-generation
language:
- en
tags:
- pcb
- schematic-design
- eda
- code-synthesis
- llm-benchmark
- hardware-design
- skidl
pretty_name: PCBSchemaGen Benchmarks (PCBBench + Open-Schematics-Eval)
size_categories:
- n<1K
configs:
- config_name: pcbbench
  data_files:
  - split: test
    path: pcbbench/pcbbench.jsonl
- config_name: open_schematics
  data_files:
  - split: test
    path: open_schematics/open_schematics.jsonl
---

# PCBSchemaGen Benchmarks

Two benchmark suites for **LLM-driven PCB schematic synthesis**, from the paper
[*PCBSchemaGen: Reward-Guided LLM Code Synthesis for Printed Circuit Board (PCB) Schematic Design with Structured Verification*](https://arxiv.org/abs/2602.00510).

Correctness in this domain is **not** defined by unit tests: there are no per-task golden references,
and SPICE does not validate schematic-level correctness. Instead, each task is scored by a
**deterministic structural verifier** against real-IC pin- and topology-level constraints
(no LLM, no API key, no cached results). The verifier and knowledge graphs live in the
[GitHub repository](https://github.com/HZou9/PCBSchemaGen_v2).

## Suites

| Config | Tasks | Easy / Medium / Hard | Real ICs | Domains |
|---|---|---|---|---|
| `pcbbench` | 62 | 17 / 28 / 17 | 41 commercial | 22 |
| `open_schematics` | 165 | 67 / 63 / 35 | 439 commercial | 22 |
| **Total** | **227** | — | 480 | 22 |

## Load

```python
from datasets import load_dataset

pcbbench = load_dataset("Hzou9/PCBSchemaGen-Benchmarks", "pcbbench", split="test")
ose      = load_dataset("Hzou9/PCBSchemaGen-Benchmarks", "open_schematics", split="test")
print(pcbbench[0])
```

## Fields

Both suites share these 10 core fields:

| Field | Description |
|---|---|
| `id` | Task identifier |
| `level` | Difficulty: `Easy` / `Medium` / `Hard` |
| `type` | Circuit type (e.g. Sensing, Power, Digital) |
| `task` | Natural-language design specification |
| `input_nodes` | Required input net(s) |
| `output_nodes` | Required output net(s) |
| `input_voltage` | Input voltage / range |
| `output_voltage` | Output voltage / range |
| `components` | Required component set (real ICs and/or passives) |
| `sub_module_name` | Canonical sub-module name for the target circuit |

`open_schematics` additionally carries two optional ground-truth fields, present on a subset
(20/165) of tasks and `null` elsewhere:

| Field | Description |
|---|---|
| `n_gt_components` | Ground-truth component count for the reference schematic |
| `gt_component_types` | Number of distinct ground-truth component types |

## Evaluation

A candidate is a SKiDL (Python) schematic-generation program. Run it, then score the resulting
schematic with the deterministic 5-layer verifier in the GitHub repo (`framework/topo/`), which
checks pin-level assignments and topology against constraints induced from real IC datasheets.
See the repo README for the runner and per-task configuration.

## License

MIT — see `LICENSE`. © 2026 Huanghaohe Zou, Peng Han, Emad Nazerian, Mafu Zhang, Zhicheng Guo, Alex Q. Huang.

## Citation

If you use PCBBench or Open-Schematics-Eval, please cite:

```bibtex
@article{zou2026pcbschemagen,
  title   = {PCBSchemaGen: Reward-Guided LLM Code Synthesis for Printed Circuit Board (PCB) Schematic Design with Structured Verification},
  author  = {Zou, Huanghaohe and Han, Peng and Nazerian, Emad and Zhang, Mafu and Guo, Zhicheng and Huang, Alex Q.},
  journal = {arXiv preprint arXiv:2602.00510},
  year    = {2026},
  url     = {https://arxiv.org/abs/2602.00510}
}
```