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

Improve contributor relevancy calculation #19

Open
garno opened this issue Jun 20, 2019 · 2 comments
Open

Improve contributor relevancy calculation #19

garno opened this issue Jun 20, 2019 · 2 comments
Labels
enhancement New feature or request rfc Request for comments on new features

Comments

@garno
Copy link
Member

garno commented Jun 20, 2019

As of now, we calculate a contributor relevancy this way :

total_commits + total_commits_in_the_last_90_days

After discussions with the team, it has been mentioned that we should review this method to reduce the importance of old commits. This way, we would select active contributors more frequently.

If I’m not mistaken, GitHub gives us the possibility to retrieve contributors activities for the last year. We could ponderate these activities in the following way :

  • Last 3 monthscommit_count * 4
  • Last 6 monthscommit_count * 2
  • Last 12 monthscommit_count * 1
  • > 12 monthscommit_count * 0.5

These numbers could be tweaked with times to see if the results are satisfying.

Bonus : In #18, we’ve introduced the concept of per-repository configuration. We could allow a project to override these default values.

Thoughts?

✌️

@garno garno added enhancement New feature or request rfc Request for comments on new features labels Jun 20, 2019
@garno garno changed the title Improve relevance calculation for contributor selection Improve contributor relevancy calculation for contributor selection Jun 20, 2019
@garno garno changed the title Improve contributor relevancy calculation for contributor selection Improve contributor relevancy calculation Jun 20, 2019
@marclefrancois
Copy link
Member

I think would be important to have a cutoff configurable per project: contributors that haven't touched the repo for X months, ignore them

@remi
Copy link
Member

remi commented Aug 26, 2021

I think would be important to have a cutoff configurable per project

A user opt-out could also be used instead. I should be able to opt-out from a project (and maybe automatically after X weeks after my last commit?) after, for example, pushing a single small commit that only updates the README.md file, not just wait for the automatic cutoff time period 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request rfc Request for comments on new features
Projects
None yet
Development

No branches or pull requests

3 participants