Spaces:
Running
Running
Update scoring_calculation_system.py
Browse files
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)
|