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

Issue 2325503002: Reorganizing detect_regression_range.py (Closed)

Created:
4 years, 3 months ago by wrengr (wrong one)
Modified:
4 years, 3 months ago
CC:
chromium-reviews, infra-reviews+infra_chromium.org, wrengr
Target Ref:
refs/heads/master
Project:
infra
Visibility:
Public.

Description

We avoid using array indices, to avoid potential off-by-one errors as well as to enable the possibility of streaming rather than holding onto the whole list in memory. Also, we change the API for getting spikes so that now it takes a list of objects together with a valuation function, rather than taking a list of pairs (of objects with their values). BUG=chromium:644406 Committed: https://chromium.googlesource.com/infra/infra/+/27d3c91752defc8bf2556775462f4aa90419e74a

Patch Set 1 #

Patch Set 2 : detect_regression_range.py: added todo note #

Total comments: 6

Patch Set 3 : detect_regression_range.py: removing the obviated GetAttributesListFromHistoricData #

Patch Set 4 : detect_regression_range.py: removing dependency on https://codereview.chromium.org/2311393003/ and … #

Total comments: 8

Patch Set 5 : Addressing nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -123 lines) Patch
M appengine/findit/crash/crash_pipeline.py View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M appengine/findit/crash/detect_regression_range.py View 1 2 3 4 2 chunks +87 lines, -96 lines 0 comments Download
M appengine/findit/crash/test/detect_regression_range_test.py View 1 2 3 4 3 chunks +11 lines, -26 lines 0 comments Download

Messages

Total messages: 26 (14 generated)
Sharu Jiang
https://codereview.chromium.org/2325503002/diff/20001/appengine/findit/crash/detect_regression_range.py File appengine/findit/crash/detect_regression_range.py (right): https://codereview.chromium.org/2325503002/diff/20001/appengine/findit/crash/detect_regression_range.py#newcode153 appengine/findit/crash/detect_regression_range.py:153: historic_metadata[-max_win_size:], ['chrome_version', 'cpm']) We don't need this anymore. We ...
4 years, 3 months ago (2016-09-08 00:48:25 UTC) #2
wrengr (wrong one)
Removed the obviated GetAttributesListFromHistoricData. Still needs to have the unit tests updated before being ready ...
4 years, 3 months ago (2016-09-08 18:12:13 UTC) #3
Sharu Jiang
https://codereview.chromium.org/2325503002/diff/20001/appengine/findit/crash/detect_regression_range.py File appengine/findit/crash/detect_regression_range.py (right): https://codereview.chromium.org/2325503002/diff/20001/appengine/findit/crash/detect_regression_range.py#newcode153 appengine/findit/crash/detect_regression_range.py:153: historic_metadata[-max_win_size:], ['chrome_version', 'cpm']) On 2016/09/08 18:12:13, wrengr wrote: > ...
4 years, 3 months ago (2016-09-08 18:26:08 UTC) #4
wrengr (wrong one)
This is a new CL for cleaning up our detection of regression ranges. The difference ...
4 years, 3 months ago (2016-09-08 20:28:49 UTC) #13
Sharu Jiang
https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/detect_regression_range.py File appengine/findit/crash/detect_regression_range.py (right): https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/detect_regression_range.py#newcode23 appengine/findit/crash/detect_regression_range.py:23: """Given a time series, determine the regression ranges for ...
4 years, 3 months ago (2016-09-08 21:33:14 UTC) #14
wrengr (wrong one)
https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/test/detect_regression_range_test.py File appengine/findit/crash/test/detect_regression_range_test.py (right): https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/test/detect_regression_range_test.py#newcode25 appengine/findit/crash/test/detect_regression_range_test.py:25: e0 = ('1', 0.5) On 2016/09/08 21:33:14, sharu jiang ...
4 years, 3 months ago (2016-09-08 22:28:50 UTC) #15
Sharu Jiang
https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/test/detect_regression_range_test.py File appengine/findit/crash/test/detect_regression_range_test.py (right): https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/test/detect_regression_range_test.py#newcode25 appengine/findit/crash/test/detect_regression_range_test.py:25: e0 = ('1', 0.5) On 2016/09/08 22:28:50, wrengr (wrong ...
4 years, 3 months ago (2016-09-08 23:55:19 UTC) #16
Sharu Jiang
lgtm with nit in previous comments.
4 years, 3 months ago (2016-09-09 17:33:30 UTC) #17
commit-bot: I haz the power
This CL has an open dependency (Issue 2306823002 Patch 140001). Please resolve the dependency and ...
4 years, 3 months ago (2016-09-09 17:42:03 UTC) #20
stgao
lgtm with nits on style and docstrings. Once fixed, feel free for CQ. https://codereview.chromium.org/2325503002/diff/60001/appengine/findit/crash/detect_regression_range.py File ...
4 years, 3 months ago (2016-09-09 18:13:59 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2325503002/70001
4 years, 3 months ago (2016-09-09 20:02:29 UTC) #24
commit-bot: I haz the power
4 years, 3 months ago (2016-09-09 20:16:28 UTC) #26
Message was sent while issue was closed.
Committed patchset #5 (id:70001) as
https://chromium.googlesource.com/infra/infra/+/27d3c91752defc8bf2556775462f4...

Powered by Google App Engine
This is Rietveld 408576698