# ===== Python =====
__pycache__/
*.py[cod]
*$py.class
*.so
.Python
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
wheels/
*.egg-info/
.installed.cfg
*.egg
MANIFEST

# ===== 虚拟环境 =====
.venv/
venv/
env/
ENV/
.python-version

# ===== 测试 / 缓存 =====
.pytest_cache/
.mypy_cache/
.ruff_cache/
.coverage
.coverage.*
htmlcov/
.tox/
.nox/

# ===== 数据集（体积大，可由 downloader.py / preprocessor.py 重新生成） =====
datasets/balabit/
datasets/processed/*.npz
datasets/custom/
# 保留数据集摘要
!datasets/processed/dataset_summary.json

# ===== 训练与运行产物 =====
*.log
runs/
wandb/
lightning_logs/
# 临时导出 / 录制文件
*.tmp
*.temp
.DS_Store
Thumbs.db

# ===== IDE / 编辑器 =====
.idea/
.vscode/
*.swp
*.swo
*~
