Skip to content

Comment score using Wilson score interval #107

Description

@nremond

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 ?

Activity

  1. jellomaster commented on Nov 10, 2011

    @jellomaster

    Yes I think this is a good idea.

  2. nremond commented on Nov 10, 2011

    @nremond
    Author

    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.

  3. antirez commented on Oct 9, 2012

    @antirez
    Owner

    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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions