|
|
|
|
@ -123,7 +123,7 @@ class ReliabilityService:
|
|
|
|
|
random.seed(hash(location_tag) % 1000)
|
|
|
|
|
|
|
|
|
|
# Base parameters for realistic failure patterns
|
|
|
|
|
base_monthly_failures = random.uniform(0.05, 0.5) # Base failures per month
|
|
|
|
|
base_monthly_failures = random.uniform(0.5, 1.25) # Base failures per month
|
|
|
|
|
seasonal_amplitude = random.uniform(0.3, 0.8) # Seasonal variation strength
|
|
|
|
|
trend_slope = random.uniform(-0.01, 0.02) # Long-term trend (slight increase over time)
|
|
|
|
|
noise_level = random.uniform(0.1, 0.3) # Random variation
|
|
|
|
|
|