From 36c94186d45de738af85d50eb97b9f7f321a92cc Mon Sep 17 00:00:00 2001 From: Gunnar Kreitz Date: Tue, 28 Apr 2026 09:34:20 +0200 Subject: [PATCH] Fix partially_accepted warning being super spammy in some scenarios --- problemtools/verifyproblem.py | 1 + 1 file changed, 1 insertion(+) diff --git a/problemtools/verifyproblem.py b/problemtools/verifyproblem.py index e62651b1..72a0a2f2 100644 --- a/problemtools/verifyproblem.py +++ b/problemtools/verifyproblem.py @@ -1158,6 +1158,7 @@ def _warn_pac_too_slow(self, judge: SubmissionJudge, results: list[SubmissionRes for t in sorted(r.runtime for r in results if r.runtime > runtime_without_affecting_tl): if judge.judge(t)[-1].verdict == 'AC': self.warning(f'{desc} is slower than all AC submissions. It needs {t:.2f}s to get AC') + return def _get_table_groups(self) -> list[TestCaseGroup]: """Return the groups to show as columns: expand any root child that has subgroups."""