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

Unified Diff: scripts/slave/recipe_modules/auto_bisect_staging/revision_state.py

Issue 2466113002: Adding display_values property for each revision. (Closed)
Patch Set: Created 4 years, 1 month 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 | « scripts/slave/recipe_modules/auto_bisect_staging/example.expected/return_code.json ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipe_modules/auto_bisect_staging/revision_state.py
diff --git a/scripts/slave/recipe_modules/auto_bisect_staging/revision_state.py b/scripts/slave/recipe_modules/auto_bisect_staging/revision_state.py
index 56ee11933e46999c81b72631f6a658a852a17bf6..8b3c89de6e43c8ec21a6db7809760b8479b9ba8c 100644
--- a/scripts/slave/recipe_modules/auto_bisect_staging/revision_state.py
+++ b/scripts/slave/recipe_modules/auto_bisect_staging/revision_state.py
@@ -128,6 +128,12 @@ class RevisionState(object):
len(self.return_codes))
@property
+ def display_values(self):
+ if self.bisector.is_return_code_mode():
+ return self.return_codes
+ return self.debug_values
+
+ @property
def mean(self):
if self.debug_values:
return float(sum(self.debug_values))/len(self.debug_values)
« no previous file with comments | « scripts/slave/recipe_modules/auto_bisect_staging/example.expected/return_code.json ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698