conformance: keep ref-bug files out of the root-cause tables, name the non-ok classes

A ref-bug file's refused objects were still listed as our-error root
causes. The summary line now names every non-ok class and its count, and
an empty root-cause table says None.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
This commit is contained in:
osobh
2026-09-27 22:33:42 -05:00
co-authored by Claude Opus 5.5
parent 96086add99
commit ff0b2f8a4e
2 changed files with 20 additions and 14 deletions
+2 -1
View File
@@ -239,7 +239,8 @@ for rel in files:
"caught": [(p, w, m[:2500]) for p, w, m in caught_panics[:3]],
"n_caught": len(caught_panics),
})
for kind, detail, key, rec in issues:
# A ref-bug file's differences are listed with the evidence instead.
for kind, detail, key, rec in (issues if cls != "ref-bug" else []):
if kind == "our-error":
add(root_causes, norm(key), rel, detail[:300])
else: