Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(302)

Issue 341943002: [Android NTP] Logging histograms for users that are part of a control group. (Closed)

Created:
6 years, 6 months ago by Mathieu
Modified:
6 years, 6 months ago
CC:
chromium-reviews, skanuj+watch_chromium.org, melevin+watch_chromium.org, dhollowa+watch_chromium.org, dougw+watch_chromium.org, donnd+watch_chromium.org, dominich, jfweitz+watch_chromium.org, David Black, samarth+watch_chromium.org, kmadhusu+watch_chromium.org, Jered
Project:
chromium
Visibility:
Public.

Description

[Android NTP] Logging histograms for users that are part of a control group. This adds the possibility of a control group for suggestions, where the user is served local TopSites suggestions, but would have received suggestions from the SuggestionsService. This enables us to avoid a population bias. Regarding UMA_ prefix for histograms, will rebase once https://codereview.chromium.org/343643002/ gets in. BUG=385159 TEST=SuggestionsServiceTest* Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=278333

Patch Set 1 : Initial 2 #

Total comments: 6

Patch Set 2 : don't use the macro #

Total comments: 6

Patch Set 3 : Moved statement #

Patch Set 4 : rebased #

Patch Set 5 : rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -12 lines) Patch
M chrome/browser/android/most_visited_sites.h View 1 chunk +3 lines, -0 lines 0 comments Download
M chrome/browser/android/most_visited_sites.cc View 1 2 3 6 chunks +22 lines, -6 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_service.h View 1 2 3 4 2 chunks +4 lines, -0 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_service.cc View 1 2 3 4 2 chunks +7 lines, -0 lines 0 comments Download
M chrome/browser/search/suggestions/suggestions_service_unittest.cc View 7 chunks +20 lines, -6 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Mathieu
Hi, Have a look please: beaudoin: suggestions/ and overall control group logic newt: most_visited_sites* Thanks!
6 years, 6 months ago (2014-06-18 17:30:25 UTC) #1
beaudoin1
LGTM if you confirm that the macro allows dynamic histogram names. (Cute and short fix, ...
6 years, 6 months ago (2014-06-18 17:46:55 UTC) #2
Mathieu
Thanks a lot. See my response. https://codereview.chromium.org/341943002/diff/20001/chrome/browser/android/most_visited_sites.cc File chrome/browser/android/most_visited_sites.cc (right): https://codereview.chromium.org/341943002/diff/20001/chrome/browser/android/most_visited_sites.cc#newcode289 chrome/browser/android/most_visited_sites.cc:289: index); On 2014/06/18 ...
6 years, 6 months ago (2014-06-18 17:55:09 UTC) #3
beaudoin
On 2014/06/18 17:55:09, Mathieu Perreault wrote: > Thanks a lot. See my response. > > ...
6 years, 6 months ago (2014-06-18 19:51:05 UTC) #4
newt (away)
I think I'm missing some context here. In particular, how is this new control group ...
6 years, 6 months ago (2014-06-18 21:25:09 UTC) #5
Mathieu
https://codereview.chromium.org/341943002/diff/40001/chrome/browser/android/most_visited_sites.cc File chrome/browser/android/most_visited_sites.cc (right): https://codereview.chromium.org/341943002/diff/40001/chrome/browser/android/most_visited_sites.cc#newcode287 chrome/browser/android/most_visited_sites.cc:287: const std::string histogram = is_control_group_ ? On 2014/06/18 21:25:09, ...
6 years, 6 months ago (2014-06-18 21:55:18 UTC) #6
newt (away)
Thanks for explaining. lgtm after string assignment fix.
6 years, 6 months ago (2014-06-18 22:02:27 UTC) #7
Mathieu
Thanks! Submitting... https://codereview.chromium.org/341943002/diff/40001/chrome/browser/android/most_visited_sites.cc File chrome/browser/android/most_visited_sites.cc (right): https://codereview.chromium.org/341943002/diff/40001/chrome/browser/android/most_visited_sites.cc#newcode366 chrome/browser/android/most_visited_sites.cc:366: const std::string histogram = is_control_group_ ? On ...
6 years, 6 months ago (2014-06-19 01:45:52 UTC) #8
Mathieu
The CQ bit was checked by mathp@chromium.org
6 years, 6 months ago (2014-06-19 01:45:56 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mathp@chromium.org/341943002/80001
6 years, 6 months ago (2014-06-19 01:50:18 UTC) #10
Mathieu
The CQ bit was checked by mathp@chromium.org
6 years, 6 months ago (2014-06-19 02:43:44 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mathp@chromium.org/341943002/100001
6 years, 6 months ago (2014-06-19 02:45:35 UTC) #12
commit-bot: I haz the power
6 years, 6 months ago (2014-06-19 11:43:15 UTC) #13
Message was sent while issue was closed.
Change committed as 278333

Powered by Google App Engine
This is Rietveld 408576698