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 molecule integration test #145

Merged
merged 2 commits into from
Jul 18, 2023
Merged

Conversation

YamLyubov
Copy link
Collaborator

@YamLyubov YamLyubov commented Jul 17, 2023

The problem was with get_structure_unique_population. It was extending population using mutation (EvoGraphOptimizer._extend_population) but added molecules were not evaluated. That is why individuals with null fitness appeared in the population.
#144

Also the check optimized_network.depth > 1 from test_custom was removed because it can find cycled graphs with depth == -1

@codecov-commenter
Copy link

Codecov Report

Merging #145 (f36b6f8) into main (f64661f) will decrease coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   73.81%   73.61%   -0.21%     
==========================================
  Files         129      129              
  Lines        7563     7566       +3     
==========================================
- Hits         5583     5570      -13     
- Misses       1980     1996      +16     
Impacted Files Coverage Δ
golem/core/optimisers/populational_optimizer.py 92.15% <100.00%> (-3.89%) ⬇️

... and 9 files with indirect coverage changes

@YamLyubov YamLyubov requested a review from gkirgizov July 18, 2023 08:57
@YamLyubov YamLyubov merged commit 045a814 into main Jul 18, 2023
@YamLyubov YamLyubov deleted the fix-molecule-integration-test branch July 18, 2023 09:14
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