# ------------------------------
# Python
# ------------------------------
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
dist/
site/
.eggs/
*.egg
*.egg-info/
pip-wheel-metadata/
share/python-wheels/

# Testing / type checking / coverage
.pytest_cache/
.ruff_cache/
.mypy_cache/
.pyre/
.hypothesis/
.tox/
.nox/
.coverage
.coverage.*
coverage.xml
htmlcov/
*.cover
*.py,cover

# Packaging / installer logs
MANIFEST
pip-log.txt
pip-delete-this-directory.txt

# ------------------------------
# Environments
# ------------------------------
.env
.env.*
!.env.example
!.env.template
!.env.sample

.venv/
venv/
env/
ENV/
env.bak/
venv.bak/
pythonenv*

# Conda
.conda/
.mamba/
conda-meta/
conda-bld/

# ------------------------------
# Jupyter / IPython
# ------------------------------
.ipynb_checkpoints/
profile_default/
ipython_config.py
.jupyter/

# ------------------------------
# IDE / Editor
# ------------------------------
.vscode/
.idea/
*.iml
*.swp
*.swo
*~

# ------------------------------
# Logs / runtime artifacts
# ------------------------------
logs/
log/
*.log
*.out
*.err
*.pid
*.pid.lock

# Experiment tracking
wandb/
mlruns/
lightning_logs/
tensorboard/
runs/
events.out.tfevents*

# Profiling
*.prof
*.nvvp
*.nsys-rep
*.qdrep

# ------------------------------
# Deep Learning / Models / Checkpoints
# ------------------------------
checkpoints/
checkpoint/
ckpt/
weights/
artifacts/
outputs/
predictions/

*.ckpt
*.pt
*.pth
*.bin
*.onnx
*.engine
*.trt
*.safetensors
*.h5
*.hdf5

# CUDA compiled extensions
*.cu.o
*.cubin
*.fatbin
*.ptx

# ------------------------------
# Data
# ------------------------------
data/
dataset/
datasets/
raw_data/
processed_data/
cache/
.cache/
tmp/
temp/

*.db
*.sqlite
*.npy
*.npz
*.pkl
*.pickle
*.joblib
*.feather
*.parquet
*.arrow

!data/.gitkeep
!datasets/.gitkeep

# ------------------------------
# Documentation builds
# ------------------------------
docs/_build/

# ------------------------------
# OS files
# ------------------------------
.DS_Store
Thumbs.db
Desktop.ini

# ------------------------------
# Project-specific
# ------------------------------
.codex/
.claude/settings.local.json
.claude/worktrees/
.deepeval/
.playwright-mcp/
.wiki-site/
pencil/

# 数据与实验产物（不提交）
store/
workspaces/
results/

# graphify 知识图谱输出（可再生）
graphify-out/

# reference 中的 ZIP 包（太大）
reference/*.zip
