Upgrade packaging tools and retry inside a fresh virtual environment:
python -m pip install --upgrade pip setuptools wheel
pip install -e '.[classical,dev]'Use one of the supported Python versions: 3.10, 3.11 or 3.12.
Confirm the editable install completed in the active environment:
python -m pip show time-series-reference
python -m timeseries_reference.benchmark --helpThe module command is a useful fallback when the console-script path has not refreshed.
The maintained datasets are supplied through statsmodels. Confirm the optional classical dependencies are installed and that the dataset name is one reported by the CLI help.
Statistical and lag-based models require enough observations for the configured lag and seasonal period. Reduce the lag, use a smaller seasonal period only when scientifically justified, or begin with naive and drift baselines.
Check the input series and predictions for missing or non-finite values. Do not silently fill future targets. Imputation rules must be fitted using training data only.
Check:
- Python and dependency versions.
- Dataset name and holdout horizon.
- Whether source files have uncommitted changes.
- Whether the complete dependency group was installed.
- Whether the benchmark was run from the intended branch.
Regenerate both artifacts with:
time-series-benchmark \
--output benchmark_results.csv \
--leaderboard docs/BENCHMARK_LEADERBOARD.mdRun the same commands used by CI:
ruff check src tests
pytest
time-series-benchmark --output benchmark_results.csv --leaderboard generated_leaderboard.mdAlso verify that no test relies on local files, notebook state, credentials or a machine-specific path.
Do not hide the result. Investigate horizon choice, seasonality, structural breaks, lag selection and recursive error accumulation. A simple model may genuinely be the better operational choice.