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

Fix final choices saving in optimizers #227

Merged
merged 1 commit into from
Oct 25, 2023
Merged

Conversation

MorrisNein
Copy link
Collaborator

@MorrisNein MorrisNein commented Oct 25, 2023

The change uses cycle break instead of early return in optimizer.

This allows to close the progress bar and to save the final choices to history.

@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2023

Codecov Report

Merging #227 (8ba2a8a) into main (fcc23ec) will increase coverage by 0.01%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##             main     #227      +/-   ##
==========================================
+ Coverage   73.75%   73.76%   +0.01%     
==========================================
  Files         131      131              
  Lines        7834     7834              
==========================================
+ Hits         5778     5779       +1     
+ Misses       2056     2055       -1     
Files Coverage Δ
golem/core/optimisers/populational_optimizer.py 95.69% <100.00%> (ø)
golem/core/optimisers/meta/surrogate_optimizer.py 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes

@maypink maypink self-requested a review October 25, 2023 11:24
@MorrisNein MorrisNein merged commit 8676297 into main Oct 25, 2023
5 checks passed
@MorrisNein MorrisNein deleted the fix-final-choices-saving branch October 25, 2023 12:06
@MorrisNein MorrisNein restored the fix-final-choices-saving branch October 25, 2023 12:06
@MorrisNein MorrisNein deleted the fix-final-choices-saving branch October 25, 2023 12:06
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.

3 participants