Skip to content

Rank not updating #3619

Closed Answered by qwerty541
Rizwans-github asked this question in Q&A
Jan 28, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hey, @Rizwans-github! Weight of the commits count during rank calculation can be different depending on commits count basis, it can be yearly or all time. When using yearly basis the weight of commits count is 4x times more than when using all time basis. Here is the code: https://github.com/anuraghazra/github-readme-stats/blob/master/src/calculateRank.js#L47. On the first screenshot the commits count is calculated yearly, so the rank is higher. On the second screenshot stats card shows all time commits, so the rank is lower. All correct.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@Rizwans-github
Comment options

@qwerty541
Comment options

@Rizwans-github
Comment options

Answer selected by Rizwans-github
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #3618 on January 28, 2024 12:08.