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

Side by Side Diff: appengine/findit/model/suspected_cl_confidence.py

Issue 2488113005: [Findit] Re-org code. (Closed)
Patch Set: Rebase. 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 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 from google.appengine.ext import ndb 5 from google.appengine.ext import ndb
6 6
7 from gae_libs.model.versioned_model import VersionedModel
7 from lib.time_util import GetUTCNow 8 from lib.time_util import GetUTCNow
8 from model.versioned_model import VersionedModel
9 9
10 10
11 class ConfidenceInformation(ndb.Model): 11 class ConfidenceInformation(ndb.Model):
12 correct = ndb.IntegerProperty() 12 correct = ndb.IntegerProperty()
13 total = ndb.IntegerProperty() 13 total = ndb.IntegerProperty()
14 confidence = ndb.FloatProperty() 14 confidence = ndb.FloatProperty()
15 15
16 # score is specific for confidence of heuristic results. 16 # score is specific for confidence of heuristic results.
17 score = ndb.IntegerProperty(default=None) 17 score = ndb.IntegerProperty(default=None)
18 18
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
87 self.end_date = end_date 87 self.end_date = end_date
88 self.updated_time = GetUTCNow() 88 self.updated_time = GetUTCNow()
89 self.compile_heuristic = compile_heuristic 89 self.compile_heuristic = compile_heuristic
90 self.compile_try_job = compile_try_job 90 self.compile_try_job = compile_try_job
91 self.compile_heuristic_try_job = compile_heuristic_try_job 91 self.compile_heuristic_try_job = compile_heuristic_try_job
92 self.test_heuristic = test_heuristic 92 self.test_heuristic = test_heuristic
93 self.test_try_job = test_try_job 93 self.test_try_job = test_try_job
94 self.test_heuristic_try_job = test_heuristic_try_job 94 self.test_heuristic_try_job = test_heuristic_try_job
95 95
96 self.Save() 96 self.Save()
OLDNEW
« no previous file with comments | « appengine/findit/model/flake/master_flake_analysis.py ('k') | appengine/findit/model/test/versioned_config_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698