Skip to content

Conversation

@gideonoludeyi
Copy link
Contributor

Resolves #743

NoCrossover does random selection which fails to propagate certain parents.
This PR ensures that all parents are propagated as offsprings.

Thanks @oxinabox for the catch.

@gideonoludeyi
Copy link
Contributor Author

Any updates on approving this change. The failing tests seemed to have failed due to external causes. Might be worth retrying the CI action to verify.

blankjul added a commit that referenced this pull request Nov 16, 2025
@blankjul blankjul self-assigned this Nov 16, 2025
@blankjul
Copy link
Collaborator

can you check if the commit above also fixes this issue?

@oxinabox
Copy link

can you check if the commit above also fixes this issue?

It does not

Consider if you have 3 osprint and 2 parents.
Then that means we will chose with replacement 3 items from a list of 3.

Consider the example that the parents are [1, 2]
Then sampling with replacement still allows it to be possible to chose 1 three times or 2 three times.
Which means that not all parents surivive.

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.

NoCrossOver does random selection

3 participants