✅ Validation Results: - PPO training: 24.2s (1 epoch, 950 samples, dim=225) - Feature extraction: 105μs/bar (9.5x faster than target) - Model checkpoint: 293KB (147KB actor + 146KB critic) - GPU memory: 145MB used (96.4% headroom) - Zero dimension mismatches 📊 Success Criteria (5/5): ✅ Feature dimension = 225 (Wave C 201 + Wave D 24) ✅ Model state_dim = 225 ✅ Training completed without errors ✅ Checkpoint saved successfully ✅ No dimension mismatch errors 📁 Training Data Ready: - ES.FUT: 2.9MB, 180 days - NQ.FUT: 4.4MB, 180 days - 6E.FUT: 2.8MB, 180 days - ZN.FUT: 65KB, 90 days (clean) 🚀 Next: Full production model retraining (4 models, ~10min GPU time) 🤖 Generated with Claude Code (https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
55 lines
1.3 KiB
YAML
55 lines
1.3 KiB
YAML
version: '3.8'
|
|
|
|
# Docker Compose for Integration Tests
|
|
# Provides isolated PostgreSQL and Redis containers for testing
|
|
|
|
services:
|
|
# PostgreSQL with TimescaleDB for time-series data
|
|
postgres-test:
|
|
image: timescale/timescaledb:latest-pg16
|
|
container_name: foxhunt-postgres-test
|
|
environment:
|
|
POSTGRES_USER: foxhunt_test
|
|
POSTGRES_PASSWORD: foxhunt_test_password
|
|
POSTGRES_DB: foxhunt_test
|
|
POSTGRES_INITDB_ARGS: "-E UTF8 --locale=en_US.UTF-8"
|
|
ports:
|
|
- "5433:5432" # Different port to avoid conflicts
|
|
volumes:
|
|
- postgres-test-data:/var/lib/postgresql/data
|
|
- ../../migrations:/docker-entrypoint-initdb.d
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U foxhunt_test"]
|
|
interval: 5s
|
|
timeout: 5s
|
|
retries: 5
|
|
networks:
|
|
- test-network
|
|
|
|
# Redis for job queue persistence
|
|
redis-test:
|
|
image: redis:7-alpine
|
|
container_name: foxhunt-redis-test
|
|
ports:
|
|
- "6380:6379" # Different port to avoid conflicts
|
|
command: redis-server --appendonly yes
|
|
volumes:
|
|
- redis-test-data:/data
|
|
healthcheck:
|
|
test: ["CMD", "redis-cli", "ping"]
|
|
interval: 5s
|
|
timeout: 3s
|
|
retries: 5
|
|
networks:
|
|
- test-network
|
|
|
|
volumes:
|
|
postgres-test-data:
|
|
driver: local
|
|
redis-test-data:
|
|
driver: local
|
|
|
|
networks:
|
|
test-network:
|
|
driver: bridge
|