[wp-meta] [Making WordPress.org] #2686: Plugin Search: Search should also take into account the number of ratings

Making WordPress.org noreply at wordpress.org
Tue Dec 15 18:44:19 UTC 2020


#2686: Plugin Search: Search should also take into account the number of ratings
------------------------------+-------------------------------------------
 Reporter:  bfintal           |       Owner:  (none)
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  Plugin Directory v3 - Future
Component:  Plugin Directory  |  Resolution:
 Keywords:  needs-patch       |
------------------------------+-------------------------------------------

Comment (by edo888):

 Not sure I understand you well. Is the change for indexing or for final
 sorting with
 [score_query_by_recency](https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/plugin-directory/libs/site-search/jetpack-
 search.php#L1040) function?

 I'm mostly worried about this code:

 {{{
     'field_value_factor' => array(
         'field'    => 'support_threads_resolved',
         'factor'   => 0.25,
         'modifier' => 'log2p',
         'missing'  => 0.5,
     )
 }}}

 So if a plugin has 100 resolved tickets it has a multiplier of
 Math.log10(100 + 2) = 2.0 and in case of a plugin with only 20 resolved
 tickets it is Math.log10(20 + 2) = 1.34.

 2 vs 1.34, it seems to make a real difference.

 When you calculate the rating lower bound for a plugin with 4.5 rating
 ~300 reviews it is 4.33, and same for a plugin with 4.9 rating ~2000
 reviews it is 4.87.

 So the multiplier is 4.33 vs 4.87.

 When you multiply you get:

 2 x 4.33 = **8.66** vs 1.34 x 4.87 = **6.52**

 I see clearly that this is a huge difference and this is not fair.

 I can see that you have decreased the priority to normal, which is sad.

 Thanks!

-- 
Ticket URL: <https://meta.trac.wordpress.org/ticket/2686#comment:22>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list