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

+2 -1
View File
@@ -301,7 +301,8 @@ class PlatformReferenceInWords(unittest.TestCase):
details = [{"name": "f.bin", "status": "ok", "system": "sony-playstation"}]
cov = {"platform": "RomM", "details": details, "total": 1, "verified": 1,
"present": 1, "missing": 0, "untested": 0, "mode": "md5",
"core_present": 0, "core_missing": 0, "core_unsourceable": 0,
"core_present": 0, "core_missing": 0, "core_unplaced": 0,
"core_unsourceable": 0,
"config": {"hash_type": "md5", "hash_rule": "size_and_any_hash",
"systems": {"sony-playstation": {"files": [{"name": "f.bin"}]}},
"source": "https://github.com/o/r/tree/" + "a" * 40}}