Spaces:
Running
Running
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
@@ -1523,8 +1523,7 @@ def calculate_final_weighted_score(
|
|
1523 |
breed_bonus = calculate_breed_bonus(breed_info, user_prefs)
|
1524 |
|
1525 |
# 最終分數計算 - 加大特殊條件的影響
|
1526 |
-
final_score = (weighted_base * 0.65) + (breed_bonus * 0.15) +
|
1527 |
-
(adaptability_bonus * 0.10) + (special_conditions * 0.10)
|
1528 |
|
1529 |
# 分數放大,使差異更明顯
|
1530 |
if final_score > 0.8:
|
|
|
1523 |
breed_bonus = calculate_breed_bonus(breed_info, user_prefs)
|
1524 |
|
1525 |
# 最終分數計算 - 加大特殊條件的影響
|
1526 |
+
final_score = (weighted_base * 0.65) + (breed_bonus * 0.15) + (adaptability_bonus * 0.10) + (special_conditions * 0.10)
|
|
|
1527 |
|
1528 |
# 分數放大,使差異更明顯
|
1529 |
if final_score > 0.8:
|