Formatting

This commit is contained in:
Jamie Hardt
2025-08-26 17:21:03 -07:00
parent 5ea64d089f
commit fb56ca1dd4
2 changed files with 12 additions and 8 deletions

View File

@@ -107,8 +107,9 @@ def evaluate(dataset, offset, limit):
miss_counts = []
for cat in cats:
miss_counts.append((cat, len([x for x in results
if x['catid'] == cat and x['result'] == 'MISS'])))
miss_counts.append(
(cat, len([x for x in results
if x['catid'] == cat and x['result'] == 'MISS'])))
miss_counts = sorted(miss_counts, key=lambda x: x[1])