[wp-meta] [Making WordPress.org] #7743: Plugin review filters by number of stars are incorrect.
Making WordPress.org
noreply at wordpress.org
Fri Aug 9 20:19:14 UTC 2024
#7743: Plugin review filters by number of stars are incorrect.
------------------------------+--------------------
Reporter: gibrown | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+--------------------
We were investigating/analyzing Jetpack reviews and found multiple cases
where we would filter by the number of stars and see reviews that did not
match the selection. There are six cases total out of 2120 reviews, so it
is fairly rare but could indicate a corner case bug that would cause
bigger issues on less popular plugins.
The reviews incorrectly listed as 1 stars are:
- https://wordpress.org/support/topic/too-many-things-i-dont-need-or-want/
(on page of 14
https://wordpress.org/support/plugin/jetpack/reviews/page/14/?filter=1)
- https://wordpress.org/support/topic/fix-the-twitter-widget/ (on page of
17 https://wordpress.org/support/plugin/jetpack/reviews/page/17/?filter=1)
- https://wordpress.org/support/topic/open-graph-6/ (on page of 13
https://wordpress.org/support/plugin/jetpack/reviews/page/13/?filter=1)
The reviews incorrectly listed as 2 stars are:
- https://wordpress.org/support/topic/too-heavy/ (on page 3
https://wordpress.org/support/plugin/jetpack/reviews/page/3/?filter=2)
- https://wordpress.org/support/topic/much-options/ (on page 2
https://wordpress.org/support/plugin/jetpack/reviews/page/2/?filter=2)
- https://wordpress.org/support/topic/it-was-working-but-nownothing/ (on
page 3
https://wordpress.org/support/plugin/jetpack/reviews/page/3/?filter=2)
At least one case had the review get modified which makes me suspect that
a change to the rating causes doesn't change all of the filtering.
There is a slight difference in the totals of course. From post_meta
(matches what is on
https://wordpress.org/support/plugin/jetpack/reviews/):
"rating_1": 521,
"rating_2": 94,
"rating_3": 87,
"rating_4": 152,
"rating_5": 1266,
"num_ratings": 2120,
From the scraped data and after correcting for the above differences:
1 Star = 518 (-3)
2 Star = 92 (-2)
3 Star = 91 (+4)
4 Star = 153 (+1)
5 Star = 1266 (0)
Total = 2120
I also wonder if any of this impacts the overall average rating. The
rating in the post meta for Jetpack is 3.7. I assume this is rounded off
somewhere.
The averages I calculate are either:
- (521 + 2*94 + 3*87 + 4*152 + 5*1266)/2120 = 3.730188679
- (518 + 2*92 + 3*91 + 4*153 + 5*1266)/2120 = 3.734433962
Both of those of course round to the same thing in this case but for a
less popular plugin the difference could matter.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7743>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list