Forráskód Böngészése

报告分数字段

AnlaAnla 1 hete
szülő
commit
884fcebb28
1 módosított fájl, 1 hozzáadás és 1 törlés
  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,
         "sideFrontNum": 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")),
         "defectDetailList": []
     }