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
Commits per language isn’t accurate for multiple-languages repos #45
Comments
Aha, that's a fun problem. There should be an API for getting the lang-percent per repo, could use that to weight things. |
Number of commits is meaningless metric anyway, because it's easily inflated. (for example by committing everything line by line or word by word, etc…) |
This whole project is meaningless in that sense, everything on GitHub can be easily manipulated. |
You can use this endpoint to get 'total bytes of code written in that language' and use that to weight things. |
That’s probably more a limitation of the GitHub API itself.
I have a repo written in 25 different languages. CoffeeScript is the most used one, with 8.9% of the repo, but represents at most 10 commits or so out of 392. However, my profile shows 392 commits written in CoffeeScript.
I’m not that familiar with the GitHub API; do you think that’s something we could fix?
The text was updated successfully, but these errors were encountered: