[pmwiki-users] Fun with five star rating

Hans design5 at softflow.co.uk
Thu Apr 26 16:54:33 CDT 2007


Thursday, April 26, 2007, 10:28:57 PM, Hans wrote:

> One image gets selected according to weighted total (ratings) score.

I am using this scoring system, open for improvements:
Rating gets calculated as number between 0 and 100.

Weights per option:
Weight option1: 1
Weight option1: 0.75
Weight option1: 0.5
Weight option1: 0.25
Weight option1: 0

Stars are allocated according to rating (total weighted votes):
rating / stars
<= 0 no star, no rating
>0   0.5 star
>=10 1 star
>=20 1.5 star
>=30 2 stars
>=40 2.5 stars
>=50 3 stars
>=60 3.5 stars
>=70 4 stars
>=80 4.5 stars
>=90 5 stars.



  ~Hans




More information about the pmwiki-users mailing list