DawnC commited on
Commit
a75d5d4
1 Parent(s): fa01404

Update scoring_calculation_system.py

Browse files
Files changed (1) hide show
  1. scoring_calculation_system.py +1 -2
scoring_calculation_system.py CHANGED
@@ -1490,8 +1490,7 @@ def calculate_final_weighted_score(
1490
  breed_bonus = calculate_breed_bonus(breed_info, user_prefs)
1491
 
1492
  # 5. 最終分數計算 - 改變權重分配
1493
- raw_score = (weighted_base * 0.60) + (breed_bonus * 0.25) +
1494
- (adaptability_bonus * 0.10) + (condition_bonus * 0.05)
1495
 
1496
  # 6. 分數轉換 - 使用更激進的轉換函數
1497
  return amplify_score_extreme(raw_score)
 
1490
  breed_bonus = calculate_breed_bonus(breed_info, user_prefs)
1491
 
1492
  # 5. 最終分數計算 - 改變權重分配
1493
+ raw_score = (weighted_base * 0.60) + (breed_bonus * 0.25) + (adaptability_bonus * 0.10) + (condition_bonus * 0.05)
 
1494
 
1495
  # 6. 分數轉換 - 使用更激進的轉換函數
1496
  return amplify_score_extreme(raw_score)