.3106580201476295:75b5ec0672a108310b9aacdcbc77b73b_69f6b15ede92085ec7833bfc.69f6d2a7de92085ec7833e4a.69f6d2a6fbc5f84623048744:Trae CN.T(2026/5/3 12:44:23)#12
Open
stonelv wants to merge 1 commit into
Conversation
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.
清理所有pygad.egg-info/*打包产物与无关文件;把test_fallback_strategies.py移入tests/并改为pytest用例。修复pygad/helper/misc.py里抛异常处对pygad.GeneConstraintError的引用(确保正确import或改为从本模块可见的异常类),避免运行到raise分支时报NameError。同时调整expand_sample相关测试,避免依赖随机命中导致不稳定,改为确定性场景或只断言“最终满足约束/未返回None”。