Skip to main content

Module extension_popularity

Module extension_popularity 

Source
Expand description

Popularity signal snapshotting for extension candidates.

This module is intentionally “evidence-first”:

  • Fetch concrete metrics (GitHub stars/downloads/etc).
  • Normalize missing/unavailable metrics to null (never 0).
  • Persist evidence onto the canonical candidate pool JSON so scoring can be auditable.

Structs§

AliasNote
CandidateItem
CandidatePool
GitHubRepoMetrics
GitHubRepoRef
NpmDownloads
NpmRegistryMeta
PopularityEvidence
Popularity evidence schema.
Sha256Checksum
SourceInputs

Enums§

CandidateSource
GitHubRepoCandidate

Functions§

fetch_github_repo_metrics_optional
fetch_npm_downloads
fetch_npm_registry_meta
github_repo_candidate_from_url
Best-effort parse of a GitHub repository reference from a URL-like string.
github_repo_guesses_from_slug
parse_github_repo_response
parse_npm_downloads_response
parse_npm_registry_response
snapshot_github_repos
Fetch all referenced GitHub repos (deduped) and return a full_name -> metrics map.