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

Issue 1809633003: Allow trials to associate without overriding a feature. (Closed)

Created:
4 years, 9 months ago by Alexei Svitkine (slow)
Modified:
4 years, 9 months ago
Reviewers:
rkaplow
CC:
chromium-reviews, asvitkine+watch_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Allow trials to associate without overriding a feature. This adds a heuristic such that if a study only references a single feature from any of its groups, its other groups will be associated with that feature as well, for reporting only. This allows a config like 25% Enabled, 25% Disabled and 50% Default to still report the users in the default group to UMA, so that they show up in the data. More details in the code comments. BUG=587135 Committed: https://crrev.com/64e9e1144919a714e4fe3aa20f040846e2d5a9aa Cr-Commit-Position: refs/heads/master@{#381737}

Patch Set 1 : #

Total comments: 2

Patch Set 2 : Add a comment. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+145 lines, -8 lines) Patch
M base/feature_list.h View 1 chunk +1 line, -0 lines 0 comments Download
M base/feature_list.cc View 2 chunks +6 lines, -1 line 0 comments Download
M base/feature_list_unittest.cc View 2 chunks +30 lines, -0 lines 0 comments Download
M components/variations/processed_study.h View 2 chunks +8 lines, -0 lines 0 comments Download
M components/variations/processed_study.cc View 6 chunks +36 lines, -2 lines 0 comments Download
M components/variations/variations_seed_processor.cc View 2 chunks +19 lines, -2 lines 0 comments Download
M components/variations/variations_seed_processor_unittest.cc View 1 2 chunks +45 lines, -3 lines 0 comments Download

Messages

Total messages: 15 (9 generated)
Alexei Svitkine (slow)
4 years, 9 months ago (2016-03-16 18:41:47 UTC) #6
rkaplow
lgtm logic seems good. I'm a bit surprised you think we should do this kind ...
4 years, 9 months ago (2016-03-17 15:08:48 UTC) #7
Alexei Svitkine (slow)
Thanks! I went with this approach because explicitly associating requires a proto change (right now ...
4 years, 9 months ago (2016-03-17 15:24:59 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1809633003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1809633003/60001
4 years, 9 months ago (2016-03-17 15:25:49 UTC) #11
commit-bot: I haz the power
Committed patchset #2 (id:60001)
4 years, 9 months ago (2016-03-17 17:32:09 UTC) #13
commit-bot: I haz the power
4 years, 9 months ago (2016-03-17 17:33:22 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/64e9e1144919a714e4fe3aa20f040846e2d5a9aa
Cr-Commit-Position: refs/heads/master@{#381737}

Powered by Google App Engine
This is Rietveld 408576698