Lines Matching full:rating
38 case, determining the rating for that case, which can be:
91 rating = RATING_FAILURE
95 rating = RATING_REGRESSION
97 rating = RATING_IMPROVEMENT
99 rating = RATING_NO_CHANGE
101 rating = RATING_SMALL_CHANGE
103 case_result = CaseResult(case_name, before, after, ratio, rating)
139 "rating": "failure"
145 "rating": "regression"
151 "rating": "regression"
157 "rating": "small_change"
163 "rating": "no_change"
169 "rating": "improvement"
192 self.rating_counter[case_result.rating] += 1
198 def GetCount(self, rating): argument
199 """Gets the number of test cases processed with a given rating."""
200 return self.rating_counter[rating]
205 for rating in RATINGS:
206 result[rating] = self.GetCount(rating)
213 def __init__(self, case_name, before, after, ratio, rating): argument
221 rating: Rating for this test case.
227 self.rating = rating
235 'rating': self.rating
264 color = RATING_TO_COLOR[case_dict['rating']]
266 if case_dict['rating'] == RATING_FAILURE: