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

Issue 2087463002: [telemetry] Fix computation of standard deviations (Closed)

Created:
4 years, 6 months ago by perezju
Modified:
4 years, 6 months ago
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Base URL:
git@github.com:catapult-project/catapult@master
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

[telemetry] Fix computation of standard deviations Fixes computation of standard deviation in ListOfScalarValues so that: - regular standard deviation is always used when merging values from the same page, - pooled standard deviation is always used when mergning values from different pages. Note: This means that metrics in a benchmark that only collect one value per page will get a std of 0.0. (At least two samples per page are needed for the pooled stdev to be defined.) BUG=catapult:#2369 Committed: https://chromium.googlesource.com/external/github.com/catapult-project/catapult/+/dc09b776a2fe2c211d96f3e34dd906516f8f8b18

Patch Set 1 #

Total comments: 5

Patch Set 2 : fixed nits #

Patch Set 3 : fix more unit tests #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -23 lines) Patch
M telemetry/telemetry/internal/results/html_output_formatter_unittest.py View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M telemetry/telemetry/internal/story_runner_unittest.py View 1 2 2 chunks +3 lines, -1 line 0 comments Download
M telemetry/telemetry/value/list_of_scalar_values.py View 1 3 chunks +8 lines, -4 lines 0 comments Download
M telemetry/telemetry/value/list_of_scalar_values_unittest.py View 1 4 chunks +10 lines, -7 lines 0 comments Download
M telemetry/telemetry/value/summary.py View 1 chunk +1 line, -1 line 0 comments Download
M telemetry/telemetry/value/summary_unittest.py View 5 chunks +10 lines, -6 lines 0 comments Download

Messages

Total messages: 17 (7 generated)
perezju
https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values_unittest.py File telemetry/telemetry/value/list_of_scalar_values_unittest.py (right): https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values_unittest.py#newcode109 telemetry/telemetry/value/list_of_scalar_values_unittest.py:109: self.assertAlmostEqual(156.88849, vM.std, places=4) I've left on purpose the original ...
4 years, 6 months ago (2016-06-20 16:13:18 UTC) #2
petrcermak
lgtm https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values_unittest.py File telemetry/telemetry/value/list_of_scalar_values_unittest.py (right): https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values_unittest.py#newcode221 telemetry/telemetry/value/list_of_scalar_values_unittest.py:221: # Values from same page use regular standard ...
4 years, 6 months ago (2016-06-20 16:52:25 UTC) #3
nednguyen
lgtm if Ethan is happy
4 years, 6 months ago (2016-06-20 17:23:02 UTC) #4
eakuefner
lgtm https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values.py File telemetry/telemetry/value/list_of_scalar_values.py (right): https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values.py#newcode220 telemetry/telemetry/value/list_of_scalar_values.py:220: # ListOfScalarValues' constructor. supernit: s/s'/s's/
4 years, 6 months ago (2016-06-20 17:26:32 UTC) #5
perezju
https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values.py File telemetry/telemetry/value/list_of_scalar_values.py (right): https://codereview.chromium.org/2087463002/diff/1/telemetry/telemetry/value/list_of_scalar_values.py#newcode220 telemetry/telemetry/value/list_of_scalar_values.py:220: # ListOfScalarValues' constructor. On 2016/06/20 17:26:32, eakuefner wrote: > ...
4 years, 6 months ago (2016-06-21 09:48:07 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087463002/20001
4 years, 6 months ago (2016-06-21 09:48:26 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Catapult Windows Tryserver on master.tryserver.client.catapult (JOB_FAILED, https://build.chromium.org/p/tryserver.client.catapult/builders/Catapult%20Windows%20Tryserver/builds/3490)
4 years, 6 months ago (2016-06-21 09:59:55 UTC) #11
perezju
Some more unittests need updating. I'm sheriffing android bots today/tomorrow, will get back to this ...
4 years, 6 months ago (2016-06-21 10:05:23 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087463002/40001
4 years, 6 months ago (2016-06-23 11:07:26 UTC) #15
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 11:41:48 UTC) #17
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://chromium.googlesource.com/external/github.com/catapult-project/catapu...

Powered by Google App Engine
This is Rietveld 408576698