|
|
1 year ago | |
|---|---|---|
| README.md | 1 year ago | |
| c.js | 1 year ago | |
| index.js | 1 year ago | |
| package.json | 1 year ago |
GitHub Score Formula: $$ rank = 1 - \frac{1}{W} \sum_{i=1}^{n} w_i \cdot f_i \left( \frac{x_i}{m_i} \right) $$ Where:
exponential_cdf or log_normal_cdf)Calculate the total score (rank) using this formula, and then determine the user's level based on the rank value.
Weights for parameters:
COMMITS_WEIGHT, PRS_WEIGHT, ISSUES_WEIGHT, REVIEWS_WEIGHT, STARS_WEIGHT, FOLLOWERS_WEIGHT) are 2, 3, 1, 1, 4, 1 respectively.modify index.js to yourself, then run:
node index.js