Rating/Count/Average Error
-
I found a problem when testing a feature.
While testing out the #topten on a wp page, I noticed that whenever you rate, and produce a vote count on a photo more than 1, it averages the photo incorrectly.
For example, I voted on the same photo five times. I gave it a 10 the first time. A gave it another 10 the second time. And a 10 the third, fourth, and fifth time. This should result in an average of 10. Instead, I got an average rating of 1.1
On another photo, I voted on it twice. I gave it a vote of 8 the first time. The second time I voted I gave it another 8. This should produce an average rate of 8. I noticed once I rated the photo a second time, it knocked the photo out of my top ten page, because again, its not averaging ratings correctly.
- The topic ‘Rating/Count/Average Error’ is closed to new replies.