HomeSort by relevance Sort by last modified time
    Searched refs:anomaly (Results 1 - 25 of 44) sorted by null

1 2

  /external/chromium-trace/catapult/dashboard/dashboard/
units_to_direction_test.py 9 from dashboard.models import anomaly
21 anomaly.DOWN, units_to_direction.GetImprovementDirection('ms'))
23 anomaly.UP, units_to_direction.GetImprovementDirection('score'))
25 anomaly.UNKNOWN,
33 anomaly.UNKNOWN, units_to_direction.GetImprovementDirection('runs/s'))
39 anomaly.UP, units_to_direction.GetImprovementDirection('runs/s'))
47 anomaly.UP, units_to_direction.GetImprovementDirection('score'))
52 anomaly.UNKNOWN, units_to_direction.GetImprovementDirection('score'))
59 anomaly.DOWN, units_to_direction.GetImprovementDirection('ms'))
64 anomaly.UP, units_to_direction.GetImprovementDirection('ms')
    [all...]
email_sheriff.py 14 def EmailSheriff(sheriff, test, anomaly):
15 """Sends an email to the sheriff on duty about the given anomaly.
19 test: The graph_data.Test entity associated with the anomaly.
20 anomaly: The anomaly.Anomaly entity.
26 anomaly_info = email_template.GetAlertInfo(anomaly, test)
units_to_direction.py 9 from dashboard.models import anomaly
20 return anomaly.UNKNOWN
23 return anomaly.UNKNOWN
25 return anomaly.UP
26 return anomaly.DOWN
associate_alerts_test.py 19 from dashboard.models import anomaly
53 """Adds sample Anomaly data and returns a dict of revision to key."""
61 anomaly_key = anomaly.Anomaly(
67 # Add an anomaly that overlaps.
68 anomaly_key = anomaly.Anomaly(
74 # Add an anomaly that overlaps and has bug ID.
75 anomaly_key = anomaly.Anomaly(
    [all...]
main_test.py 13 from dashboard.models import anomaly
38 foo_anomaly = anomaly.Anomaly(
68 foo_anomaly = anomaly.Anomaly(
email_summary.py 14 from dashboard.models import anomaly
67 recent_anomalies = anomaly.Anomaly.query(
68 anomaly.Anomaly.sheriff == sheriff_entity.key,
69 anomaly.Anomaly.timestamp > start_time).fetch()
auto_triage.py 24 from dashboard.models import anomaly
55 This will include updating Anomaly entities, and checking whether they
92 query = anomaly.Anomaly.query(
93 anomaly.Anomaly.sheriff == key,
94 anomaly.Anomaly.bug_id == None,
95 anomaly.Anomaly.is_improvement == False
    [all...]
group_report.py 18 from dashboard.models import anomaly
42 keys: A comma-separated list of urlsafe Anomaly keys (optional).
77 anomaly_query = anomaly.Anomaly.query(
78 anomaly.Anomaly.bug_id == bug_id)
97 # Anomaly entities based on one of these, then filter the resulting list.
98 anomaly_query = anomaly.Anomaly.query(anomaly.Anomaly.end_revision >= rev
    [all...]
find_anomalies_test.py 14 from dashboard.models import anomaly
63 """Custom matcher to test if an anomaly matches a given end rev."""
147 anomalies = anomaly.Anomaly.query().fetch()
166 anomalies, test.key, percent_changed=100, direction=anomaly.UP,
172 anomalies, test.key, percent_changed=-50, direction=anomaly.DOWN,
179 direction=anomaly.UP, start_revision=10057, end_revision=10061,
185 anomalies, test.key, percent_changed=100, direction=anomaly.DOWN,
200 test.improvement_direction = anomaly.DOWN
203 anomalies = anomaly.Anomaly.query().fetch(
    [all...]
stats_test.py 17 from dashboard.models import anomaly
77 test.improvement_direction = anomaly.DOWN
79 test.improvement_direction = anomaly.UP
100 anomaly.Anomaly(
108 anomaly.Anomaly(
116 anomaly.Anomaly(
124 anomaly.Anomaly
    [all...]
bench_find_anomalies_test.py 17 from dashboard.models import anomaly
42 improvement_direction=anomaly.UNKNOWN, config=None):
82 anomaly_key = anomaly.Anomaly(
96 test = self._AddTestData('test', _SAMPLE_SERIES, anomaly.DOWN)
148 test = self._AddTestData('test', _SAMPLE_SERIES, anomaly.DOWN)
alerts.py 15 from dashboard.models import anomaly
79 """Fetches the list of Anomaly keys that may be shown.
87 A list of Anomaly keys, in reverse-chronological order.
89 query = anomaly.Anomaly.query(
90 anomaly.Anomaly.sheriff == sheriff_key)
94 anomaly.Anomaly.is_improvement == False)
98 anomaly.Anomaly.bug_id == None
    [all...]
main.py 15 from dashboard.models import anomaly
66 A list of Anomaly entities sorted from large to small relative change.
69 anomalies_query = anomaly.Anomaly.query(
70 anomaly.Anomaly.timestamp > oldest_time,
71 anomaly.Anomaly.sheriff == sheriff)
87 """Returns a CSS class name for the anomaly, based on percent changed."""
141 recent_anomalies: A list of Anomaly entities sorted from large to small
    [all...]
dump_graph_json.py 19 from dashboard.models import anomaly
24 # entities for each anomaly.
51 Test, Row, Anomaly and Sheriff entities).
71 # Get the Anomaly and Sheriff entities.
72 alerts = anomaly.Anomaly.query().filter(
73 anomaly.Anomaly.test == test_key).fetch()
84 """Dumps Anomaly data for all sheriffs.
89 num_alerts: Max number of Anomaly entities (optional)
    [all...]
email_sheriff_test.py 16 from dashboard.models import anomaly
33 test.improvement_direction = anomaly.DOWN
40 """Adds an Anomaly and returns arguments for email_sheriff.EmailSheriff."""
43 anomaly_entity = anomaly.Anomaly(
53 'anomaly': anomaly_entity
134 args['anomaly'].median_before_anomaly = 0.0
138 self.assertIn(anomaly.FREAKIN_HUGE, str(messages[0].subject))
140 self.assertIn(anomaly.FREAKIN_HUGE, str(messages[0].body))
142 self.assertIn(anomaly.FREAKIN_HUGE, str(messages[0].html)
    [all...]
alerts_test.py 14 from dashboard.models import anomaly
53 test.improvement_direction = anomaly.DOWN
59 anomaly_entity = anomaly.Anomaly(
71 anomaly_entity = anomaly.Anomaly(
84 anomaly_entity = anomaly.Anomaly(
160 anomalies = anomaly.Anomaly.query
    [all...]
auto_bisect_test.py 18 from dashboard.models import anomaly
42 anomaly.Anomaly(
109 anomaly.Anomaly(
121 anomaly.Anomaly(
135 anomaly.Anomaly(
160 anomaly.Anomaly
    [all...]
auto_triage_test.py 16 from dashboard.models import anomaly
31 improvement_direction=anomaly.UP):
37 improvement_direction: One of {anomaly.UP, anomaly.DOWN, anomaly.UNKNOWN}.
57 """Adds a sample Anomaly and returns the key."""
62 return anomaly.Anomaly(
188 series, sheriff_key, improvement_direction=anomaly.DOWN)
212 series, sheriff_key, improvement_direction=anomaly.DOWN
    [all...]
edit_anomalies_test.py 16 from dashboard.models import anomaly
33 anomaly.Anomaly(start_revision=123456,
38 anomaly.Anomaly(start_revision=123460,
43 anomaly.Anomaly(start_revision=123465,
48 return anomaly.Anomaly.query().fetch(keys_only=True)
associate_alerts.py 16 from dashboard.models import anomaly
115 # Get Anomaly entities and related Test entities.
147 anomalies_with_bug = anomaly.Anomaly.query(
148 anomaly.Anomaly.bug_id == bug_id).fetch()
184 also be gotten by querying the datastore for Anomaly entities for
change_internal_only.py 15 from dashboard.models import anomaly
159 # Update all of the Anomaly entities for this test.
162 query = anomaly.Anomaly.query(anomaly.Anomaly.test == test_key)
change_internal_only_test.py 13 from dashboard.models import anomaly
47 anomaly.Anomaly(
97 # Verify that Anomaly entities were changed.
98 anomalies = anomaly.Anomaly.query().fetch()
dump_graph_json_test.py 16 from dashboard.models import anomaly
102 anomaly.Anomaly(sheriff=sheriff_key, test=test_key).put()
104 # Anomaly entities for the requested test, as well as sheriffs for
105 # the aforementioned Anomaly, should be returned.
112 anomalies = _EntitiesOfKind(entities, 'Anomaly')
130 anomaly.Anomaly(sheriff=chromium_sheriff, test=test_key_foo).put()
131 anomaly.Anomaly(sheriff=qa_sheriff, test=test_key_bar).put(
    [all...]
  /external/chromium-trace/catapult/dashboard/dashboard/models/
alert_test.py 10 from dashboard.models import anomaly
14 """Test case for some functions in anomaly."""
22 anomaly.Anomaly(test=utils.TestKey('SuperGPU/Bot1/foo/bar')).put()
23 anomaly.Anomaly(test=utils.TestKey('SuperGPU/Bot1/foo/bar')).put()
24 anomalies = anomaly.Anomaly.query().fetch()
32 anomaly.Anomaly(test=utils.TestKey('SuperGPU/Bot1/foo/bar')).put(
    [all...]
alert_group_test.py 12 from dashboard.models import anomaly
18 """Test case for the behavior of updating anomaly groups."""
28 first_paint_test.improvement_direction = anomaly.DOWN
35 alert_kind='Anomaly',
40 alert_kind='Anomaly',
45 anomaly.Anomaly(
50 anomaly.Anomaly(
55 anomaly.Anomaly
    [all...]

Completed in 1076 milliseconds

1 2