AnlaAnla 1 неделя назад
Родитель
Сommit
884fcebb28
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/api/rating_report.py

+ 1 - 1
app/api/rating_report.py

@@ -142,7 +142,7 @@ def generate_rating_report(
         "cornerFrontNum": 0,
         "cornerFrontNum": 0,
         "sideFrontNum": 0,
         "sideFrontNum": 0,
         "surfaceFrontNum": 0,
         "surfaceFrontNum": 0,
-        "scoreThreshold": float(card_data.get("detection_score") or 0),
+        "scoreThreshold": float(card_data.get("modified_score") or 0),
         "evaluateNo": str(card_data.get("id")),
         "evaluateNo": str(card_data.get("id")),
         "defectDetailList": []
         "defectDetailList": []
     }
     }