Skip to content

fix(core): count reviewed PRs across all time - #425

Open
aprameyak wants to merge 1 commit into
stats-organization:masterfrom
aprameyak:fix/reviewed-prs-all-time
Open

fix(core): count reviewed PRs across all time#425
aprameyak wants to merge 1 commit into
stats-organization:masterfrom
aprameyak:fix/reviewed-prs-all-time

Conversation

@aprameyak

Copy link
Copy Markdown

Fixes #383. The default Total PRs Reviewed stat comes from GraphQL contributionsCollection.totalPullRequestReviewContributions, which only covers reviews from roughly the past year. Users with more lifetime reviews get a lower number than they should, and that wrong count feeds into rank calculation. This ports the fix already proposed upstream: add a GraphQL search for type:pr reviewed-by:{username} and use reviewedPullRequests.issueCount for stats.totalReviews instead of the one-year contributions field.

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@aprameyak is attempting to deploy a commit to the martin-mfg's projects Team on Vercel.

A member of the Team first needs to authorize it.

@aprameyak
aprameyak force-pushed the fix/reviewed-prs-all-time branch 2 times, most recently from 8930716 to 2f9bdb7 Compare July 30, 2026 07:01
@aprameyak
aprameyak force-pushed the fix/reviewed-prs-all-time branch from 2f9bdb7 to 1e317b2 Compare July 30, 2026 07:02
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.

'Total PRs Reviewed' is only counting reviews in the past year.

1 participant