DawnC commited on
Commit
7803b7b
โ€ข
1 Parent(s): 14daade

Update scoring_calculation_system.py

Browse files
Files changed (1) hide show
  1. scoring_calculation_system.py +1 -3
scoring_calculation_system.py CHANGED
@@ -1598,9 +1598,7 @@ def calculate_breed_compatibility_score(
1598
  breed_bonus = calculate_breed_bonus(breed_info, user_prefs)
1599
 
1600
  # 7. ๆ•ดๅˆๆœ€็ต‚ๅˆ†ๆ•ธ
1601
- final_score = (base_score * 0.70) +
1602
- (breed_bonus * 0.20) +
1603
- (adaptability_bonus * 0.10)
1604
 
1605
  # 8. ่ฝ‰ๆ›ๅ’Œ้™ๅˆถๅˆ†ๆ•ธ็ฏ„ๅœ
1606
  return amplify_score_extreme(final_score)
 
1598
  breed_bonus = calculate_breed_bonus(breed_info, user_prefs)
1599
 
1600
  # 7. ๆ•ดๅˆๆœ€็ต‚ๅˆ†ๆ•ธ
1601
+ final_score = (base_score * 0.70) + (breed_bonus * 0.20) + (adaptability_bonus * 0.10)
 
 
1602
 
1603
  # 8. ่ฝ‰ๆ›ๅ’Œ้™ๅˆถๅˆ†ๆ•ธ็ฏ„ๅœ
1604
  return amplify_score_extreme(final_score)