Fix: empty accuracy requests
This commit is contained in:
parent
3eac878f3a
commit
4c075aea69
@ -847,7 +847,6 @@ def calculate_a_request(report, request):
|
|||||||
rv_avg_acc = avg_dict(att["acc"]["reviewed"])
|
rv_avg_acc = avg_dict(att["acc"]["reviewed"])
|
||||||
|
|
||||||
image.is_required = fb_avg_acc < settings.BAD_THRESHOLD
|
image.is_required = fb_avg_acc < settings.BAD_THRESHOLD
|
||||||
image.is_reviewed = rv_avg_acc > 0
|
|
||||||
|
|
||||||
if image.processing_time < 0:
|
if image.processing_time < 0:
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user