Spaces:
Sleeping
Sleeping
Update scoring_calculation_system.py
Browse files
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 |
-
|
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:
|