Spaces:
Running
on
Zero
Running
on
Zero
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
@@ -1444,8 +1444,8 @@ def calculate_compatibility_score(breed_info: dict, user_prefs: UserPreferences)
|
|
1444 |
),
|
1445 |
'exercise': calculate_exercise_score(
|
1446 |
breed_info.get('Exercise Needs', 'Moderate'),
|
1447 |
-
user_prefs.
|
1448 |
-
user_prefs.
|
1449 |
),
|
1450 |
'grooming': calculate_grooming_score(
|
1451 |
breed_info.get('Grooming Needs', 'Moderate'),
|
|
|
1444 |
),
|
1445 |
'exercise': calculate_exercise_score(
|
1446 |
breed_info.get('Exercise Needs', 'Moderate'),
|
1447 |
+
user_prefs.exercise_time,
|
1448 |
+
user_prefs.exercise_type
|
1449 |
),
|
1450 |
'grooming': calculate_grooming_score(
|
1451 |
breed_info.get('Grooming Needs', 'Moderate'),
|