# ── Python build and packaging ───────────────────────────────────────────────
__pycache__/
*.py[oc]
build/
dist/
wheels/
*.egg-info
__pypackages__/
pip-log.txt
pip-delete-this-directory.txt
*.manifest
*.spec
.pypirc

# Virtual environment (uv.lock IS committed so CI reproduces the local environment)
.venv

# ── Tests, coverage and linters ──────────────────────────────────────────────
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
coverage.xml
.cache
nosetests.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
.ruff_cache/
.mypy_cache/
pytestdebug.log
cover/

# ── Documentation builds ─────────────────────────────────────────────────────
docs/_build/
docs_sphinx/_build/
*.mo
*.pot

# ── Editors, OS and assistants ───────────────────────────────────────────────
.vscode/
.idea/
.claude/
.ipynb_checkpoints
profile_default/
ipython_config.py
*.DS_Store
*.log

# ── Data and binary artefacts (example data is hosted on GitHub Releases) ────
*.pdf
*.csv
*.parquet
*.npy
*.npz
*.zip
*.json
*.ttf
*.xlsx

# ── Twiga runtime outputs ────────────────────────────────────────────────────
# Model checkpoints (joblib pickles + manifest)
checkpoints/
**/checkpoints/
_checkpoint_manifest.json
*.pkl
*.ckpt
# Foundation-model weights downloaded locally (e.g. the Lag-Llama clone)
twiga/models/foundational/lag-llama/
# MLflow tracking store
mlruns/
mlartifacts/
mlflow.db
mlflow-artifacts/
# Optuna SQLite study databases
*.db
optuna_studies/
# CatBoost training artefacts
catboost_info/
learn_error.tsv
test_error.tsv
catboost_training.json
time_left.tsv
*.cbm
*.cb
# Evidently drift / performance reports
reports/
**/reports/
data_drift_*.html
model_performance_*.html
# Prefect local storage
.prefect/
prefect-storage/
# Project output directories created by ForecasterConfig and notebooks
logs/
results/
figures/
lets-plot-images/
**/mlops_demo/
examples/lets-plot-images/
examples/checkpoints/
examples/logs/
examples/results/
examples/figures/
examples/tutorials/mlruns/
examples/tutorials/mlops_demo/
# Serving scripts written by notebooks
serve.py
# Stray ExperimentEngine run directories (run_id = YYYYMMDD_HHMMSS_<git-short-hash>)
/[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]_[0-9][0-9][0-9][0-9][0-9][0-9]_*/

# ── Research material (lives in the twiga-thesis repo, kept locally only) ─────
# Anchored with a leading slash: hatchling builds the wheel from what .gitignore
# leaves, and an unanchored "experiment/" also matched twiga/experiment/ (1.1.3).
/experiment/
/examples/twiga-paper/
/Papers/
/PhD thesis -Final-Revision/
