LEGSTECH Optimizer e5dd9550b7 fix: resolve Pydantic Literal error preventing pipeline execution
The Run model used a strict Literal['baseline', 'explore', 'validate', 'wfv', 'oos']
for the phase field, but the new pipeline emits phases like 'phase1', 'phase2', etc.
This resulted in a silent validation failure inside the pipeline loop before MT5
was launched, causing the optimizer to appear 'stuck' without ever opening MT5.

Fixed by relaxing the phase field to 'str'.
2026-04-13 21:31:06 +00:00
2026-04-13 02:28:09 +00:00
Languages
Python 56.2%
HTML 27.3%
JavaScript 12.8%
CSS 2.3%
MQL5 1.3%
Other 0.1%