PCEval: A Benchmark for Evaluating Physical Computing Capabilities of Large Language Models
Inpyo Song, Eunji Jeon, Jangwon Lee
TL;DR
PCEval addresses the gap in evaluating large language models within hardware-dependent contexts by introducing a fully automated benchmark for physical computing. It decomposes tasks into four generation dimensions—logical circuit, physical circuit, code from logical circuits, and code from physical circuits—and validates outputs in a simulated Arduino environment to separate reasoning from implementation. The study shows LLMs perform comparatively well on code and logical circuit design but struggle with physically viable breadboard layouts, especially under higher complexity, with pin conflicts and breadboard-by-pass errors as dominant failure modes. Educational usability analyses and focus groups further reveal that AI tools must serve as scaffolding for learning, not just answer producers, demanding pedagogically aware interfaces and guidance. Overall, PCEval provides a scalable, automated foundation for advancing AI-assisted physical computing in classrooms and beyond, while outlining concrete paths to improve model understanding of physical constraints and practical hardware integration.
Abstract
Large Language Models (LLMs) have demonstrated remarkable capabilities across various domains, including software development, education, and technical assistance. Among these, software development is one of the key areas where LLMs are increasingly adopted. However, when hardware constraints are considered-for instance, in physical computing, where software must interact with and control physical hardware -their effectiveness has not been fully explored. To address this gap, we introduce \textsc{PCEval} (Physical Computing Evaluation), the first benchmark in physical computing that enables a fully automatic evaluation of the capabilities of LLM in both the logical and physical aspects of the projects, without requiring human assessment. Our evaluation framework assesses LLMs in generating circuits and producing compatible code across varying levels of project complexity. Through comprehensive testing of 13 leading models, \textsc{PCEval} provides the first reproducible and automatically validated empirical assessment of LLMs' ability to reason about fundamental hardware implementation constraints within a simulation environment. Our findings reveal that while LLMs perform well in code generation and logical circuit design, they struggle significantly with physical breadboard layout creation, particularly in managing proper pin connections and avoiding circuit errors. \textsc{PCEval} advances our understanding of AI assistance in hardware-dependent computing environments and establishes a foundation for developing more effective tools to support physical computing education.
