You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The fit configuration has no owner. It is spread over objects with different lifetimes:
minimizer_enum
tolerance
objective
engine-specific options
The app reads and writes tolerance through project_lib._fitter, builds a throwaway fitter for every run and copies the values across. Anything not copied is lost; anything edited before the lazily-created fitter exists is lost. Worse, because Minimizers.tolerance falls back to [1e-6, 5000] when there is no fitter, those two numbers are always applied to the throwaway fitter (the is not None tests at fitting.py:350-353 are never false). "Defaults" in the UI is therefore never the engine default: BUMPS lm (steps=200, ftol=1e-10) runs with 5000 steps and ftol=xtol=1e-6; BUMPS amoeba (ftol=1e-8) runs with 1e-6.
We need a container class, like FitSettings, owned by the project which will contain all the above in one place.
Activity
added fit configuration owner #427 (#429)
🎉 Release: merge develop into master (#442)
Release 2.0.0 (#454)