Spaces:
Sleeping
Sleeping
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
@@ -1248,7 +1248,9 @@ def calculate_compatibility_score(breed_info: dict, user_prefs: UserPreferences)
|
|
1248 |
'exercise': calculate_exercise_score(
|
1249 |
breed_info.get('Exercise Needs', 'Moderate'),
|
1250 |
user_prefs.exercise_time,
|
1251 |
-
user_prefs.exercise_type
|
|
|
|
|
1252 |
),
|
1253 |
'grooming': calculate_grooming_score(
|
1254 |
breed_info.get('Grooming Needs', 'Moderate'),
|
|
|
1248 |
'exercise': calculate_exercise_score(
|
1249 |
breed_info.get('Exercise Needs', 'Moderate'),
|
1250 |
user_prefs.exercise_time,
|
1251 |
+
user_prefs.exercise_type,
|
1252 |
+
breed_info['Size'],
|
1253 |
+
user_prefs.living_space
|
1254 |
),
|
1255 |
'grooming': calculate_grooming_score(
|
1256 |
breed_info.get('Grooming Needs', 'Moderate'),
|