gitlinks / github-rank-project

Project to rate quality of github repositories like we vote for cool posts on hacker news
MIT License
12 stars 2 forks source link

How repository score should be computed ? #3

Open callicles opened 9 years ago

callicles commented 9 years ago

Something to start with.

Rules

Score things from 1 to 5.

callicles commented 9 years ago

Another thing to take into account that we have started to evoke is temporality. For a given repository quality can improve over time. Long past ratings should not matter.

We could compute the score only for a given period of time like 6 months of rating before the last commit so that the score is relevant to the current codebase.

sheymann commented 9 years ago

How about using a linear function that progressively decreases the importance of the reviews? This may be balanced with the number of commits per week, as some repositories may almost not evolve during 6 months (e.g. sigma.js).

callicles commented 9 years ago

That's why I was thinking before the last commit.

I am not sure a progressive deprecation would be the best. The evolution of a codebase can be constant but the user experience is also relative to the release. The code base is relative to a given release and constant.

If release are available, we should rate project on each release no ? else we could use linear deprecation.

callicles commented 9 years ago

Another thing that would be cool to take into account is the time since the last commit, the distribution of commits between contributors and the fact that the main contributors are active or not.

ex: https://github.com/mgcrea/angular-strap/graphs/contributors https://github.com/angular-ui/bootstrap/graphs/contributors

callicles commented 9 years ago

@pocman What do you think of this ? Could we try adapt it for our notation system ? The guy has a point.

pocman commented 9 years ago

C'est là tout l'intérêt de la distribution de la moyen au lieu de la moyenne en elle même. Les exemples donnés sont pour des cas binaires. Pour les notes, le mieux est de comparer les distributions. Le 10 juil. 2015 09:38, "Nicolas Joseph" notifications@github.com a écrit :

@pocman https://github.com/pocman What do you think of this http://www.evanmiller.org/how-not-to-sort-by-average-rating.html ? Could we try adapt it for our notation system ? The guy has a point.

— Reply to this email directly or view it on GitHub https://github.com/gitlinks/github-rank-project/issues/3#issuecomment-120269180 .

callicles commented 9 years ago

Something we could take under consideration http://mtov.github.io/Truck-Factor/ https://news.ycombinator.com/item?id=9874503