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 ?