mirror of
https://github.com/NicolasBohn/NexQuant.git
synced 2026-07-28 07:57:44 +00:00
7a0f81f275
`_sample_fine_params` and `_sample_very_fine_params` used `max(0.0, center - half_width)` for all float parameters. When signal_bias=-0.95 (a valid Stage-1 result), this produced low=0.0, high=-0.75 — an inverted range that causes Optuna to raise ValueError on every trial, silently caught and returned as -inf. Fix: - Extract `_suggest_bounded()` helper with per-parameter floor values - signal_bias floor is -1.0 (not 0.0 — it is a signed parameter) - Guard against high <= low for both float and int suggestions - Elevate trial failure logs from debug to warning so future regressions are visible Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>