We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 419104d + 19ea203 commit 96e0bb7Copy full SHA for 96e0bb7
1 file changed
testgen/common/models/scores.py
@@ -204,7 +204,7 @@ def as_cached_score_card(self) -> "ScoreCard":
204
if self.cde_score:
205
history_categories.append("cde_score")
206
207
- for entry in self.history[:50]:
+ for entry in self.history[-50:]:
208
if entry.category in history_categories:
209
score_card["history"].append({"score": entry.score, "category": entry.category, "time": entry.last_run_time})
210
0 commit comments