fix: write every platform count in the summary

A platform with one entry had no number, so the named counts did not
add up to the total (finding 81).
This commit is contained in:
Abdessamad Derraz committed 2026-11-05 11:39:25 +01:00
1 parent d38cd58036
commit 6e77da4b82
3 files changed
+15 -4

No files matched your search

+1 -2
View File
@@ -2961,8 +2961,7 @@ def _overall_summary(group_results: list[tuple[dict, list[str]]]) -> str:
platforms = sum(len(group) for _, group in group_results)
def where(counts: dict[str, int]) -> str:
named = [f"{name} {count}" if count > 1 else name
for name, count in counts.items() if count]
named = [f"{name} {count}" for name, count in counts.items() if count]
return f" ({', '.join(named)})" if named else ""
parts = []