opensource-ny / OpenSource-NY

MIT License
10 stars 14 forks source link

A new scoring system. #75

Open yizongk opened 5 years ago

yizongk commented 5 years ago

Current Situaiton

Current scoring system, will rank a person's standing for a specific repo based on the number of successful merge PR made by that person. This doesn't account for who made the commits in the PR, nor does it account for the repo's reputation (such as how many user or contributor).

Ideas

Let's put some idea here on how to make that scoring system better.

@Chocolate-Spaghet had a formula, can you please put it here and give a short explaination on it?

My idea is not count who made the successful PR, but to count who made the most commits in a sucessful PR.

Chocolate-Spaghet commented 5 years ago

For now, let’s just count the merged PR requests (weighted based on number of contributors, for now linearly). Say: person’s score = Sum of merges where each merge is weighted based on number of contributors Our database should store all of the pull requests, do that we can recalculate the score when we change the formula.

guti21js commented 5 years ago

If you need commit counts create an issue for a route that you want to call to front end.