]> Piment Noir Git Repositories - freqai-strategies.git/commit
refactor(quickadapter): harmonize log and error messages across codebase
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 5 Jan 2026 12:13:14 +0000 (13:13 +0100)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 5 Jan 2026 12:13:14 +0000 (13:13 +0100)
commit6423d4a09143156d9138a5a2f17fc308fe1e705d
tree328cfc84259e65cd2033df198d23abadf3e96d9b
parent5b562594d929b4906729140138d267bcf83c6f1c
refactor(quickadapter): harmonize log and error messages across codebase

Standardize error and log messages for consistency and clarity:

- Standardize 29 ValueError messages with 'Invalid {param} value {value}' format
- Harmonize 35 warning messages with fallback defaults ('using default'/'using uniform')
- Replace {trade.pair} with {pair} in 33 log messages for consistent context
- Ensure all 7 exception handlers use exc_info=True for complete stack traces
- Normalize punctuation and capitalization in validation messages

This improves debugging experience and maintains uniform message patterns
throughout the QuickAdapter, Utils, and ExtremaWeightingTransformer modules.
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py
quickadapter/user_data/strategies/ExtremaWeightingTransformer.py
quickadapter/user_data/strategies/QuickAdapterV3.py
quickadapter/user_data/strategies/Utils.py