Repository navigation
v2.6.0 - Project Structure Reorganization & Comprehensive Testing
🎯 Major Changes
Project Structure Reorganization
- Reorganized codebase into clear directory structure:
src/- Core application modules (optimizer, models, price_analyzer, etc.)tests/- Test suite with test datautils/- Utility scripts
- Updated all imports to use new structure
- Updated Dockerfile for Lambda deployment
- Improved project maintainability and clarity
✨ New Features
Comprehensive Test Suite
- Added
test_december_2025.py- Full test suite against real December 2025 price data - Validates all optimization rules: no overlaps, proper spread, discharge validation
- Tests against 31 days of actual Czech OTE price data
Developer Experience
- Added
AGENTS.md- Comprehensive context guide for AI agents working with the codebase - Updated README with new project structure and commands
- Clear documentation of UV dependency management and Lambda deployment
🐛 Bug Fixes
- Fixed crucial bug in
optimizer.py(critical optimization logic fix) - Fixed timezone handling inconsistencies
- Fixed test imports after reorganization
🔧 Improvements
- Enhanced logging separation for Lambda vs local execution
- Added timezone support to fix Lambda scheduling issues
- Enabled midday arbitrage charging by sizing charge windows to discharge capacity
- Added comprehensive configuration options for valley/discharge timing preferences
📝 Migration Notes
**Running the optimizer:**ash