-
Notifications
You must be signed in to change notification settings - Fork 771
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core: Fix Fill choking on itself in minimal + full games #4225
base: main
Are you sure you want to change the base?
Conversation
Idk about the formatting here, if someone who actually knows PEP8 and doesn't let ruff do it for them wants to check it that would be appreciated |
Part of me is also wondering what this part of the code is even doing, it seems like it might be a relic of the past that isn't hurting anything but doesn't need to be here anymore? Maybe one of the core devs who worked on this part of the code can explain Either way, this fix does fix the issue, so |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The change LGTM. Stepped through the code and ran some test generations that previously broke and now did not. Slightly concerned that this doesn't check classification, but it didn't do that earlier either.
Just for the record: I think this should get looked at by one more core maintainer or someone like Em or Treble who know a lot about Fill |
Very much agreed |
Fixes #4224
Basically, the "cleanup" step is too overzealous and "cleans up" cases that can actually be fixed by
accessibility_corrections
later, leading to failed seeds that would have generated perfectly fine otherwiseI knew this fix was gonna be like one line