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

Side by Side Diff: appengine/findit/crash/fracas.py

Issue 2043973002: [Findit] Fracas crash triage dashboard (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Surpass pylint errors. 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 unified diff | Download patch
« no previous file with comments | « appengine/findit/common/time_util.py ('k') | appengine/findit/crash/fracas_crash_pipeline.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """Process crashes from Chrome crash server and find culprits for them.""" 5 """Process crashes from Chrome crash server and find culprits for them."""
6 6
7 import logging 7 import logging
8 8
9 from common import chromium_deps 9 from common import chromium_deps
10 from crash import detect_regression_range 10 from crash import detect_regression_range
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 culprit_results, crash_stack) 96 culprit_results, crash_stack)
97 suspected_components = ComponentClassifier().Classify( 97 suspected_components = ComponentClassifier().Classify(
98 culprit_results, crash_stack) 98 culprit_results, crash_stack)
99 99
100 culprit_results_list = [result.ToDict() for result in culprit_results] 100 culprit_results_list = [result.ToDict() for result in culprit_results]
101 101
102 return ( 102 return (
103 { 103 {
104 'found': (bool(suspected_project) or bool(suspected_components) or 104 'found': (bool(suspected_project) or bool(suspected_components) or
105 bool(culprit_results_list)), 105 bool(culprit_results_list)),
106 'regression_range': regression_versions,
106 'suspected_project': suspected_project, 107 'suspected_project': suspected_project,
107 'suspected_components': suspected_components, 108 'suspected_components': suspected_components,
108 'suspected_cls': culprit_results_list, 109 'suspected_cls': culprit_results_list,
109 }, 110 },
110 { 111 {
111 'found_suspects': bool(culprit_results_list), 112 'found_suspects': bool(culprit_results_list),
112 'has_regression_range': bool(regression_versions), 113 'has_regression_range': bool(regression_versions),
113 'solution': 'core_algorithm', 114 'solution': 'core_algorithm',
114 } 115 }
115 ) 116 )
OLDNEW
« no previous file with comments | « appengine/findit/common/time_util.py ('k') | appengine/findit/crash/fracas_crash_pipeline.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698