Goals -System refactored - Platzhaltersystem enhanced (als draft) #53
|
|
@ -91,7 +91,8 @@ def calculate_confidence(
|
|||
else:
|
||||
return "insufficient"
|
||||
|
||||
elif days_requested <= 28:
|
||||
elif days_requested < 90:
|
||||
# 8-89 days: Medium-term analysis
|
||||
if data_points >= 18:
|
||||
return "high"
|
||||
elif data_points >= 12:
|
||||
|
|
@ -101,7 +102,7 @@ def calculate_confidence(
|
|||
else:
|
||||
return "insufficient"
|
||||
|
||||
else: # 90+ days
|
||||
else: # 90+ days: Long-term analysis
|
||||
if data_points >= 60:
|
||||
return "high"
|
||||
elif data_points >= 40:
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user