⚡ New single function from y , y' & logic filter

🔬 Two noisy curves + ODE constraint · filter decides when physics is trusted
Fit loss (y + y') ODE residual (filtered) Iterations0 Filter active (%)0%
💡 Dead‑zone: ODE ignored if residual < threshold.
Huber: smooth transition from L2 to L1.
Binary: physics enforced only after t₀.

📈 fitted function ( y_hat ) vs noisy y & y'

🧩 ODE residual | y'_hat − f(t, y_hat) | dead‑zone

⚡ The optimiser finds a polynomial P(t) that balances fit to y, fit to y', and the ODE constraint — gated by your logic filter.