audit_component_param_visibility
Checks that placed components display the required values (capacitance, voltage, resistance, inductance, saturation current, MPN), so schematics stay legible and the BOM remains procurable.
Instructions
Check that every placed component shows the parameters its class requires for a legible schematic and a procurable BOM.
Per-class rules:
Capacitor (designator C*): must show a value ending in
F(e.g.10uF) AND a voltage rating ending inV(e.g.16V). Missing voltage = catastrophic failure risk on transient overvoltage.Resistor (R*): must show a value ending in
R,k,M, orm. Missing value = BOM ambiguity, can't order.Inductor (L*): must show inductance ending in
H(e.g.10uH) AND saturation current ending inA(e.g.2A). Missing saturation current = core-saturation failure on power-supply inductors.IC (U*): must show a visible parameter whose name starts with
Manufacturer Part Number. Missing MPN = unprocurable and unverifiable footprint.
The check looks at component parameter slots and the on-canvas Comment field; either is acceptable. Hidden values (IsHidden=True) do NOT satisfy the rule because they're invisible during review.
Operates on the compiled / flattened doc tree (same as the BOM) so multichannel and hierarchical designs are covered.
Returns:
Dict with:
- checked: how many components matched a known class
- violations: how many of those have at least one
missing required value
- items: list of {designator, class, missing[]}
violation entries. missing enumerates which required
fields are absent (capacitance, voltage,
resistance, inductance, saturation_current,
mpn).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||