Skip to content
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

Github commits, pr and other contributions spam(s) #22

Closed
mrepol742 opened this issue Dec 17, 2023 · 5 comments
Closed

Github commits, pr and other contributions spam(s) #22

mrepol742 opened this issue Dec 17, 2023 · 5 comments

Comments

@mrepol742
Copy link

It has repeatedly occurred that users are spamming contributions in order to achieve the highest ranking.

@ashkulz
Copy link
Owner

ashkulz commented Dec 18, 2023

And how could that be fixed? Remember, this is all run automatically without any human intervention and I don't think manual curation is going to happen 🤷‍♂️

@mrepol742
Copy link
Author

we could say, for example a single or multiple commit in a one repo is equal to 1 contribution.

if the user contributed to 5 repositories in 30 days that would be 150 contributions.

or ignored repository that is high as 5k commits or 20k commits (like codersrank did)
or maybe there is even much better than this.

@ashkulz
Copy link
Owner

ashkulz commented Dec 18, 2023

@mrepol742 unfortunately, anything like that is not possible via the GraphQL API. It's impossible to iterate through every user/repository and exclude such contributions -- running this for all countries for itself takes 2+ days so not sure. Maybe ask GitHub to change the API to provide this information? 🤔

@ashkulz ashkulz closed this as not planned Won't fix, can't repro, duplicate, stale Dec 26, 2023
@garronej
Copy link

garronej commented Feb 4, 2024

What about implementing a ban list?
We could create a list of usernames that are excluded from appearing on the leaderboard.
Establishing such a list would take only a few minutes, as it's quite clear who is using bots.
Moreover, implementing this filter would require just a single line of code.
I believe this approach would significantly enhance the credibility of commiters.top.
Additionally, it might deter individuals from using bots to climb the ladder due to the fear of being banned.
I am willing to submit a PR to implement this feature if you're open to the idea.

@ashkulz
Copy link
Owner

ashkulz commented Feb 5, 2024

@garronej like I said earlier, the non-human intervention part is very important. What if someone was making some changes but stops later? They'd still be forever excluded. Also, how do you determine if someone should be excluded or not? There's no black-and-white criteria which can be used to do that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants