From 4c075aea699daa00975a7e504839d5a28547670c Mon Sep 17 00:00:00 2001 From: TannedCung Date: Thu, 6 Jun 2024 13:15:42 +0700 Subject: [PATCH] Fix: empty accuracy requests --- cope2n-api/fwd_api/utils/accuracy.py | 1 - 1 file changed, 1 deletion(-) diff --git a/cope2n-api/fwd_api/utils/accuracy.py b/cope2n-api/fwd_api/utils/accuracy.py index ceced56..66bea04 100755 --- a/cope2n-api/fwd_api/utils/accuracy.py +++ b/cope2n-api/fwd_api/utils/accuracy.py @@ -847,7 +847,6 @@ def calculate_a_request(report, request): rv_avg_acc = avg_dict(att["acc"]["reviewed"]) image.is_required = fb_avg_acc < settings.BAD_THRESHOLD - image.is_reviewed = rv_avg_acc > 0 if image.processing_time < 0: continue