Thanks for posts

Rating formula? Number of thanks divided by 11? - Thanks for posts

Rating formula? Number of thanks divided by 11?

by Serg314 » Sun May 19, 2019 12:00 pm

Perhaps I missed some configuration or description and it's a stupid question.

Otherwise, here is the problem. According to wiki:
A rating is an evaluation or assessment of something, in terms of quality, quantity, or some combination of both
But if rating is displayed as percentage (as the extension does), then it can't be just quantity. So, a rating of 9.09% suggests that the quality is very low while in fact it may be pretty high. This is my main problem with this rating. It would be much more informative to allow dislikes ("unthanks"), to see both as integers.

Next, I tried to guess the actual formula. The quality in percentages should be like this:

Code: Select all

quality = 100% * 0.5 * (1 + (likes - dislikes) / (likes + dislikes))
This would produce rating in range [0, 100]. But because there is no dislike option (I suppose "Report this post" isn't a dislike), such quality formula would always produce either 50% or 100% (after a single like). Also, an actual rating of 9.09% with a single thank suggests that it was calculated as 1/11. I thought that 11 is the number of views, but in the main topic post the rating was 27.27% with 3 stars with a much higher number of views. In another thread with even higher number of views I've seen 18.18% with 2 thanks, which confirms that 11 is a constant and the actual rating formula is:

Code: Select all

rating = 100% * thanks / 11
This doesn't look like a quality or a combination of quality and quality. What would be the rating with more than 11 stars? Please advise
Registered User
Posts: 5
Joined: Wed Jul 04, 2018 2:26 pm

Re: Rating formula? Number of thanks divided by 11?

by rxu » Sun May 19, 2019 2:07 pm

In this extension, rating percentage being calculated from the most thanked post/topic/forum which rating is taken as 100%.
So the formula looks like (thanks / max_thanks)*100.
Extensions Development Team
Posts: 2973
Joined: Wed Oct 25, 2006 12:46 pm
Location: Siberia, Russian Federation
Name: Ruslan