DawnC commited on
Commit
165cfc3
โ€ข
1 Parent(s): 166f736

Update scoring_calculation_system.py

Browse files
Files changed (1) hide show
  1. scoring_calculation_system.py +1 -1
scoring_calculation_system.py CHANGED
@@ -1995,7 +1995,7 @@ def calculate_breed_compatibility_score(scores: dict, user_prefs: UserPreference
1995
 
1996
  # ็ฉบ้–“ๆฌŠ้‡่ชฟๆ•ด้‚่ผฏไฟๆŒไธ่ฎŠ
1997
  if extremities['space'][0] == 'highly_restricted':
1998
- if extremities['exercise'][0] in ['high', 'extremely_high']:
1999
  adjustments['space'] = 1.8 # ้™ไฝŽ็ฉบ้–“้™ๅˆถ็š„ๆฌŠ้‡
2000
  adjustments['exercise'] = 2.5 # ๆ้ซ˜้‹ๅ‹•่ƒฝๅŠ›็š„ๆฌŠ้‡
2001
  else:
 
1995
 
1996
  # ็ฉบ้–“ๆฌŠ้‡่ชฟๆ•ด้‚่ผฏไฟๆŒไธ่ฎŠ
1997
  if extremities['space'][0] == 'highly_restricted':
1998
+ if extremities['exercise'][0] in ['high', 'extremely_high']:
1999
  adjustments['space'] = 1.8 # ้™ไฝŽ็ฉบ้–“้™ๅˆถ็š„ๆฌŠ้‡
2000
  adjustments['exercise'] = 2.5 # ๆ้ซ˜้‹ๅ‹•่ƒฝๅŠ›็š„ๆฌŠ้‡
2001
  else: