Fix: empty accuracy requests

This commit is contained in:
TannedCung 2024-06-06 13:15:42 +07:00
parent 3eac878f3a
commit 4c075aea69

View File

@ -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