Spaces:
Running
on
Zero
Running
on
Zero
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
@@ -1773,7 +1773,7 @@ def calculate_breed_compatibility_score(scores: dict, user_prefs: UserPreference
|
|
1773 |
if extremities['space'][0] == 'restricted':
|
1774 |
if extremities['exercise'][0] in ['high', 'extremely_high']:
|
1775 |
adjustments['space'] = 1.3
|
1776 |
-
adjustments['exercise'] = 2.
|
1777 |
else:
|
1778 |
adjustments['space'] = 1.6
|
1779 |
adjustments['noise'] = 1.5
|
@@ -2089,7 +2089,7 @@ def calculate_breed_compatibility_score(scores: dict, user_prefs: UserPreference
|
|
2089 |
# 重新定義關鍵指標閾值,提供更寬容的評分標準
|
2090 |
critical_thresholds = {
|
2091 |
'space': 0.35,
|
2092 |
-
'exercise': 0.
|
2093 |
'experience': 0.5,
|
2094 |
'noise': 0.5
|
2095 |
}
|
|
|
1773 |
if extremities['space'][0] == 'restricted':
|
1774 |
if extremities['exercise'][0] in ['high', 'extremely_high']:
|
1775 |
adjustments['space'] = 1.3
|
1776 |
+
adjustments['exercise'] = 2.3
|
1777 |
else:
|
1778 |
adjustments['space'] = 1.6
|
1779 |
adjustments['noise'] = 1.5
|
|
|
2089 |
# 重新定義關鍵指標閾值,提供更寬容的評分標準
|
2090 |
critical_thresholds = {
|
2091 |
'space': 0.35,
|
2092 |
+
'exercise': 0.35,
|
2093 |
'experience': 0.5,
|
2094 |
'noise': 0.5
|
2095 |
}
|