]> Piment Noir Git Repositories - freqai-strategies.git/commit
style(reforcexy): harmonize all log/error message prefixes to '<Component> [<scope...
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Fri, 18 Sep 2026 16:32:23 +0000 (18:32 +0200)
committerGitHub <noreply@github.com>
Fri, 18 Sep 2026 16:32:23 +0000 (18:32 +0200)
commit3b3f62f3b14adab9858e86f1c8d80a4fca83761a
treeaa8b3270f532e80ccfa025d76a0d9982802afa4d
parent8f9adc398a0b73eb81ae1145b3309785f0863a00
style(reforcexy): harmonize all log/error message prefixes to '<Component> [<scope>]:' (#264)

Exhaustive audit of ReforceXY.py messages: 144/148 now follow the
dominant '<Component> [<scope>]:' convention.

Ported (QuickAdapter PR #261) messages reprefixed:
- Training [%s]: cannot continue / continuing deployment / RL
  preprocessing / model-on info log / warmup (Live [%s]:).
- Training banners converted to 'Training [%s]: starting|completed'
  (were asymmetric '----Starting/done training----' separators).

Pre-existing non-scoped messages reprefixed:
- Repair [global]: FreqAI prediction repair synchronous-drawer guard.
- Journal [%s]: corrupt-journal quarantine warning.
- Hyperopt [global]: best-params lock/path filesystem invariants.

Remaining 4 are by-design, not user-facing message-convention items:
- 3 internal 'persisted ...' ValueErrors are immediately re-raised by
  the conforming 'Training [%s]: cannot continue ...' DependencyException
  wrapper; prefixing them would double-scope the surfaced text.
- FileExistsError(path) carries no literal message.

Line-count neutral: BasedPyright ReforceXY snapshot unaffected.
ReforceXY/user_data/freqaimodels/ReforceXY.py