HomeSort by relevance Sort by last modified time
    Searched refs:anomaly_entity (Results 1 - 18 of 18) sorted by null

  /external/chromium-trace/catapult/dashboard/dashboard/
auto_triage.py 173 for anomaly_entity in anomalies:
174 if _IsAnomalyRecovered(anomaly_entity):
175 anomaly_entity.recovered = True
176 recovered_anomalies.append(anomaly_entity)
181 def _IsAnomalyRecovered(anomaly_entity):
189 anomaly_entity: The original regression Anomaly.
194 test = anomaly_entity.test.get()
197 utils.TestPath(anomaly_entity.test),
198 anomaly_entity)
199 anomaly_entity.key.delete(
    [all...]
email_summary.py 85 for anomaly_entity in anomalies:
86 if anomaly_entity.start_revision < lowest_revision:
87 lowest_revision = anomaly_entity.start_revision
88 if anomaly_entity.end_revision > highest_revision:
89 highest_revision = anomaly_entity.end_revision
101 for anomaly_entity in anomalies:
102 test = anomaly_entity.test.get()
103 anomaly_info = email_template.GetAlertInfo(anomaly_entity, test)
main.py 112 for anomaly_entity in anomalies:
114 test = tests.get(anomaly_entity.test)
116 logging.warning('No Test entity for key: %s.', anomaly_entity.test)
119 graph_link = email_template.GetGroupReportPageLink(anomaly_entity)
121 'key': anomaly_entity.key.urlsafe(),
122 'bug_id': anomaly_entity.bug_id or '',
123 'start_revision': anomaly_entity.start_revision,
124 'end_revision': anomaly_entity.end_revision,
129 'percent_changed': anomaly_entity.GetDisplayPercentChanged(),
130 'color_class': _GetColorClass(abs(anomaly_entity.percent_changed))
    [all...]
associate_alerts_test.py 139 for anomaly_entity in anomaly.Anomaly.query().fetch():
140 if anomaly_entity.end_revision in (10000, 9996):
141 self.assertEqual(12345, anomaly_entity.bug_id)
142 elif anomaly_entity.end_revision != 9997:
143 self.assertIsNone(anomaly_entity.bug_id)
180 for anomaly_entity in anomaly.Anomaly.query().fetch():
181 if anomaly_entity.end_revision != 9997:
182 self.assertIsNone(anomaly_entity.bug_id)
194 for anomaly_entity in anomaly.Anomaly.query().fetch():
195 if anomaly_entity.end_revision in (10000, 10010)
    [all...]
alerts_test.py 59 anomaly_entity = anomaly.Anomaly(
63 anomaly_entity.SetIsImprovement()
64 anomaly_key = anomaly_entity.put()
71 anomaly_entity = anomaly.Anomaly(
75 anomaly_entity.SetIsImprovement()
76 anomaly_key = anomaly_entity.put()
84 anomaly_entity = anomaly.Anomaly(
88 anomaly_entity.SetIsImprovement()
89 anomaly_key = anomaly_entity.put()
90 self.assertTrue(anomaly_entity.is_improvement
    [all...]
alerts.py 146 def GetAnomalyDict(anomaly_entity, bisect_status=None):
150 anomaly_entity: An Anomaly entity.
156 alert_dict = _AlertDict(anomaly_entity)
158 'median_after_anomaly': anomaly_entity.median_after_anomaly,
159 'median_before_anomaly': anomaly_entity.median_before_anomaly,
160 'percent_changed': '%s' % anomaly_entity.GetDisplayPercentChanged(),
161 'improvement': anomaly_entity.is_improvement,
163 'recovered': anomaly_entity.recovered,
file_bug_test.py 117 anomaly_entity = alert_keys[0].get()
118 anomaly_entity.internal_only = True
119 anomaly_entity.put()
176 for anomaly_entity in anomaly.Anomaly.query().fetch():
177 if anomaly_entity.end_revision in [112005, 112010]:
178 self.assertEqual(277761, anomaly_entity.bug_id)
180 self.assertIsNone(anomaly_entity.bug_id)
group_report.py 128 for i, anomaly_entity in enumerate(requested_anomalies):
129 if anomaly_entity is None:
152 for anomaly_entity in requested_anomalies:
153 if anomaly_entity.key not in key_set:
154 anomalies.append(anomaly_entity)
change_internal_only.py 164 for anomaly_entity in anomalies:
165 if anomaly_entity.internal_only != internal_only:
166 anomaly_entity.internal_only = internal_only
find_anomalies.py 79 for anomaly_entity in anomalies:
80 if (anomaly_entity.bug_id is None and
81 not anomaly_entity.is_improvement and
83 email_sheriff.EmailSheriff(sheriff, test, anomaly_entity)
auto_bisect.py 238 for anomaly_entity in anomalies[index:]:
239 if can_bisect.IsValidTestForBisect(utils.TestPath(anomaly_entity.test)):
240 return anomaly_entity.test.get()
stats.py 425 def _AddAlert(self, anomaly_entity, details):
429 anomaly_entity: An Anomaly entity.
432 test_path_parts = anomaly_entity.test.flat()[1::2]
436 trace = anomaly_entity.test.string_id()
438 anomaly_entity.percent_changed)
445 if anomaly_entity.bug_id:
446 self._IncrementDict(details['bug_ids'], anomaly_entity.bug_id)
email_sheriff_test.py 43 anomaly_entity = anomaly.Anomaly(
53 'anomaly': anomaly_entity
update_bug_with_results.py 225 for anomaly_entity in anomalies:
226 anomaly_entity.bug_id = int(dest_bug_id)
migrate_test_names.py 399 for anomaly_entity in anomalies_to_update:
400 anomaly_entity.test = new_parent_key
graph_json.py 229 anomaly_entity = anomaly_annotation_map.get(row.revision)
230 point_info['g_anomaly'] = alerts.GetAnomalyDict(anomaly_entity)
  /external/chromium-trace/catapult/dashboard/dashboard/models/
alert_group.py 149 def _AddLogForBugAssociate(anomaly_entity, bug_id):
151 sheriff = anomaly_entity.test.get().sheriff
158 test_path = utils.TestPath(anomaly_entity.test)
alert_group_test.py 203 anomaly_entity = anomaly.Anomaly(
207 return anomaly_entity

Completed in 448 milliseconds