Add USB-C, Ethernet, and PoE interface class certifiers (2.61.0).

Dedicated deterministic engines certify class and connection integrity
(CC1/CC2, Rd 5.1 kΩ, VBUS/GND, SuperSpeed if USB3; 10/100 vs GbE
magnetics; PoE only with evidence). Missing evidence is INSUFFICIENT
or N/A, never invented PoE, SuperSpeed, Z, or I. No FEM, no via IPC.
This commit is contained in:
2026-09-21 11:52:44 +02:00
parent 07ad5c72fa
commit 6dc04b5cc7
20 changed files with 1575 additions and 14 deletions
+4 -3
View File
@@ -1,7 +1,8 @@
"""Eval harness — finding count, citation hit-rate, precision/recall.
Favor: perfect golden match; citation rate ignores deterministic findings;
simple_project graph still has U1/U2/U3 and the two I2C pull-up keys.
simple_project graph still has U1/U2/U3, the two I2C pull-up keys,
and USB-C class certifiers on J1 (Ethernet/PoE N/A).
Against: extra finding drops precision; missing golden key drops recall;
Unverified quotes are citation misses, not hits.
"""
@@ -87,9 +88,9 @@ def test_simple_project_eval_matches_committed_golden():
assert scores.graph_ok, scores.graph_errors
assert scores.precision == 1.0
assert scores.recall == 1.0
assert scores.finding_count == 3
assert scores.finding_count == 10
assert scores.by_status["WARNING"] == 2
assert scores.by_status["INFO"] == 1
assert scores.by_status["INFO"] == 8
def test_simple_project_eval_rejects_truncated_graph(tmp_path: Path):