# Ignore everything by default
*

# Un-ignore specific files to track

# Scripts
!scripts/aggregate_metrics.py
!scripts/run_validation.sh

# Package initialization
!__init__.py
!src/__init__.py

# Core source files
!src/backtester.py
!src/calibrator_vector.py
!src/baseline_checker.py
!src/calibrator.py
!src/calibrate.py
!src/data_loader.py
!src/gru_hyper_tuner.py
!src/feature_engineer.py
!src/features.py
!src/gru_model_handler.py
!src/io_manager.py
!src/logger_setup.py
!src/metrics.py
!src/sac_agent.py
!src/sac_trainer.py
!src/trading_env.py
!src/trading_pipeline.py

# Tests
!tests/
!tests/*.py
!tests/**/*.py

# Configuration files
!config.yaml
!config_baseline.yaml

# Documentation and logs
!README.md
!requirements.txt
!revisions.txt
!main_v7.log

# Entry points
!run.py
!train_sac_runner.py

# Git configuration
!.gitignore

# Make sure parent directories are un-ignored for nesting to work
!src/
!scripts/

*.txt