anuraghazra / anuraghazra/github-readme-stats

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

Open
#4,874 15 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
79.8k
Forks
37.7k
PR merge metrics
No merged PRs in 30d

Description

### Describe the bug

This is a continuation of my discussion from 2023 (https://github.com/anuraghazra/github-readme-stats/discussions/3237). There I said my review count was zero, and in that year I had 0 pull requests reviewed. However, currently, in the past year, I have reviewed 2 pull requests and my count of 'Total PRs Reviewed' is two (see picture). I have fetched data from GraphQL, and there it says that in total I have 22 pull requests reviewed. I am using my private Vercel instance.

### Expected behavior

To have 22 pull requests reviewed as that is my total. 2 is only in the past year.

### Screenshots / Live demo link

Image

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the GraphQL data fetch and the code that calculates “Total PRs Reviewed,” then compare the returned lifetime total with the count limited to the past year. Verify the change against the reported values: 22 total reviewed pull requests rather than 2 in the past year.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, javascript
Domain
api, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.