FS#12896 - Suspiciously low theme ratings, inconsistent rating average

Attached to Project: Rockbox
Opened by Guillaume Cocatre-Zilgien (gcocatre) - Friday, 06 September 2013, 21:45 GMT
Last edited by Thomas Martitz (kugel.) - Saturday, 11 January 2014, 10:23 GMT
Task Type Bugs
Category Theme site
Status Closed
Assigned To No-one
Operating System All players
Severity Low
Priority Normal
Reported Version Release 3.12
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


I noticed that some of my latest "Googley" themes for the iPod Video/Classic and the Fuze+ were getting suspiciously low ratings.

Then I noticed that another theme from another author, "ipodWidgets" had a stupidly high count of extremely low votes: at this time, 0.5 star out of 5, with 28 votes. A snapshot from from november 2012 shows 4 stars out of 5 with 18 votes, for that theme, ipodWidgets. Since the theme hasn't been updated since 2009, the ratings should not have been reset.

The math doesn't add up. With 4 stars and 18 votes, that's 4x18 = 72 points. If all of the last 10 votes from the current vote count of 28, where all ratings of 0, then the average would currently be: 72/28 = 2.5 stars out of 5. How is it that the current average is 0.5?

P.S. it seems that the rating form doesn't do sanity checks on the submitted value.
This task depends upon

Closed by  Thomas Martitz (kugel.)
Saturday, 11 January 2014, 10:23 GMT
Reason for closing:  Fixed
Additional comments about closing:  Accepted the gerrit fix (669ffd1). However I don't know when it'll pushed to the actual site.