Bearloga has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/364333 )

Change subject: Annotate PaulScore decrease as a result of sampling rate change
......................................................................

Annotate PaulScore decrease as a result of sampling rate change

Bug: T168466
Change-Id: I9bf40ce1804ee679c24f664900db55a48e88f5e2
---
M modules/desktop/paulscore.R
M tab_documentation/paulscore_approx.html
2 files changed, 5 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/wikimedia/discovery/rainbow 
refs/changes/33/364333/1

diff --git a/modules/desktop/paulscore.R b/modules/desktop/paulscore.R
index ecfc79e..144569b 100644
--- a/modules/desktop/paulscore.R
+++ b/modules/desktop/paulscore.R
@@ -9,7 +9,8 @@
     polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, 
input$smoothing_paulscore_approx)) %>%
     polloi::make_dygraph(xlab = "Date", ylab = "PaulScore", title = "PaulScore 
for fulltext searches, by day", use_si = FALSE, group = "paulscore_approx") %>%
     dyRangeSelector %>%
-    dyLegend(labelsDiv = "paulscore_approx_legend", show = "always")
+    dyLegend(labelsDiv = "paulscore_approx_legend", show = "always") %>%
+    dyEvent(as.Date("2017-04-19"), "A (rates)", labelLoc = "bottom")
   if (input$paulscore_relative) {
     dyOut <- dyAxis(dyOut, "y", axisLabelFormatter = "function(x) { return 
Math.round(100 * x, 3) + '%'; }", valueFormatter = "function(x) { return 
Math.round(100 * x, 3) + '%'; }")
   }
@@ -27,7 +28,8 @@
     polloi::smoother(smooth_level = 
polloi::smooth_switch(input$smoothing_global, 
input$smoothing_paulscore_approx)) %>%
     polloi::make_dygraph(xlab = "Date", ylab = "PaulScore", title = "PaulScore 
for autocomplete searches, by day", use_si = FALSE, group = "paulscore_approx") 
%>%
     dyRangeSelector %>%
-    dyLegend(labelsDiv = "paulscore_approx_legend", show = "always")
+    dyLegend(labelsDiv = "paulscore_approx_legend", show = "always") %>%
+    dyEvent(as.Date("2017-04-19"), "A (rates)", labelLoc = "bottom")
   if (input$paulscore_relative) {
     dyOut <- dyAxis(dyOut, "y", axisLabelFormatter = "function(x) { return 
Math.round(100 * x, 3) + '%'; }", valueFormatter = "function(x) { return 
Math.round(100 * x, 3) + '%'; }")
   }
diff --git a/tab_documentation/paulscore_approx.html 
b/tab_documentation/paulscore_approx.html
index 0a5b441..b73d61b 100644
--- a/tab_documentation/paulscore_approx.html
+++ b/tab_documentation/paulscore_approx.html
@@ -25,6 +25,7 @@
 
 <ul>
   <li>'<strong>R</strong>': on 2017-01-01 we started calculating all of 
Discovery's metrics using a new version of <a 
href="https://phabricator.wikimedia.org/diffusion/WDGO/";>our data retrieval and 
processing codebase</a> that we migrated to <a 
href="https://www.mediawiki.org/wiki/Analytics";>Wikimedia Analytics</a>' <a 
href="https://wikitech.wikimedia.org/wiki/Analytics/Reportupdater";>Reportupdater
 infrastructure</a>. See <a 
href="https://phabricator.wikimedia.org/T150915";>T150915</a> for more 
details.</li>
+  <li>'<strong>A</strong>': on 2017-04-19 we changed the rates at which users 
are put into event logging (see <a 
href="https://phabricator.wikimedia.org/T163273"; title="Phabricator ticket: 
Adjust search satisfaction sampling rate">T163273</a>. Specifically, we 
decreased the rate on English Wikipedia ("EnWiki") and increased it everywhere 
else, and since EnWiki generally has higher PaulScore than other projects, we 
effectively lowered the overall PaulScore by lessening EnWiki's contribution. 
See <a href="https://phabricator.wikimedia.org/T168466"; title="Phabricator 
ticket: Investigate PaulScores for late April and May for full-text 
searches">T168466</a> for more details.</li>
 </ul>
 
 <h2>Questions, bug reports, and feature suggestions</h2>

-- 
To view, visit https://gerrit.wikimedia.org/r/364333
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9bf40ce1804ee679c24f664900db55a48e88f5e2
Gerrit-PatchSet: 1
Gerrit-Project: wikimedia/discovery/rainbow
Gerrit-Branch: develop
Gerrit-Owner: Bearloga <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to