by esnard · 6y ago · 0 comments
For example, CodeScene, which supports 12 languages, is the currently most voted tool for PHP, and I've never heard of it. Not saying it's bad or anything, but I highly doubt it's popular in the PHP community, compared to other products.
Iirc imgur had (has?) a system like this in addition to the main up/downvote (but I don't think you need a main up/downvote, since you're creating a list, not a feed).
Instead he argues you should use the "Lower bound of Wilson score confidence interval for a Bernoulli parameter". He provides that equation and example code to calculate it (Ruby, SQL, and/or Excel).
https://www.evanmiller.org/how-not-to-sort-by-average-rating...
https://news.ycombinator.com/item?id=15709405
https://www.evanmiller.org/bayesian-average-ratings.html
https://www.evanmiller.org/ranking-items-with-star-ratings.h...
https://redditblog.com/2009/10/15/reddits-new-comment-sortin...
(Found these links shared by another user a couple of weeks ago[0])
smichel17's solution makes the most sense to me.