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

Side by Side Diff: appengine/findit/handlers/calculate_confidence_scores.py

Issue 2538373003: [Culprit-Finder] Merge lib/ to libs/. (Closed)
Patch Set: . Created 4 years 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
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 import datetime 5 import datetime
6 from collections import defaultdict 6 from collections import defaultdict
7 7
8 from google.appengine.ext import ndb 8 from google.appengine.ext import ndb
9 9
10 from common.base_handler import BaseHandler 10 from common.base_handler import BaseHandler
11 from common.base_handler import Permission 11 from common.base_handler import Permission
12 from common.waterfall import failure_type 12 from common.waterfall import failure_type
13 from lib import time_util 13 from libs import time_util
14 from model import analysis_approach_type 14 from model import analysis_approach_type
15 from model import suspected_cl_status 15 from model import suspected_cl_status
16 from model.suspected_cl_confidence import SuspectedCLConfidence 16 from model.suspected_cl_confidence import SuspectedCLConfidence
17 from model.suspected_cl_confidence import ConfidenceInformation 17 from model.suspected_cl_confidence import ConfidenceInformation
18 from model.wf_suspected_cl import WfSuspectedCL 18 from model.wf_suspected_cl import WfSuspectedCL
19 19
20 20
21 TRIAGED_STATUS = [ 21 TRIAGED_STATUS = [
22 suspected_cl_status.CORRECT, 22 suspected_cl_status.CORRECT,
23 suspected_cl_status.INCORRECT, 23 suspected_cl_status.INCORRECT,
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 4. Test Failures with Heuristic results 158 4. Test Failures with Heuristic results
159 5. Test Failures with try job results 159 5. Test Failures with try job results
160 6. Test Failures with both results 160 6. Test Failures with both results
161 """ 161 """
162 162
163 PERMISSION_LEVEL = Permission.ADMIN 163 PERMISSION_LEVEL = Permission.ADMIN
164 164
165 def HandleGet(self): 165 def HandleGet(self):
166 # Calculates confidence scores for results of the last half year. 166 # Calculates confidence scores for results of the last half year.
167 _SavesNewCLConfidence() 167 _SavesNewCLConfidence()
OLDNEW
« no previous file with comments | « appengine/findit/gae_libs/testcase.py ('k') | appengine/findit/handlers/crash/fracas_dashboard.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698