-
-
Notifications
You must be signed in to change notification settings - Fork 23.1k
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
Improve ranking system #455
Comments
Created a PR that demonstrates this: #459 |
This is still very relevant/cc @anuraghazra |
Commenting to get this issue fixed /cc @anuraghazra |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
This is still an issue |
I think it might be broken in more ways than one.
Here's another example of the weird ranking behavior: #330 (comment) |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Still an issue |
I agree. rank evaluation is not correct and too biased. |
@anuraghazra I've made an implementation of one of my ideas in #960 with an explanation inside PR |
@LucBerge and @ZjzMisaka, I agree with you that the ranking needs to be improved. There have been multiple proposals and PRs open that try to improve the ranking:
I think three things can be improved about the ranking:
I asked @anuraghazra for his opinion at #2265. |
TODOS
I also added this list to the top of this issue. |
Hi @rickstaa, |
I agree with you. I already started working on this last week. Not only that, but I will merge #1186 (comment) as soon as @francois-rozet has resolved some small issues I had with that pull requests 👍🏻. @anuraghazra can always change it to his liking later. |
Just a heads-up. I just merged #1186 which, in my opinion, is a great improvement compared to the old ranking. You are welcome to open pull requests if you think the weights can be further improved 👍🏻. There is also a proposal open to change the rank levels. You are welcome to put your ideas in #2265. |
Closing this as completed. |
Re-opened so that people can provide feedback on the new ranking system and create improvements. |
Would be good to update the readme for this project to include an explanation on the ranking system and meaning of the letters. |
You're right! The documentation will be updated when #2749 is merged 👍🏻. You are welcome to suggest any improvements. |
So with the new ranking algo, a former ranking of 'S' for 12K plus annualized commits earns a modest ranking of 'B'. My ego may never recover. ;) |
I'm afraid you are an outlier 😮. You made as many commits in one year as I did in my whole GitHub career 🔥. In my opinion, PRs are preferred over small commits since it improves code collaboration 🤔. I do understand that this is opinioned and that in some cases it is better to work with commits. Can you maybe check if @francois-rozet new ranking mechanism improves your rank (see #2762)? |
@objektwerks I checked and #2762 will improve the behaviour. Also by making some pull requests you can increase your rank rapidly. Old ranks
Ranks (after #2762)
|
@rickstaa Thanks for the explanation and tip! I tried the #2762 option, which did reflect the ranking circle above -- with one minor difference in total commits. It now reads: Total Commits: 29.4k So the count goes back further than 1 year. You all might consider 2 rankings -- 1) pr-driven and 2) commit-driven. Just a thought. :) Cheers! |
Hello, I think making a lot of commits should not be a goal. Having 10000 commits (especially if named "fix") that change one or two lines, is a bad development practice. PRs are much better indicators of meaningful contributions. |
@francois-rozet Everyone has different development styles. Hence the multi-style ranking suggestion. :) |
I agree with @francois-rozet on this one 😅. Although everybody has a different development style, from experience I noticed that these small commits hurt maintainability when working on projects with other people. Nevertheless, since this is an OS (community based) project, if enough people support your idea we might look at it (see #1935 for the most popular feature requests) 👍🏻. |
I work alone on multiple projects. And small units of work make sense for my workflow. Not everyone is an OSS warrior. ;) On a commercial or open source project, with several contributors, developers ideally work in a branch and submit PRs as required. So commit size or frequency is irrelevant. It's the PR process that impacts a project. Ok, I've said way too much. :) Thanks for the conversation! And all the best with your project. Cheers! |
No, you exactly hit the nail on the head. For personal projects, it doesn't really matter and in commercial projects or big OS projects, mostly PR with squashed commits are used 👍🏻. It's not that I have anything against people that add many commits to the master branch. It is only that me and the other collaborators/contributors are trying to promote PR-based contributions so that people will have less friction onboarding to bigger projects. Having that said, this is a community project, so all input is valued equally. Furthermore, it's easy to increase the weights for the commits on your own fork 👍🏻. I think these ranks should be used as a fun motivational tool, not as a single source of truth. If you get more motivated to strengthen your coding skills and OS contributions by having the rank rise yearly by the number of commits, that's also great ❤️🔥. github-readme-stats/src/calculateRank.js Lines 27 to 28 in 1a2a82c
|
Closing as this feature was completed in #2762. You are welcome to open a new issue or pull request if you guys have more ideas to improve the ranking. One idea, for example, I think would be great to have is the following:
Originally posted by @rickstaa in #2265 (comment) |
This comment was marked as outdated.
This comment was marked as outdated.
Additionally, I now created #2859, which gives users the ability to show the [![Anurag's GitHub stats](https://github-readme-stats-git-addpercentilerankicon-rickstaa.vercel.app/api?username=mindlabordev&rank_icon=percentile)](https://github.com/anuraghazra/github-readme-stats) |
@silverwind, we decided to replace progress with percentile since it is unclear to users what progress means (see #2859 (review)). Therefore, changing progress to percentile in your README would be best. |
Describe the bug
I was interested in how the rank was calculated and wanted to know how to rank up. I found out that you use a function called normalcdf to normalize the calculated score. Its basically impossible to get a rank below A+ since normalcdf(0, 231, 7) * 100 returns 51.55 which is in the A+ area.
The code can be found here.
TODOS (Added by @rickstaa)
The text was updated successfully, but these errors were encountered: