Lines Matching refs:bench
197 for bench in TestBench.query().fetch():
198 bench_id = bench.key.integer_id()
202 invalid_anomaly_rev_set = _Flatten(bench.invalid_anomaly_revs)
203 confirmed_anomaly_rev_set = _Flatten(bench.confirmed_anomaly_revs)
204 base_anomaly_rev_set = _Flatten(bench.base_anomaly_revs)
206 _UnconfirmedAlertLinks(bench, change_points_as_lists))
208 _ExtraAlertLinks(bench, change_points_as_lists))
221 total_base_alerts += len(bench.base_anomaly_revs)
222 total_base_invalid_alerts += len(bench.invalid_anomaly_revs)
223 total_base_confirmed_alerts += len(bench.confirmed_anomaly_revs)
243 def _UnconfirmedAlertLinks(bench, change_points_as_lists): argument
272 for confirmed_rev_group in bench.confirmed_anomaly_revs:
278 return [_GraphLink(bench.test, rev) for rev in unconfirmed_revs]
281 def _ExtraAlertLinks(bench, change_points_as_lists): argument
297 confirmed_revs = _Flatten(bench.confirmed_anomaly_revs)
298 invalid_revs = _Flatten(bench.invalid_anomaly_revs)
301 return [_GraphLink(bench.test, rev) for rev in extra_revs]