[pmwiki-users] Announcing New Recipe: 5 star rating system

Hans design5 at softflow.co.uk
Fri Jul 11 08:53:09 CDT 2008


I like to invite your thoughts on the assignment of stars to average
rating values.

A user has five choices for her vote: 1 to 5,
corresponding to 1 star to 5 stars. Each star carries 20 points, so a
vote is between 20 and 100. The average is calculated as the
arithmetic mean of all the votes: the sum divided by the number of
votes.

The script implements the following allocation of stars to the
average:

 $rating >= 90  5   stars
 $rating >= 85  4.5 stars
 $rating >= 80  4   stars
 $rating >= 70  3.5 stars
 $rating >= 60  3   stars
 $rating >= 50  2.5 stars
 $rating >= 40  2   stars
 $rating >= 30  1.5 stars
 $rating >= 20  1   stars
 $rating >= 10  0.5 stars
 $rating  = 0   0   stars

Is this acceptable or realistic?

Note you get 5 stars for an average over 90, not 100
(which would be very hard to achieve).
Then only 5 points lower is 4.5 stars, and again 5 points lower 4
stars. After that it is an even descend.
And you never get 0.5 stars, since the lowest vote is 1 star.

Any thoughts on this please?

  ~Hans




More information about the pmwiki-users mailing list