167bcc4ce5cb01ab4c9e0a993f295c02813b5586
$(cat f) inside a command redirected to f saw the already-truncated file, so every eval cycle wiped ma_history_*.txt back to one leading-space value and degraded the composite best-gate to last-cycle mean. Read is hoisted into its own statement; unquoted expansion + tail -n keeps exactly the last MA_WINDOW values. Verified: fresh/5+/6+ cycle edges reproduce sliding window.
fix(SAC_LSTM_Bot): MA history self-truncation — read before > redirect; campaign v2 attempt-3 prep (#60)
Description
No description provided
Languages
Nim
73.7%
Python
18%
Shell
3.7%
Java
3.5%
HTML
1%
Other
0.1%