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

Unified Diff: scripts/slave/recipe_modules/auto_bisect/resources/significantly_different.py

Issue 2158413003: Parameters to significantly_different.py need to be parsed as lists. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Addressing feedback. Created 4 years, 5 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 | scripts/slave/recipe_modules/auto_bisect/resources/significantly_different_test.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect/resources/significantly_different.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/resources/significantly_different.py b/scripts/slave/recipe_modules/auto_bisect/resources/significantly_different.py
index 55b53eb5c1befed463e2e290948afc520cb513dc..77f0bc5bf6c579b151f2e8ec01a296615a82b89b 100644
--- a/scripts/slave/recipe_modules/auto_bisect/resources/significantly_different.py
+++ b/scripts/slave/recipe_modules/auto_bisect/resources/significantly_different.py
@@ -12,10 +12,10 @@ def main(argv, anaconda_path=None):
_, list_a, list_b, significance = argv
# Do not even test if there's a single repeated value on both samples.
- if len(set(list_a + list_b)) == 1:
+ if len(set(json.loads(list_a) + json.loads(list_b))) == 1:
return {
- 'first_sample': list_a,
- 'second_sample': list_b,
+ 'first_sample': json.loads(list_a),
+ 'second_sample': json.loads(list_b),
'mann_p_value': None,
'anderson_p_value': None,
'welch_p_value': None,
« no previous file with comments | « no previous file | scripts/slave/recipe_modules/auto_bisect/resources/significantly_different_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698