Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@ThomasGjerde
Copy link
Contributor

@ThomasGjerde ThomasGjerde commented Nov 9, 2025

When restoring a population from a checkpoint, the ReporterSet is reinitialized on the reproduction object, but restored from the checkpoint on the species object. This can cause unexpected behavior.

This PR sets the newly initialized ReporterSet on the species object after it's been assigned by the initial state.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Nov 9, 2025

@coveralls
Copy link

Coverage Status

coverage: 97.709% (+0.05%) from 97.655%
when pulling e0afd3a on ThomasGjerde:fix-restored-reporters
into 9d3957b on CodeReclaimers:master.

@CodeReclaimers CodeReclaimers merged commit 258cc6c into CodeReclaimers:master Nov 9, 2025
17 checks passed
@CodeReclaimers
Copy link
Owner

Thanks for the pull request!

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