Skip to content

Conversation

@fjosw
Copy link
Contributor

@fjosw fjosw commented Oct 4, 2022

I think I found a missing term in the calculation of TOTAL_VALUES used as input standard deviation for the CDF in calculateRank.

@vercel
Copy link

vercel bot commented Oct 4, 2022

@fjosw is attempting to deploy a commit to the github readme stats Team on Vercel.

A member of the Team first needs to authorize it.

@rickstaa rickstaa added the bug Something isn't working. label Oct 8, 2022
@rickstaa rickstaa requested a review from anuraghazra October 8, 2022 10:51
@rickstaa rickstaa added ranks Feature, Bug fix, improvement related to ranking system. stats-card Feature, Enhancement, Fixes related to stats the stats card. labels Oct 8, 2022
@rickstaa rickstaa mentioned this pull request Oct 8, 2022
5 tasks
@fjosw
Copy link
Contributor Author

fjosw commented Nov 10, 2022

Are you still considering to merge this @anuraghazra @rickstaa or should I close the PR?

@rickstaa
Copy link
Collaborator

rickstaa commented Nov 10, 2022

@fjosw I think this PR needs to be merged since it addresses a real bug. I however waited for @anuraghazra's approval since it wil influence ranks.

@codecov
Copy link

codecov bot commented Nov 18, 2022

Codecov Report

Base: 97.32% // Head: 96.66% // Decreases project coverage by -0.66% ⚠️

Coverage data is based on head (ce68890) compared to base (94d0978).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2116      +/-   ##
==========================================
- Coverage   97.32%   96.66%   -0.67%     
==========================================
  Files          22       22              
  Lines        3592     3803     +211     
  Branches      322      320       -2     
==========================================
+ Hits         3496     3676     +180     
- Misses         95      125      +30     
- Partials        1        2       +1     
Impacted Files Coverage Δ
src/calculateRank.js 99.03% <100.00%> (+0.03%) ⬆️
src/fetchers/top-languages-fetcher.js 87.32% <0.00%> (-12.68%) ⬇️
src/fetchers/stats-fetcher.js 91.10% <0.00%> (-3.28%) ⬇️
src/common/retryer.js 76.36% <0.00%> (-2.89%) ⬇️
src/cards/repo-card.js 100.00% <0.00%> (ø)
src/cards/stats-card.js 100.00% <0.00%> (ø)
src/cards/wakatime-card.js 100.00% <0.00%> (ø)
src/cards/top-languages-card.js 100.00% <0.00%> (ø)
src/common/createProgressNode.js 100.00% <0.00%> (ø)
src/common/Card.js 99.09% <0.00%> (+<0.01%) ⬆️
... and 9 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@rickstaa
Copy link
Collaborator

Before PR

![](https://github-readme-stats.vercel.app/api?username=torvalds)

![](https://github-readme-stats.vercel.app/api?username=anuraghazra)

![](https://github-readme-stats.vercel.app/api?username=francois-rozet)

![](https://github-readme-stats.vercel.app/api?username=rickstaa)

![](https://github-readme-stats.vercel.app/api?username=meurissemax)

After

![](https://github-readme-stats-git-totalvalues-test-rickstaa.vercel.app/api?username=torvalds)

![](https://github-readme-stats-git-totalvalues-test-rickstaa.vercel.app/api?username=anuraghazra)

![](https://github-readme-stats-git-totalvalues-test-rickstaa.vercel.app/api?username=francois-rozet)

![](https://github-readme-stats-git-totalvalues-test-rickstaa.vercel.app/api?username=rickstaa)

![](https://github-readme-stats-git-totalvalues-test-rickstaa.vercel.app/api?username=meurissemax)

@rickstaa
Copy link
Collaborator

@anuraghazra Merged as it does not seem to influence the ranks by too much.

@rickstaa rickstaa merged commit 26cde6b into anuraghazra:master Nov 18, 2022
@fjosw fjosw deleted the fix/TOTAL_VALUES branch November 18, 2022 14:20
rickstaa added a commit that referenced this pull request Nov 18, 2022
devantler pushed a commit to devantler/github-readme-stats that referenced this pull request May 1, 2023
* fix: added missing term in calculation of TOTAL_VALUES.

* fix: fix rank test

* refactor: update code formatting

* refactor: update code formatting

Co-authored-by: rickstaa <[email protected]>
necofuryai added a commit to necofuryai/github-readme-stats that referenced this pull request May 19, 2025
* fix: added missing term in calculation of TOTAL_VALUES.

* fix: fix rank test

* refactor: update code formatting

* refactor: update code formatting

Co-authored-by: rickstaa <[email protected]>
xhayper pushed a commit to xhayper/github-readme-stats that referenced this pull request Jul 2, 2025
* fix: added missing term in calculation of TOTAL_VALUES.

* fix: fix rank test

* refactor: update code formatting

* refactor: update code formatting

Co-authored-by: rickstaa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working. hacktoberfest hacktoberfest-accepted ranks Feature, Bug fix, improvement related to ranking system. stats-card Feature, Enhancement, Fixes related to stats the stats card.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants