# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
share/python-wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# PyInstaller
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.nox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*.cover
*.py,cover
.hypothesis/
.pytest_cache/
cover/

# Translations
*.mo
*.pot

# Environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# Sphinx documentation
docs/_build/
docs/.jupyter_cache/
docs/reference/_autosummary/

# mypy
.mypy_cache/
.dmypy.json
dmypy.json

# Pyre type checker
.pyre/

# pytype static type analyzer
.pytype/

# Cython debug symbols
cython_debug/

# IDE
.idea/
.vscode/
*.swp
*.swo
*~

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# Ruff
.ruff_cache/

# JAX
*.hlo
*.pb

# macOS
.DS_Store
.AppleDouble
.LSOverride
._*

# Thumbnails
._*

# Files that might appear in the root of a volume
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Directories potentially created on remote AFP share
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# PyMC / ArviZ
*.netcdf
*.nc

# Model checkpoints
*.ckpt
*.pkl
*.pickle
checkpoints/

# Logs
*.log
logs/

# Local development
.local/
scratch/
tmp/
temp/

# Data files (usually too large for git)
*.csv
*.parquet
*.h5
*.hdf5
data/

# Ship the small static Reed frog dataset used by Tutorial 2 (the *.csv and
# data/ rules above would otherwise drop it, breaking the docs notebook build).
# Re-include the directories first so git descends into them, then the file.
!examples/data/
!examples/data/reedfrogs.csv
!docs/tutorials/data/
!docs/tutorials/data/reedfrogs.csv

# Secrets
.env.local
.env.*.local
secrets/

# Benchmark / training scratch
sbi-logs/
benchmarks/_*_tmp/
scripts/nb02_cache/

# Optuna study databases
*.db

# Agent / assistant working dirs (never ship to PyPI or GitHub)
.claude/
.serena/
.playwright-mcp/
docs/agents/

# Notebook dev scratch (working notes, not shipped)
examples/nb02_*.md

# Work-in-progress example (not yet validated; kept local until it is)
examples/03_ddm_hierarchical/
