Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cached language stats #2638

Closed
pandasoli opened this issue Apr 24, 2023 · 1 comment
Closed

Cached language stats #2638

pandasoli opened this issue Apr 24, 2023 · 1 comment
Labels
bug Something isn't working.

Comments

@pandasoli
Copy link

Describe the bug

When I access the top langs for my profile it shows I have 96.96% of Python code, and 0.75% of Go code, what is "not true" (not based on numbers) because I have about 3 or 2 SMALL Python repos and a lot of kinda big Go repos (enough to be more than Python).

Expected behaviour

About 5 or 10% of Python code, and about 70 or 80% of Go code.

Screenshots / Live demo link

Current state of the stats

Repos count

3 Python repos
10 Go repos

Additional context

I also tried to delete all the Python repos, so I would have no Python code in my profile (later I can restore them), I tried filter my repos by Python and there was none, perfect, but looking at the link again, nothing changed, and yes I tried clearing my browser cache.

And about anuraghazra/github-readme-stats#136, as I said if we sum the bytes of the Python repos it is gonna be smaller than the Go repos (I guess based on my knowledge because I coded them).

@pandasoli pandasoli added the bug Something isn't working. label Apr 24, 2023
@rickstaa
Copy link
Collaborator

@pandasoli due to GraphQL limitations, we are unable to improve the language results 😅. More information about this can be found in #1801. I created a feature request at https://github.com/orgs/community/discussions/18230 to improve this behaviour. You can show your support there. The results will be somewhat improved when the GitHub action is released. Further, #1732 is currently under review which allows users to rank the used languages based on the repositories they are used in. Maybe you can try out this pull request and see if it improves the results 🤔?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working.
Projects
None yet
Development

No branches or pull requests

2 participants