Last modified: 2012-08-04 21:10:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T38768, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 36768 - Article Feedback Page - Relevance Score Math Questions
Article Feedback Page - Relevance Score Math Questions
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
ArticleFeedbackv5 (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Yoni Shostak
:
: 36865 (view as bug list)
Depends on:
Blocks: 39043
  Show dependency treegraph
 
Reported: 2012-05-11 16:48 UTC by Fabrice Florin
Modified: 2012-08-04 21:10 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments
AFT Relevance Test Matrix (87.50 KB, application/vnd.ms-excel)
2012-05-17 06:32 UTC, Fabrice Florin
Details
Test 1: Article-Feedback-Relevance-Bug1-0545.png (179.33 KB, image/png)
2012-05-17 06:41 UTC, Fabrice Florin
Details
Test 2: Article-Feedback-Relevance-Bug2-0546.png (191.75 KB, image/png)
2012-05-17 06:42 UTC, Fabrice Florin
Details
Test 3: Article-Feedback-Relevance-Score-Bug3-Feature.png (248.68 KB, image/png)
2012-05-17 06:44 UTC, Fabrice Florin
Details

Description Fabrice Florin 2012-05-11 16:48:50 UTC
The math used to update the relevance score seems strange. In some cases, it doesn't add up. It sometimes appears that instead of incrementing the relevance score with the individual action scores, we are in fact replacing the current score with the individual score. 

This needs to be researched more to confirm specific use cases that can be reproduced consistently, but I wanted to start this ticket so we do a bit more rigorous testing on this issue.
Comment 1 Reha Sterbin 2012-05-15 16:09:36 UTC
This issue was because the score was being replaced, not updated.  Fixed and submitted to gerrit:

https://gerrit.wikimedia.org/r/7728
Comment 2 Reha Sterbin 2012-05-15 17:17:31 UTC
Reopened so Fabrice can find it.
Comment 3 Reha Sterbin 2012-05-15 17:17:41 UTC
*** Bug 36865 has been marked as a duplicate of this bug. ***
Comment 4 Fabrice Florin 2012-05-17 06:18:48 UTC
I tested these issues today on both prototype and en-wiki, and continue to find problems with the way we are calculating the relevance score. 

I documented the errors I found in three separate tests, which are detailed in the attached spreadsheet and  screenshots, as well as summarized below:

1. Test 1: Existing post on Prototype (#545):
* Action 1: Mark as Helpful (+1 point) > Actual score = 1 | Desired = 1
* Action 2: Mark as Unhelpful (-1 point) > Actual score = 0 | Desired = 0
* Action 3: Flag as Abuse (-5 points) > Actual score = -6 | Desired = -5  (ERROR)

2. Test 2: New post on Prototype (#546):
* Action 1: Mark as Helpful (+1 point) > Actual score = 1 | Desired = 1
* Action 2: Mark as Unhelpful (-1 point) > Actual score = 2 | Desired = 0  (ERROR)

3. Test 3: New post on EN-Wiki (#100,023):
* Action 1: Mark as Helpful (+1 point) > Actual score = 1 | Desired = 1
* Action 2: Mark as Unhelpful (-1 point) > Actual score = 0 | Desired = 0
* Action 3: Flag as Abuse (-5 points) > Actual score = -5 | Desired = -5
* Action 4: Featured (+50 points) > Actual score = 50 | Desired = -45  (ERROR)

Reha, please confirm whether or not the version I tested on prototype was the latest -- and whether or not you can reproduce these errors on your end. 

In any case, I invite you to use the attached spreadsheet when debugging and testing this relevance score. It has formulas which contain the desired math and make it easy to detect errors in the actual score. Each test has its own columns for each test, with each possible action on a separate row. To enter a test action, add a '1' in that test's 'action' column, which automatically updates the correct score in the 'desired' column -- then refresh the page and add the actual relevance score from the perma-link page. Simply bold discrepancies and highlight them in red.
Comment 5 Fabrice Florin 2012-05-17 06:32:58 UTC
Created attachment 10605 [details]
AFT Relevance Test Matrix

This spreadsheet consists of a test matrix for tracking and comparing relevance score data, all in one place.

It includes automated formulas for calculating the desired score for each action, so we can compare it to the actual relevance score. Feel free to upload it to Google Docs, if you have time, so we can really share this spreadsheet for all future tests. 

See attached screenshots for each bug / test number.
Comment 6 Fabrice Florin 2012-05-17 06:41:53 UTC
Created attachment 10606 [details]
Test 1: Article-Feedback-Relevance-Bug1-0545.png
Comment 7 Fabrice Florin 2012-05-17 06:42:28 UTC
Created attachment 10607 [details]
Test 2: Article-Feedback-Relevance-Bug2-0546.png
Comment 8 Fabrice Florin 2012-05-17 06:44:27 UTC
Created attachment 10608 [details]
Test 3: Article-Feedback-Relevance-Score-Bug3-Feature.png

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links