anuraghazra / anuraghazra/github-readme-stats

Private contributions not being counted

Open
#4,898 2 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

The numbers mentioned in this link are very much lower than the numbers in the user's profile

https://github-readme-stats.vercel.app/api?username=xxshubhamxx&show_icons=true&theme=radical&count_private=true

github.com/xxshubhamxx

### Expected behavior

The number of private commits / PRs / contributions should be updated in the count here: https://github-readme-stats.vercel.app/api?username=xxshubhamxx&show_icons=true&theme=radical&count_private=true

This one shows correct data: https://camo.githubusercontent.com/cab836d5e7fbedcef832da26943f12207e9f1a318bd5e409bc381db236c5a26b/68747470733a2f2f6769746875622d726561646d652d73747265616b2d73746174732e6865726f6b756170702e636f6d2f3f757365723d78787368756268616d78782673686f775f69636f6e733d74727565267468656d653d7261646963616c

### Screenshots / Live demo link

The number of private commits / PRs / contributions should be updated in the count here: https://github-readme-stats.vercel.app/api?username=xxshubhamxx&show_icons=true&theme=radical&count_private=true

This one shows correct data: https://camo.githubusercontent.com/cab836d5e7fbedcef832da26943f12207e9f1a318bd5e409bc381db236c5a26b/68747470733a2f2f6769746875622d726561646d652d73747265616b2d73746174732e6865726f6b756170702e636f6d2f3f757365723d78787368756268616d78782673686f775f69636f6e733d74727565267468656d653d7261646963616c

### Additional context

_No response_

Contributor guide

Open the contributing guide

Research direction

Reproduce the reported GitHub Readme Stats API URL with count_private=true and compare its private commits, PRs, and contributions with the user's profile and linked reference output. No source file or test is named, so trace the API's JavaScript counting path; done means the private totals match the expected profile data and the behavior is covered by a regression test.

Written by the indexing model from the issue text.

Assessment

Tech stack
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.