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

Grading System Problem? #63

Open
samuelrawrs opened this issue Sep 4, 2024 · 1 comment
Open

Grading System Problem? #63

samuelrawrs opened this issue Sep 4, 2024 · 1 comment

Comments

@samuelrawrs
Copy link

I tested this repo and the github-readme-stats and found differing scores.
How is this different from github-readme-stats?

Cheers!

@suhaanigurjar
Copy link

suhaanigurjar commented Sep 9, 2024

That is simply because even though both are based on the Japanese academic grading system they use slightly different methods afterwards to rate users and calculate their scores.

The rating scale here is based on the academic grading system used in Japan. Some of the common formulas in statistics like (Mean, SD, Z-Score, etc.) are also used to get the final scores based on the 4 data sets (Commits, Pull Requests, Issues, and Code Reviews).
If you want to check the technical details of the ratings, here is the file ContributionRatings.js.

For the other one: This ranking scheme is based on the Japanese academic grading system. The global percentile is calculated as a weighted sum of percentiles for each statistic (number of commits, pull requests, reviews, issues, stars, and followers), based on the cumulative distribution function of the exponential and the log-normal distributions.
The implementation can be investigated at src/calculateRank.js.

Hope it helps!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants