Home | History | Annotate | Download | only in tools

Lines Matching refs:rating

43   case, determining the rating for that case, which can be:
96 rating = RATING_FAILURE
100 rating = RATING_REGRESSION
102 rating = RATING_IMPROVEMENT
104 rating = RATING_NO_CHANGE
106 rating = RATING_SMALL_CHANGE
108 case_result = CaseResult(case_name, before, after, ratio, rating)
144 "rating": "failure"
150 "rating": "regression"
156 "rating": "regression"
162 "rating": "small_change"
168 "rating": "no_change"
174 "rating": "improvement"
197 self.rating_counter[case_result.rating] += 1
203 def GetCount(self, rating):
204 """Gets the number of test cases processed with a given rating."""
205 return self.rating_counter[rating]
210 for rating in RATINGS:
211 result[rating] = self.GetCount(rating)
218 def __init__(self, case_name, before, after, ratio, rating):
226 rating: Rating for this test case.
232 self.rating = rating
239 'rating': self.rating}
269 color = RATING_TO_COLOR[case_dict['rating']]
271 if case_dict['rating'] == RATING_FAILURE: