]> Piment Noir Git Repositories - freqai-strategies.git/commit
fix(quickadapter): make best-params persistence atomic (#185)
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Thu, 30 Jul 2026 19:33:49 +0000 (21:33 +0200)
committerGitHub <noreply@github.com>
Thu, 30 Jul 2026 19:33:49 +0000 (21:33 +0200)
commit3ba5d8fb62b1d08753bd465bb679272ab5cc653b
tree34660e47dcf97f43e58b91917fb4dcb6ac034064
parent93c5704fc8e4088e0df7ebb32a91927fd5c723cc
fix(quickadapter): make best-params persistence atomic (#185)

* fix(quickadapter): make best-params persistence atomic

* fix(quickadapter): preserve best-params startup contract

* fix(quickadapter): preserve best-params access contracts

* fix(quickadapter): allow shared best-params reads

* refactor(quickadapter): harmonize best-params quarantine terminology

Align the Optuna best-params quarantine with the established journal
quarantine sibling (_optuna_quarantine_journal): source the artifact tag
from a new _OPTUNA_BEST_PARAMS_QUARANTINE_TAG constant and use "corrupt"
consistently in the docstring and log message (the function name and
.corrupt- artifact suffix already used "corrupt"; only the docstring and
warning diverged as "malformed"). Add a docstring to
_reject_optuna_best_params_symlink for parity with its sibling helpers.

On-disk artifacts and load results are byte-identical; only the log
wording and tag source change.
quickadapter/user_data/strategies/Utils.py