Manuscript Offprint

arXiv:2610.33448

BoardSafety: AI-Ready Data from Manufacturer Documentation for Development-Board Safety

Linjian Yang, Xinyan Wang, Kunpeng Liu

Linjian Yang

Clemson University

Clemson, SC, USA

linjiay@clemson.edu

Xinyan Wang

Portland State University

Portland, OR, USA

xinyw@pdx.edu

Kunpeng Liu

Clemson University

Clemson, SC, USA

kunpenl@clemson.edu

Abstract—The development of large language models (LLMs) are capable to assist with hardware experiments. In this scenario, this raises a practical question: Can LLMs determine whether a proposed operation is safe for a specific development board? Documented operating limits and safety requirements are board-specific, even across products from the same manufacturer. This variation makes board-specific safety judgments by an LLM difficult to evaluate. To address this problem, we introduce the BoardSafety Benchmark. The benchmark is built from vendor datasheets and hardware guides. For data transformation, these documents are converted into a board-specific safety rule base and are then used to create labeled operating scenarios. Each data item pairs a board and a proposed operation to an applicable safety rule with ground-truth label, indicating the level of safety. The categorized level for each operation includes safe, unsafe, or insufficient-info. In addition, the benchmark covers diverse operations, board-specific cases, boundary conditions, and missing-information cases. We evaluate a series of models by varying their access to board-specific rules and the use of structured-rationale prompting. Our results demonstrate that providing the safety rules generally improves accuracy, whereas structured-rationale prompting produces gains that vary across models and rule-access conditions. Overall, the evaluated models cannot yet reliably determine whether an operation is safe, which implies that critical exploration is required for this field.

Index Terms—Hardware safety, large language models, benchmark, operation safety, development board

I. INTRODUCTION

Large language models (LLMs) are increasingly consulted during embedded system development and debugging [1]. Unlike a software bug, an LLM's response that leads the hardware to go beyond its operational limits can permanently damage the board and introduce significant safety risks. Assessing whether an operation is safe requires more than general electronics knowledge, because the governing limits are specific to each board and differ even between products of the same manufacturer. Therefore, an LLM must identify the applicable manufacturer-specified constraint for the given board and setup. Figure 1 shows two boards connected to the same 9 V supply through their VIN pins. This voltage is within the documented 6–16 V range for the Arduino Due [2], but exceeds the 5.5 V limit for the Arduino MKR WiFi 1010 [3]. The correct verdict is therefore safe for the Due and unsafe for the MKR WiFi 1010 under the stated constraints. However, Gemma-3-12B labels both operations safe and claims that neither violates the voltage limits, even though both boards' rules are provided in its context. This example motivates our research question: Can LLMs reliably determine whether a proposed operation is safe for a specific development board?

Prior studies show that LLM advice can pose safety risks in specific contexts [4], [5], and that in specialized domains, a safe response requires the model to retrieve relevant domain constraints and apply them to the specific situation [6], [7]. Hardware benchmarks offer a complementary perspective by grounding LLM evaluation in concrete engineering artifacts and verifiable criteria. These benchmarks [8]–[13] assess whether a generated design or implementation is valid for the target platform, but none test whether an LLM selects and applies the manufacturer constraint governing a proposed operation on a specific development board. We address this gap by evaluating LLM safety judgments against the documented constraints manufacturers provide for the specified board.

Although manufacturer documentation is the primary source of hardware-safety constraints, it is not directly usable for evaluating LLM judgments. Safety-relevant information is scattered across datasheets, hardware guides, and reference manuals, mixing hard operating limits with recommendations and descriptive specifications [14]. These limits can take different forms, including numeric ranges, maximum values, prohibited configurations, and procedural notes. Making such documentation AI-ready therefore means more than collecting the information [15]–[17]. Each constraint must be traceable to its source, encoded so a proposed operation can be compared mathematically against it, and tagged to indicate how much information is directly documented rather than inferred. We introduce BoardSafety, which implements these requirements as five properties of its rule base: traceable, computable, filterable, consistent, and derivable.

BoardSafety consists of two artifacts. The first is a rule base containing 490 constraint records extracted from 30 manufacturer documents that cover 53 development boards from five vendors. Each record in this rule base includes a normalized constraint, the document source, and an evidence tier. The second is a benchmark of 298 scenarios derived from this rule base. Each scenario pairs a specific board and a proposed operation with the applicable constraint, and a gold label of safe, unsafe, or insufficient-info. We fix each label by comparing the stated operating value or configuration with the documented constraint before an LLM

Figure

Fig. 1. Despite access to manufacturer rules, Gemma-3-12B gives the same safety verdict to a board-swap pair with different VIN limits.

renders the scenario text so that we can recompute every label from the rule base alone. The scenarios include minimal pairs that vary only the board or only the decisive value, as well as underspecified cases that omit the decisive value. We use the benchmark to study how rule access and structured-rationale prompting affect the LLM judgments.

Our experiments on six open-weight LLMs yield a maximum accuracy of 69.13% across 7,152 responses, with only four of 24 model-condition combinations exceeding the 48.3% always-unsafe baseline by their 95% Wilson lower bounds. Access to rules yields larger and more consistent gains than structured-rationale prompting, yet only 13.4% of 216 rationales in a stratified review correctly identify and apply the applicable constraint. Our findings highlight persistent limitations in constraint-based reasoning, particularly in board-swap, near-boundary, and underspecified cases.

This paper makes the following contributions:

• We build an AI-ready rule base of 490 manufacturer-documented constraints with five verifiable properties, so every gold label is traceable and recomputable.

• We construct the BoardSafety benchmark for board-specific hardware safety judgment, testing whether LLMs apply board-specific constraints and abstain when information is missing.

• Our experiments on six LLMs show that aggregate accuracy masks persistent failures in board sensitivity, boundary handling, abstention, and constraint application.

References (33)