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

Issue 23710041: Fix inconsistent FieldTrial group assignment due to float errors. (Closed)

Created:
7 years, 3 months ago by Alexei Svitkine (slow)
Modified:
7 years, 3 months ago
CC:
chromium-reviews, erikwright+watch_chromium.org, Ilya Sherman, jar (doing other things), asvitkine+watch_chromium.org
Visibility:
Public.

Description

Fix inconsistent FieldTrial group assignment due to float errors. This was discovered by the InstantExtended field trial that was using very small group percentages and discovered several groups of the same size were getting different user counts. BUG=290438 TEST=New unit test that fails without the fix. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=224011

Patch Set 1 : #

Total comments: 4

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -3 lines) Patch
M base/metrics/field_trial.h View 1 1 chunk +2 lines, -0 lines 0 comments Download
M base/metrics/field_trial.cc View 1 3 chunks +22 lines, -3 lines 0 comments Download
M base/metrics/field_trial_unittest.cc View 1 1 chunk +28 lines, -0 lines 0 comments Download

Messages

Total messages: 15 (0 generated)
Alexei Svitkine (slow)
7 years, 3 months ago (2013-09-12 21:57:11 UTC) #1
Alexei Svitkine (slow)
Note: The reason this actually cares about the boundary cases is because in the case ...
7 years, 3 months ago (2013-09-13 22:02:49 UTC) #2
Alexei Svitkine (slow)
jar: Ping - I'd like to get this in for M31.
7 years, 3 months ago (2013-09-16 21:48:37 UTC) #3
jar (doing other things)
https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc#newcode47 base/metrics/field_trial.cc:47: // points to int. Without it, boundary values have ...
7 years, 3 months ago (2013-09-16 21:54:40 UTC) #4
Alexei Svitkine (slow)
https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc#newcode47 base/metrics/field_trial.cc:47: // points to int. Without it, boundary values have ...
7 years, 3 months ago (2013-09-16 22:30:46 UTC) #5
Alexei Svitkine (slow)
Friendly ping. If it would help, I'm in MTV this week, so we could discuss ...
7 years, 3 months ago (2013-09-17 21:01:08 UTC) #6
jar (doing other things)
https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc#newcode47 base/metrics/field_trial.cc:47: // points to int. Without it, boundary values have ...
7 years, 3 months ago (2013-09-18 01:38:24 UTC) #7
Alexei Svitkine (slow)
https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc File base/metrics/field_trial.cc (right): https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc#newcode47 base/metrics/field_trial.cc:47: // points to int. Without it, boundary values have ...
7 years, 3 months ago (2013-09-18 16:39:53 UTC) #8
Alexei Svitkine (slow)
On 2013/09/18 16:39:53, Alexei Svitkine wrote: > https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc > File base/metrics/field_trial.cc (right): > > https://codereview.chromium.org/23710041/diff/30001/base/metrics/field_trial.cc#newcode47 ...
7 years, 3 months ago (2013-09-18 16:53:32 UTC) #9
Alexei Svitkine (slow)
.
7 years, 3 months ago (2013-09-18 16:54:40 UTC) #10
Alexei Svitkine (slow)
I updated the CL with the fix for the issue, please take have another look ...
7 years, 3 months ago (2013-09-18 18:06:26 UTC) #11
jar (doing other things)
Ugh.... so the real problem tends to relate to using an 8000 sided die for ...
7 years, 3 months ago (2013-09-18 21:45:22 UTC) #12
Alexei Svitkine (slow)
Thanks Jim. We actually have such a check on the server-side, for experiment configs that ...
7 years, 3 months ago (2013-09-18 21:49:23 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/asvitkine@chromium.org/23710041/2001
7 years, 3 months ago (2013-09-18 21:52:43 UTC) #14
commit-bot: I haz the power
7 years, 3 months ago (2013-09-19 01:11:18 UTC) #15
Message was sent while issue was closed.
Change committed as 224011

Powered by Google App Engine
This is Rietveld 408576698