feat(summary): gross downloads metric + close the summary-vs-dashboard gap#26
Merged
Merged
Conversation
…d gap Adds `total.downloads` (and exCrypto variant): gross download events across npm + PyPI + Docker pulls + git clones + HF model downloads, counted the way the ecosystems themselves report downloads (incl. CI and re-downloads). This is the headline metric for the website; `adoption` stays the deduplicated floor. Views are never included. Also fixes the two pre-existing reconciliation bugs that made summary.json disagree with the dashboard by ~13.7K: - Docker was MAX(pull_count) across all rows — took only the single biggest image (8,378) instead of summing latest-per-image (18,544) - HuggingFace model downloads were omitted entirely (3,501) summary.total.adoption now equals the dashboard's combined.totalAdoption exactly (163,775). Gross downloads: 298,844.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds `total.downloads` — gross download events (npm + PyPI + Docker pulls + git clones + HF), the industry-standard headline count, distinct from the deduplicated `adoption` floor.
Fixes the two pre-existing reconciliation bugs (Docker `MAX` undercount → sum latest-per-image; HF omitted). `summary.total.adoption` now equals the dashboard's `combined.totalAdoption` exactly (163,775).
Verified: arithmetic assertions + exact-match reconciliation against the dashboard's independent implementation; 68 tests green.