Skip to content

[ENH] Parameter Fitter: more responsive when changing settings#7027

Merged
markotoplak merged 3 commits intobiolab:masterfrom
markotoplak:parameterfitter-responsive
Feb 21, 2025
Merged

[ENH] Parameter Fitter: more responsive when changing settings#7027
markotoplak merged 3 commits intobiolab:masterfrom
markotoplak:parameterfitter-responsive

Conversation

@markotoplak
Copy link
Member

@markotoplak markotoplak commented Feb 12, 2025

Callbacks (and thus interruptions) also go into CV.

I was checking why are Parameter Fitter tests so slow. This does not change much for slow tests, but does improve the responsiveness of setting changes with slow learners a lot.

I then added a commit that tries making tests run faster and thus not timeout on Actions. Mainly by actively cancelling running computations when results are not needs.

Includes
  • Code changes
  • Tests
  • Documentation

Callbacks (and thus interruptions) also go into CV.
@markotoplak markotoplak changed the title [ENG] Parameter Fitter: more responsive when changing settings [ENH] Parameter Fitter: more responsive when changing settings Feb 12, 2025
@codecov
Copy link

codecov bot commented Feb 12, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.70%. Comparing base (e67650f) to head (b32d0ce).
Report is 55 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #7027      +/-   ##
==========================================
+ Coverage   88.36%   88.70%   +0.33%     
==========================================
  Files         332      332              
  Lines       73345    73362      +17     
==========================================
+ Hits        64814    65075     +261     
+ Misses       8531     8287     -244     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@@ -68,7 +75,8 @@ def _search(
progress_callback(i / len(steps))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line could now be removed.

@markotoplak
Copy link
Member Author

test_tooltip still timeout on Windows. Oh well, merging for now.

@markotoplak markotoplak merged commit ef99c3f into biolab:master Feb 21, 2025
26 of 30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants