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

Unified Diff: appengine/findit/model/suspected_cl_status.py

Issue 2320153003: [Findit] Datamodel change for triaging at CL level. (Closed)
Patch Set: change index.yaml Created 4 years, 3 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
Index: appengine/findit/model/suspected_cl_status.py
diff --git a/appengine/findit/model/suspected_cl_status.py b/appengine/findit/model/suspected_cl_status.py
new file mode 100644
index 0000000000000000000000000000000000000000..a0dbc7c34b32994b99cc5e084752feb91ba107d2
--- /dev/null
+++ b/appengine/findit/model/suspected_cl_status.py
@@ -0,0 +1,18 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+# Represents triage result of a suspected cl.
+CORRECT = 0
+INCORRECT = 1
+PARTIALLY_CORRECT = 2
+PARTIALLY_TRIAGED = 3
+
+
+RESULT_STATUS_TO_DESCRIPTION = {
+ CORRECT: 'Correct',
+ INCORRECT: 'Incorrect',
+ PARTIALLY_CORRECT: 'Partially Correct',
+ PARTIALLY_TRIAGED: 'Partially triaged'
+}

Powered by Google App Engine
This is Rietveld 408576698