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

Unified Diff: telemetry/telemetry/internal/results/html_output_formatter_unittest.py

Issue 2087463002: [telemetry] Fix computation of standard deviations (Closed) Base URL: git@github.com:catapult-project/catapult@master
Patch Set: fix more unit tests Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | telemetry/telemetry/internal/story_runner_unittest.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: telemetry/telemetry/internal/results/html_output_formatter_unittest.py
diff --git a/telemetry/telemetry/internal/results/html_output_formatter_unittest.py b/telemetry/telemetry/internal/results/html_output_formatter_unittest.py
index c738e49afe9451d80dc34c9d81196d485ce89af3..198d961501046a42aaaf905a21ff09394ba211f5 100644
--- a/telemetry/telemetry/internal/results/html_output_formatter_unittest.py
+++ b/telemetry/telemetry/internal/results/html_output_formatter_unittest.py
@@ -78,7 +78,7 @@ class HtmlOutputFormatterTest(unittest.TestCase):
"metrics": {
"a": {
"current": [3, 7],
- "std": 2.8284271247461903,
+ "std": 0.0, # Only one sample per page.
"units": "seconds",
"important": True
},
@@ -134,7 +134,7 @@ class HtmlOutputFormatterTest(unittest.TestCase):
"a": {
"current": [3, 7],
"units": "seconds",
- "std": 2.8284271247461903,
+ "std": 0.0, # Only one sample per page.
"important": True
},
"telemetry_page_measurement_results.num_failed": {
@@ -167,7 +167,7 @@ class HtmlOutputFormatterTest(unittest.TestCase):
"metrics": {
"a": {
"current": [4, 8],
- 'std': 2.8284271247461903,
+ 'std': 0.0, # Only one sample per page.
"units": "seconds",
"important": True
},
@@ -224,7 +224,7 @@ class HtmlOutputFormatterTest(unittest.TestCase):
"metrics": {
"a": {
"current": [5, 9],
- 'std': 2.8284271247461903,
+ 'std': 0.0, # Only one sample per page.
"units": "seconds",
"important": True
},
« no previous file with comments | « no previous file | telemetry/telemetry/internal/story_runner_unittest.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698