# Rating #1 Weirdness?

Discussion in 'Bug Report Forum' started by PurplePoot, Apr 22, 2007.

1. ### PurplePoot

Joined:
Dec 14, 2005
Messages:
11,162
Resources:
3
Maps:
1
Spells:
1
Tutorials:
1
Resources:
3
Well, whenever I rate a resource for the first time (aka when they had no ratings beforehand), it seems to sort of average it with the old rating (0.00, of course).

Thus, for example

8 became 6.60

7 became 5.60

and such.

2. ### Wolverabid

Joined:
Oct 23, 2006
Messages:
8,303
Resources:
5
Tutorials:
5
Resources:
5
I noticed the same apparent "correction factor?"..."adjustment curve?" when I first began rating resources.

I believe that the rating system is set up that way by design.

As more more votes on a resource are tallied the effect becomes less. Ralle, Daelin or other good programmers/math wizards might be able to explain exactly how the determinate algorithm functions.

Who wants to do the math? *blerg*

3. ### PurplePoot

Joined:
Dec 14, 2005
Messages:
11,162
Resources:
3
Maps:
1
Spells:
1
Tutorials:
1
Resources:
3
I was just saying it's sorta silly to average the first vote with nothing in particular ><

4. ### Chaos

Joined:
Jan 19, 2007
Messages:
400
Resources:
4
Icons:
4
Resources:
4
Any rating is just useful by mass voting, unless the counting system is not really needed.

It's fine how it is.

MAYBE A BUG, BUT YOU CAN VOTE THE SAME RESOURCE MORE THAN ONE TIME, IT JUST NEED A PERIOD OF TIME BETWEEN YOUR VOTINGS.

(this period of time I do not know exactly, maybe 24 h)

Chaos

5. ### Samuraid

Joined:
Nov 1, 2004
Messages:
1,508
Resources:
0
Resources:
0
num = number of ratings
avg = current average rating
x = new rating (1 to 10)

((num * avg) + x) / (num + 1)

That's one algorithm to use...

Unfortunately, once you starting getting a lot of ratings, it starts to become inaccurate due to roundoff and lack of floating point precision.

6. ### HappyTauren

Joined:
Nov 3, 2006
Messages:
8,414
Resources:
87
Models:
61
Icons:
23
Packs:
1
Tutorials:
2
Resources:
87
heh... i thought there are downraters which probably are there though... and this problem is silly

### Owner

Joined:
Oct 6, 2004
Messages:
11,215
Resources:
22
Tools:
3
Maps:
5
Tutorials:
14
Resources:
22
\$amount = the sum of all ratings.
\$hits = the times the resource has been rated.

\$rate = \$amount / ( \$hits + (1/4) );

This way, maps only rated 10, once, will not appear on the top of the list.