# Sematryx Project .gitignore
# =======================

# Environment Variables & API Keys
setup_env.sh
.env
.env.local
.env.production
*.key

# Python
__pycache__/
*.py[cod]
*$py.class
*.so
.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

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

# Virtual environments
.env
.venv
env/
venv/
ENV/
env.bak/
venv.bak/

# IDEs and editors
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
Thumbs.db

# Jupyter Notebook
.ipynb_checkpoints

# IPython
profile_default/
ipython_config.py

# PyCharm
.idea/

# AEAO specific files
# ===================

# Sematryx knowledge and models
sematryx_knowledge/
sematryx_knowledge_embeddings/
sematryx_knowledge_meta_policy/
optimization_knowledge/
optimization_knowledge_embeddings/
optimization_knowledge_meta_policy/
test_aeao_knowledge/
test_aeao_knowledge_embeddings/
test_aeao_knowledge_meta_policy/

# Sematryx databases
*.db
*.sqlite
*.sqlite3

# AEAO model files
*.pkl
*.pickle
*.joblib
*.h5
*.hdf5
*.pt
*.pth

# Sematryx logs and reports
sematryx_optimization_logs/
sematryx_reports/
outputs/explainability/
optimization_logs/
test_reports/
test_verification_reports/
integration_test_results/
csv_test_results/
test_results/
test_complete_workflow/
archived_results/
experiments/

# Sematryx temporary files
temp_scripts/
outcmaes/
test_models/
test_verification_models/
test_repro/

# Configuration files (keep examples)
sample_config*.yaml
sample_config*.json
sample_config*.csv
test_*.yaml
test_*.json
test_*.csv
basic_from_*.yaml
*_template.yaml
*_template.json

# Results and output directories
results/
batch_results/
sematryx_results/
*_results/
*_output/

# Docker
.dockerignore
docker-compose.override.yml

# Environment variables
.env
.env.local
.env.development.local
.env.test.local
.env.production.local

# API keys and secrets
*_api_key*
*_secret*
!**/secrets/gcp_secret_manager.py
*_token*
*.pem
*.key
# GCP Service Account Keys (NEVER commit these)
gcp-key.json
*-key.json
*service-account*.json

# Backup files
*.bak
*.backup
*~

# Temporary files
*.tmp
*.temp
.tmp/
.temp/

# OS generated files
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db

# Archive directories (commented out to keep them)
# archive/

# Data directories (keep structure but ignore contents)
data/knowledge/
data/databases/
data/reports/
data/models/
!data/knowledge/.gitkeep
!data/databases/.gitkeep
!data/reports/.gitkeep
!data/models/.gitkeep
.tmp.driveupload/
colab_environments/
venv/
environments/

# Data files - NEVER commit these
data/
examples/data/
notebooks/data/
*.csv
**/dataset_cache/
*.arff
semantic_analysis*.json

# Reorganized structure exclusions
data/cache/
development/logs/
benchmarks/results/
notebooks/data/
models/metadata/
knowledge/*/cache/
*.tmp
*.temp

# Virtual Environment
venv/
venv-benchmark/  # Benchmark testing environment (not used by service)
sematryx_env/
env/
.venv/

# Large Data and Cache Files (Moved to External Storage)
data/datasets/dataset_cache/
data/datasets/data/
colab_environments/
# Safety validation marker (temporary file)
.safety-validation-passed
venv-benchmark/

# Duplicate nested repository (should not exist)
sematryx-api/
