1.10.1
⚙️ Patch 1.10.1 — UVP recalc guard, Forecast Ops tuning, n8n resilience¶
🚀 Summary¶
UVP articles stay fixed on force recalc — Otto (and Shopify / Kaufland / FBM / FBA) no longer rewrite UVP min/max from margin rules after package or buy-price force recalc. Channel bounds are pinned to min_uvp / max_uvp; the force-recalc entry point skips UVP SKUs entirely.
Forecast Ops tuning — Optuna / backtest drop the last 1 calendar day by default (hold-out off), support Plenty-only / Amazon-only, and expose trials / folds / step / metrics / hold-out in the Ops UI. Ops refreshes platform actuals from live orders so MAPE is not stuck on stale backtest zeros.
n8n under Portainer — n8n and task runners get restart: unless-stopped plus healthchecks so crashes come back without a manual Portainer restart.
✨ Details¶
| Area | Behavior |
|---|---|
| UVP · Otto / Kaufland | Recalc pins min/max to UVP values; use_min_max_rules=False; margin-rule bounds never overwrite |
| UVP · force entry | force_recalc_channels_for_buy_price_change returns early for UVP SKUs (also covers package-change force) |
| UVP · Shopify / FBM / FBA | Force recalc keeps UVP targets / price; no SP-API bound rewrite for UVP articles |
| Forecast · exclude recent | FORECAST_HPO_EXCLUDE_RECENT_DAYS (default 1) caps HPO/backtest history at today − N |
| Forecast · hold-out | FORECAST_HPO_HOLDOUT_DAYS (default 0 = off); optional unseen score after Optuna |
| Forecast · Ops actuals | Platform actuals refreshed from live order tables on each Ops load (fixes stale 0s / MAPE) |
| Forecast · Ops UI | Source Both / Plenty / Amazon; trials, folds, step days, metrics, exclude, hold-out; Tune + Fill MAPE use those settings |
| Forecast · API | POST /hpo & /backtest accept source, n_trials, n_folds, step_days, metrics, exclude_recent_days, holdout_days |
| n8n · compose | Local + Portainer: restart: unless-stopped; n8n GET :5678/healthz; runners launcher GET :5680/healthz; runners wait for healthy n8n |
📌 Notes¶
- Redeploy Portainer stack (or recreate
n8n/ runners) so restart + healthcheck take effect. - Optional Uptime Kuma probe:
https://n8n.lage-beauty.de/healthz. - New forecast env defaults are already in compose / Hetzner HTTPS; override only if needed.
- Docs: n8n, Forecast Ops, How predictions work — HPO.