ci: run all examples including slow ones#20
Open
corneliusroemer wants to merge 5 commits intofix-makefilefrom
Open
ci: run all examples including slow ones#20corneliusroemer wants to merge 5 commits intofix-makefilefrom
corneliusroemer wants to merge 5 commits intofix-makefilefrom
Conversation
After fixing the critical memory bug in provide_at_least(), all 27 examples now complete successfully under 10GB memory limit, including the previously "slow" examples that were timing out due to memory issues. Changes: - Remove skip logic for slow examples (benefits_of_sex, genealogies_with_selection, etc.) - Run all *.py examples serially in CI - All examples now complete in reasonable time with fixed memory usage Previously slow examples were failing due to the integer overflow bug that allocated 2 billion clones. With the fix, these examples complete successfully and can be safely run in CI. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
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.
Summary
After fixing the critical memory bug, all 27 examples now complete successfully. This PR enables testing of all examples in CI, including the previously "slow" examples that were timing out.
Changes
Why This Works Now
Previously, examples like
decay_of_LD_highd.pywere failing after 5 generations with >10GB memory usage due to the integer overflow bug inprovide_at_least(). With the fix in the base branch (#fix-makefile):Testing
All 27 examples pass locally:
✅ All examples complete successfully under 10GB memory limit
Base Branch
This PR is based on
fix-makefilewhich contains: