# 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/
pip-wheel-metadata/
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/
test-results/
junit.xml

# Translations
*.mo
*.pot

# Django stuff:
*.log
local_settings.py
db.sqlite3
db.sqlite3-journal

# Flask stuff:
instance/
.webassets-cache

# Scrapy stuff:
.scrapy

# Sphinx documentation
docs/_build/
docs/_autosummary/
docs/api/

# PyBuilder
target/

# Jupyter Notebook
.ipynb_checkpoints
*.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# pyenv
.python-version

# pipenv
Pipfile.lock

# poetry
poetry.lock

# pdm
.pdm.toml
.pdm-python
.pdm-build/

# PEP 582
__pypackages__/

# Celery stuff
celerybeat-schedule
celerybeat.pid
celerybeat-schedule.db

# SageMath parsed files
*.sage.py

# Environments
.env
.env.local
.env.*.local
.venv
env/
venv/
ENV/
env.bak/
venv.bak/
.virtualenv/

# Spyder project settings
.spyderproject
.spyproject

# Rope project settings
.ropeproject

# mkdocs documentation
/site

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

# Pyre type checker
.pyre/

# pyright type checker
.pyright/
pyrightconfig.json

# ruff
.ruff_cache/

# IDE and editor files
.vscode/
.idea/
*.swp
*.swo
*.swn
*~
.project
.pydevproject
.settings/
.classpath
*.sublime-project
*.sublime-workspace
.nova/

# macOS
.DS_Store
.AppleDouble
.LSOverride
Icon
._*
.DocumentRevisions-V100
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent
.AppleDB
.AppleDesktop
Network Trash Folder
Temporary Items
.apdisk

# Windows
Thumbs.db
Thumbs.db:encryptable
ehthumbs.db
ehthumbs_vista.db
*.stackdump
[Dd]esktop.ini
$RECYCLE.BIN/
*.cab
*.msi
*.msix
*.msm
*.msp
*.lnk

# Linux
.nfs*
.fuse_hidden*
.directory
.Trash-*

# Temporary files
*.tmp
*.temp
*.bak
*.backup
*.old
*.orig
tmp/
temp/

# Logs
*.log
logs/
*.log.*
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

# Security and secrets
.env*
!.env.example
!.env.sample
!.env.template
config.json
.secrets/
secrets/
*.key
*.pem
*.cert
*.crt
*.p12
*.pfx
.htpasswd
.netrc
credentials*
*credentials*
!rater/config/credentials.yml.enc
*.token
*token*
!*token*.py
apikeys*
*apikey*
!*apikey*.py

# Private/sensitive data
private/
confidential/
sensitive/
*.private
*.secret
!*.secret.example

# Database files
*.db
*.sqlite
*.sqlite3
*.rdb

# Cache files
cache/
.cache/
*.cache

# Project specific - ICVision
/icvision_results/
/autoclean_icvision_results/
/autocleaneeg_icvision_results/
/comparison_results/
icvision_temp_plots_*/
component_plots/
*.pdf
!docs/**/*.pdf
232_human.csv
prompt_refinement_workflow.md
bandit_report.json
CLAUDE.md

# Model outputs and artifacts
models/
checkpoints/
*.h5
*.hdf5
*.pkl
*.pickle
*.joblib
*.safetensors
*.onnx
*.pt
*.pth
*.ckpt

# Data files (but keep example data)
data/
!data/example/
!data/sample/
!data/test/
*.csv
!tests/**/*.csv
!examples/**/*.csv
*.tsv
*.parquet
*.feather
*.h5
*.hdf5
*.mat
*.npy
*.npz

# Large binary files
*.zip
*.tar
*.tar.gz
*.tgz
*.tar.bz2
*.tbz2
*.tar.xz
*.txz
*.7z
*.rar
*.gz
!tests/**/*.gz

# Media files (unless in docs)
*.mp4
*.avi
*.mov
*.wmv
*.flv
*.mkv
*.webm
!docs/**/*.mp4
!docs/**/*.webm

# Images (keep docs and examples)
*.jpg
*.jpeg
*.png
*.gif
*.bmp
*.svg
*.ico
*.webp
!docs/**/*.png
!docs/**/*.jpg
!docs/**/*.gif
!docs/**/*.svg
!examples/**/*.png
!tests/**/*.png

# EEG/neuroscience specific
*.fif
*.fif.gz
*.set
*.fdt
*.edf
*.bdf
*.cnt
*.vhdr
*.vmrk
*.eeg
!tests/data/**/*.fif
!tests/data/**/*.set
!examples/data/**/*.fif

# Performance and profiling
*.prof
*.lprof
.benchmarks/
benchmark_results/
profiling/

# Documentation autogenerated files
docs/_build/
docs/modules.rst
docs/source/modules.rst
docs/api/generated/

# Package manager files
yarn.lock
package-lock.json
pnpm-lock.yaml

# CI/CD
.github/actions/*/dist/
.gitlab-ci-local/
.circleci/artifacts/

# Terraform
*.tfstate
*.tfstate.*
.terraform/

# Docker
docker-compose.override.yml
.dockerignore.local

# Kubernetes
kubeconfig
*.kubeconfig

# Cloud provider specific
.aws/
.azure/
.gcp/
*-credentials.json

# Backup files
backup/
backups/
*.backup
*.bk

# System files
.fseventsd
.Spotlight-V100
.TemporaryItems
.Trashes
.VolumeIcon.icns
.com.apple.timemachine.donotpresent

# Python tools configuration (keep these)
!.flake8
!.isort.cfg
!.mypy.ini
!.pylintrc
!.bandit
!pyproject.toml
!setup.cfg
!setup.py
!tox.ini
!.pre-commit-config.yaml
!.gitignore
!.gitattributes
!requirements*.txt
!Pipfile
!poetry.toml
!.python-version.example

# Keep important project files
!README.md
!LICENSE
!CHANGELOG.md
!CONTRIBUTING.md
!CODE_OF_CONDUCT.md
!SECURITY.md
!AUTHORS
!CITATION.cff
!.github/
!.gitlab-ci.yml
!.travis.yml
!Dockerfile
!docker-compose.yml
!Makefile
!pytest.ini
!.coveragerc
!.editorconfig
/rater/public/components
/rater/scripts/control
/rater/scripts/output
