Skip to content

Preparation for new release#240

Merged
AndrewSazonov merged 4 commits intomasterfrom
develop
Apr 30, 2026
Merged

Preparation for new release#240
AndrewSazonov merged 4 commits intomasterfrom
develop

Conversation

@rozyczko
Copy link
Copy Markdown
Member

@rozyczko rozyczko commented Apr 29, 2026

  • Moved to templated structure
  • Added interim updates support
  • Made behaviour on reaching iteration limit consistent across minimizers

AndrewSazonov and others added 4 commits March 5, 2026 11:54
This pull request adds support for progress callbacks during fitting operations.
The main goal is to allow users to receive progress updates during fits.
Added progress_callback parameter and a way to handle progress gracefully.
Implemented progress callback integration in LMFit, DFO-LS, and BUMPS.
Extended FitResults to include n_evaluations, iterations, and message.
Normalized max-evaluation termination across minimizers.
Improved parameter rollback and undo-stack cleanup.
Added tutorial at progress-callback.ipynb.
@rozyczko rozyczko added [scope] enhancement Adds/improves features (major.MINOR.patch) [priority] high Should be prioritized soon labels Apr 29, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 29, 2026

Codecov Report

❌ Patch coverage is 93.57143% with 27 lines in your changes missing coverage. Please review.
✅ Project coverage is 86.63%. Comparing base (5b9c109) to head (4be7c47).
⚠️ Report is 5 commits behind head on master.

Files with missing lines Patch % Lines
src/easyscience/variable/parameter.py 88.88% 6 Missing ⚠️
src/easyscience/base_classes/easy_list.py 75.00% 3 Missing ⚠️
src/easyscience/fitting/available_minimizers.py 0.00% 3 Missing ⚠️
...rc/easyscience/fitting/minimizers/minimizer_dfo.py 96.93% 3 Missing ⚠️
src/easyscience/global_object/hugger/property.py 0.00% 3 Missing ⚠️
src/easyscience/base_classes/based_base.py 50.00% 2 Missing ⚠️
src/easyscience/variable/descriptor_array.py 90.47% 2 Missing ⚠️
...fitting/minimizers/bumps_utils/progress_monitor.py 91.66% 1 Missing ⚠️
.../easyscience/fitting/minimizers/minimizer_lmfit.py 97.43% 1 Missing ⚠️
src/easyscience/utils/string.py 0.00% 1 Missing ⚠️
... and 2 more
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #240      +/-   ##
==========================================
+ Coverage   81.68%   86.63%   +4.94%     
==========================================
  Files          53       55       +2     
  Lines        4460     4690     +230     
  Branches      792        0     -792     
==========================================
+ Hits         3643     4063     +420     
+ Misses        631      627       -4     
+ Partials      186        0     -186     
Flag Coverage Δ
integration 45.73% <47.14%> (?)
unittests 85.28% <91.66%> (+3.60%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/easyscience/__init__.py 100.00% <100.00%> (ø)
src/easyscience/base_classes/__init__.py 100.00% <ø> (ø)
src/easyscience/base_classes/collection_base.py 96.03% <100.00%> (+4.76%) ⬆️
src/easyscience/base_classes/model_base.py 100.00% <100.00%> (ø)
src/easyscience/base_classes/new_base.py 100.00% <100.00%> (ø)
src/easyscience/base_classes/obj_base.py 94.73% <100.00%> (+8.77%) ⬆️
src/easyscience/fitting/__init__.py 100.00% <ø> (ø)
src/easyscience/fitting/calculators/__init__.py 100.00% <ø> (ø)
...syscience/fitting/calculators/interface_factory.py 97.24% <ø> (+2.75%) ⬆️
src/easyscience/fitting/fitter.py 96.89% <100.00%> (+6.20%) ⬆️
... and 45 more

@rozyczko rozyczko marked this pull request as ready for review April 30, 2026 09:43
@AndrewSazonov AndrewSazonov merged commit 44db7d1 into master Apr 30, 2026
49 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[priority] high Should be prioritized soon [scope] enhancement Adds/improves features (major.MINOR.patch)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants