You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 months → commit_count * 4
Last 6 months → commit_count * 2
Last 12 months → commit_count * 1
> 12 months → commit_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?
✌️
The text was updated successfully, but these errors were encountered:
garno
changed the title
Improve relevance calculation for contributor selection
Improve contributor relevancy calculation for contributor selection
Jun 20, 2019
garno
changed the title
Improve contributor relevancy calculation for contributor selection
Improve contributor relevancy calculation
Jun 20, 2019
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 🙂
As of now, we calculate a contributor relevancy this way :
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 months
→commit_count * 4
Last 6 months
→commit_count * 2
Last 12 months
→commit_count * 1
> 12 months
→commit_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?
✌️
The text was updated successfully, but these errors were encountered: