]> Piment Noir Git Repositories - freqai-strategies.git/commit
fix(weights): tighten observability and edge-case handling in label pipeline
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 25 May 2026 00:31:49 +0000 (02:31 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Mon, 25 May 2026 00:31:49 +0000 (02:31 +0200)
commit69a43e8b4a699e7231aabebce75fc1a4c250bd76
tree03ed543c801f63bc6848eb01d5c81c42c2515198
parenta0a5fdcf43e0ede0eb1f54f05982785dd3393637
fix(weights): tighten observability and edge-case handling in label pipeline

- sanitize_and_renormalize accepts logger/context kwargs and warns on
  uniform-fallback collapse; six call sites in QuickAdapterRegressorV3
  thread their stage label (train_test_split / post_feature_pipeline /
  timeseries_split, train|test).
- Warn at startup when label_prediction.method='none' for any label, since
  populate_entry_trend would silently never trigger.
- Replace .notna() with np.isfinite() in the smoothed-weight clip so +Inf
  produced by smoothing kernels is also zeroed instead of relying on the
  downstream drop_mask in compose_sample_weights.
- _impute_weights tracks boundary NaN separately so injected zeros do not
  bias the interior median; finite endpoints are now preserved.
quickadapter/user_data/freqaimodels/QuickAdapterRegressorV3.py
quickadapter/user_data/strategies/QuickAdapterV3.py
quickadapter/user_data/strategies/Utils.py