anuraghazra / anuraghazra/github-readme-stats
'Total PRs Reviewed' is only counting reviews in the past year.
- 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
### Additional context
_No response_
Contributor 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