Spaces:
Running
on
Zero
Running
on
Zero
Update scoring_calculation_system.py
Browse files
scoring_calculation_system.py
CHANGED
@@ -863,7 +863,7 @@ def calculate_compatibility_score(breed_info: dict, user_prefs: UserPreferences)
|
|
863 |
# return min(1.0, max(0.3, time_score))
|
864 |
|
865 |
|
866 |
-
def
|
867 |
"""
|
868 |
精確評估品種運動需求與使用者運動條件的匹配度
|
869 |
|
|
|
863 |
# return min(1.0, max(0.3, time_score))
|
864 |
|
865 |
|
866 |
+
def calculate_exercise_score(breed_needs: str, exercise_time: int, exercise_type: str) -> float:
|
867 |
"""
|
868 |
精確評估品種運動需求與使用者運動條件的匹配度
|
869 |
|