mirror of
https://github.com/open-compass/opencompass.git
synced 2025-05-30 16:03:24 +08:00
fix lint
This commit is contained in:
parent
7f31ef7357
commit
4322b4a470
@ -144,7 +144,7 @@ class SuperGPQAEvaluator(BaseEvaluator):
|
||||
sample['status'] = 'correct'
|
||||
stats[level][key]['correct'] += 1
|
||||
stats[level][key]['difficulty'][difficulty]['correct'] += 1
|
||||
elif predict == None or predict == '':
|
||||
elif predict is None or predict == '':
|
||||
miss += 1
|
||||
sample['status'] = 'miss'
|
||||
stats[level][key]['miss'] += 1
|
||||
|
Loading…
Reference in New Issue
Block a user