From 4322b4a470807bbf457c497ba8f73435886fb7b9 Mon Sep 17 00:00:00 2001 From: MaiziXiao Date: Tue, 11 Mar 2025 09:37:39 +0000 Subject: [PATCH] fix lint --- opencompass/datasets/supergpqa/supergpqa.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opencompass/datasets/supergpqa/supergpqa.py b/opencompass/datasets/supergpqa/supergpqa.py index eabb2628..7193722d 100644 --- a/opencompass/datasets/supergpqa/supergpqa.py +++ b/opencompass/datasets/supergpqa/supergpqa.py @@ -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