LordDashMe/github-contribution-stats

Grading System Problem?

Opened this issue · 1 comments

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

Cheers!

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!