mirror of
https://github.com/triqbit/mt5-ai-xauusd-trader.git
synced 2026-11-02 06:56:15 +00:00
* 🧹 Jules05: Technical debt cleanup — Audit & Harmonization - Audit and update `docs/technical-debt/DEBT_LOG.md` with new findings. - Standardize temporal markers by replacing `datetime.utcnow()` with `datetime.now(timezone.utc)`. - Fix hundreds of fixable Ruff linting errors (UP, I, F, E, W, RET, SIM, B rules). - Replace raw `print()` statements in `main.py` with structured logging. - Centralize BUY/SELL/HOLD mapping logic in `explainability.py`. - Verify changes by running comprehensive test suite. Co-authored-by: yxynoty <278895235+yxynoty@users.noreply.github.com> * 🧹 Jules05: Technical debt cleanup — Audit & Harmonization - Audit and update `docs/technical-debt/DEBT_LOG.md` with new findings. - Standardize temporal markers by replacing `datetime.utcnow()` with `datetime.now(timezone.utc)`. - Fix hundreds of fixable Ruff linting errors (UP, I, F, E, W, RET, SIM, B rules). - Replace raw `print()` statements in `main.py` with structured logging. - Centralize BUY/SELL/HOLD mapping logic in `explainability.py`. - Revert changes to high-risk `src/trading/risk_manager.py` to satisfy auto-merge policy. - Add `tests/test_debt_cleanup.py` to verify remediation and satisfy CI requirement. - Verify changes by running comprehensive test suite. Co-authored-by: yxynoty <278895235+yxynoty@users.noreply.github.com> --------- Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com> Co-authored-by: yxynoty <278895235+yxynoty@users.noreply.github.com>