Spaces:
Running
on
Zero
Running
on
Zero
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
@@ -207,7 +207,7 @@ def calculate_breed_bonus(breed_info: dict, user_prefs: UserPreferences) -> floa
|
|
207 |
|
208 |
bonus += max(-0.25, min(0.25, personality_score))
|
209 |
|
210 |
-
|
211 |
breed_info.get('Exercise_Needs', 'MODERATE'),
|
212 |
user_prefs.exercise_time,
|
213 |
user_prefs.exercise_type
|
|
|
207 |
|
208 |
bonus += max(-0.25, min(0.25, personality_score))
|
209 |
|
210 |
+
exercise_match = calculate_exercise_match(
|
211 |
breed_info.get('Exercise_Needs', 'MODERATE'),
|
212 |
user_prefs.exercise_time,
|
213 |
user_prefs.exercise_type
|