Fix island population counting per child program#354
Merged
codelion merged 1 commit intoalgorithmicsuperintelligence:mainfrom Dec 18, 2025
Merged
Fix island population counting per child program#354codelion merged 1 commit intoalgorithmicsuperintelligence:mainfrom
codelion merged 1 commit intoalgorithmicsuperintelligence:mainfrom
Conversation
Previously, when a new child_program was generated, the population counter of the current island was incremented instead of the child_program's actual island. This change updates the logic to increment the population of the child_program's assigned island. As part of this fix, the unused current_island_counter and program_per_island configuration were removed. Fixes algorithmicsuperintelligence#351
350cab1 to
e2852bb
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Previously, when a new child_program was generated, the population counter
of the
database.current_islandwas incremented instead of the child_program's actual island.This change updates the logic to increment the population of the child_program's
real island. As part of this fix, the unused
current_island_counterandprogram_per_island configurationwere removed.Follow-up
It appears that
database.current_islandis now only used during initialprogram insertion. The related management logic may be removable in a
follow-up change.
Fixes #351