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

Comment score using Wilson score interval #107

Open
nremond opened this issue Nov 6, 2011 · 3 comments
Open

Comment score using Wilson score interval #107

nremond opened this issue Nov 6, 2011 · 3 comments

Comments

@nremond
Copy link

nremond commented Nov 6, 2011

Hi,

I think we can easily improve the computation of the comment score. It should be based on the Wilson score interval as explain by Evan Miller here : http://www.evanmiller.org/how-not-to-sort-by-average-rating.html

Thus, I would suggest to patch your compute_score_comment() method as follow :
https://gist.github.com/1343554

What do you think ?

@jellomaster
Copy link

Yes I think this is a good idea.

@nremond
Copy link
Author

nremond commented Nov 10, 2011

About the news sorting, I found this interesting blog entry : http://blog.linkibol.com/2010/05/07/how-to-build-a-popularity-algorithm-you-can-be-proud-of/

The formula here : http://blog.linkibol.com/resource/linkibol.PNG could correspond to what antirez is expecting when he put this comment in the code :
# FIXME: For now we are doing a naive sum of votes, without time-based filtering, nor IP filtering.

@antirez
Copy link
Owner

antirez commented Oct 9, 2012

This change looks great! I'll merge it in the next days. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants