Skip to content

feat(summary): gross downloads metric + close the summary-vs-dashboard gap#26

Merged
thebenignhacker merged 1 commit into
mainfrom
feat/gross-downloads-metric
Jul 22, 2026
Merged

feat(summary): gross downloads metric + close the summary-vs-dashboard gap#26
thebenignhacker merged 1 commit into
mainfrom
feat/gross-downloads-metric

Conversation

@thebenignhacker

Copy link
Copy Markdown
Contributor

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).

Metric Value
downloads (gross) 298,844
adoption (deduped) 163,775 — exact dashboard match

Verified: arithmetic assertions + exact-match reconciliation against the dashboard's independent implementation; 68 tests green.

…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.
@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
github-analytics-tracker Ready Ready Preview, Comment Jul 22, 2026 10:46pm

Request Review

@thebenignhacker
thebenignhacker merged commit b3eff01 into main Jul 22, 2026
3 checks passed
@thebenignhacker
thebenignhacker deleted the feat/gross-downloads-metric branch July 22, 2026 22:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant