DawnC commited on
Commit
f9e2324
1 Parent(s): 1beeb15

Update scoring_calculation_system.py

Browse files
Files changed (1) hide show
  1. scoring_calculation_system.py +2 -1
scoring_calculation_system.py CHANGED
@@ -1444,7 +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
  ),
1449
  'grooming': calculate_grooming_score(
1450
  breed_info.get('Grooming Needs', 'Moderate'),
 
1444
  ),
1445
  'exercise': calculate_exercise_score(
1446
  breed_info.get('Exercise Needs', 'Moderate'),
1447
+ user_prefs.get('exercise_time', 30),
1448
+ user_prefs.get('exercise_type', 'light_walks')
1449
  ),
1450
  'grooming': calculate_grooming_score(
1451
  breed_info.get('Grooming Needs', 'Moderate'),