fix: site reads core file counts from verify

compute_coverage recounted the gap entries: one per entry, not one per
pack path, with held-but-unplaced and bundled files counted missing.
RetroArch read 7956 packed and 419 missing where verify says 7977 and
66. packs/shares.py holds the split both now read.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 21:42:18 +01:00
1 parent d1b0c77039
commit 2f9cfc8e8d
12 files changed
+168 -94

No files matched your search

+4 -1
View File
@@ -435,8 +435,11 @@ def _pack_content_rows(coverages: dict) -> list[str]:
rows = []
for pname, cov in _by_platform_name(coverages):
display = cov["platform"]
# A file held but not placed is needed and not in the pack, yet not
# missing. One installed with its emulator is not needed from us.
core_total = (
cov["core_present"] + cov["core_missing"] + cov["core_unsourceable"]
cov["core_present"] + cov["core_missing"] + cov["core_unplaced"]
+ cov["core_unsourceable"]
)
rows.append(
f"| [{display}](platforms/{pname}.md) "