Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from
Feb 21, 2025

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
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 15 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     

@@ -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