Time Series Analysis — independently scanned and version-tracked by SaferSkills.
SaferSkills independently audited Time Series Analysis (Agent Skill) and scored it 100/100 (green). The audit ran 55 deterministic rules across Security, Supply Chain, Maintenance, Transparency, and Community; it found 0 high-severity and 0 lower-severity findings. The full rule-by-rule trace and per-finding evidence are below. Free, methodology-open.
Findings & checks · 0 flagged
Every scanned point with the score it earned and what moved between them.
First recorded scan — no prior version to compare against.
The primary manifest — the file an agent reads to learn what this artifact does.
Analyze and forecast time-indexed data with sound methodology and honest validation.
from statsmodels.tsa.seasonal import STL
result = STL(series, period=12).fit()
result.plot()from statsmodels.tsa.stattools import adfuller
adfuller(series.dropna())ARIMA assumes stationarity. Difference to remove trend, and seasonally difference to remove seasonality:
diff = series.diff().dropna()
seasonal_diff = series.diff(12).dropna()Inspect ACF and PACF plots to choose AR (p) and MA (q) orders.
from statsmodels.tsa.statespace.sarimax import SARIMAX
model = SARIMAX(series, order=(1, 1, 1), seasonal_order=(1, 1, 1, 12))
fit = model.fit(disp=False)
forecast = fit.get_forecast(steps=12)
ci = forecast.conf_int()Use pmdarima.auto_arima to search orders by AIC, but verify residuals afterward.
Prophet is robust for business series with strong seasonality and holidays:
from prophet import Prophet
m = Prophet(yearly_seasonality=True, weekly_seasonality=True)
m.add_country_holidays(country_name="US")
m.fit(df) # df has columns ds, y
future = m.make_future_dataframe(periods=90)
fc = m.predict(future)Use rolling or expanding window backtests that respect time order:
from sklearn.model_selection import TimeSeriesSplit
tscv = TimeSeriesSplit(n_splits=5)Report MAPE, MAE, and RMSE on the held-out future windows, not in-sample fit.
After fitting, residuals should look like white noise:
~30 seconds. Free. No account. Every finding cites a rule and a line of evidence.