-
Notifications
You must be signed in to change notification settings - Fork 503
Possible fix for #914 compactCells failing when passed all res 1 cells #919
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
Merged
isaacbrodsky
merged 20 commits into
uber:master
from
isaacbrodsky:compact_all_res1_tes-proposed-fix
Oct 1, 2024
Merged
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
37dac22
stub for new res1 test
ajfriend a094639
better name
ajfriend a618a5e
formatting is happening?
ajfriend 63a2723
clean up test for all res 1
ajfriend e5fa3bb
failing test
ajfriend 8f77829
Demonstrate pass at `numUncompacted = 40`
ajfriend 944a62b
retry: Demonstrate pass at `numUncompacted = 40`
ajfriend 6159f5c
should fix the formatting issue
ajfriend d811d47
const array sizes to fix windows errors
ajfriend d29c9b3
bah
ajfriend fa3b1b8
Demonstrate failure at numUncompacted = 41
ajfriend e6c47e0
Demonstrate failure at numUncompacted = numRes1 = 842;
ajfriend a3a28e6
Demonstrate pass at numUncompacted = 40
ajfriend d97b939
back to the full failing test demonstrating the problem
ajfriend f199548
proposed fix for compact
isaacbrodsky 663e02a
test other case
isaacbrodsky a7e07fe
comprehensive test
isaacbrodsky 6eb6ca8
NEVER for parent error
isaacbrodsky bd81be6
assert that all res 0 cells are found
isaacbrodsky 25eecc5
CHANGELOG
isaacbrodsky File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
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.
Actually, I'm not positive that we need this test. I had code like this previously just to try to generate a minimal example of a failure. I don't think it hurts to add this test, but I don't think there's any reason to think this provides much additional value beyond compacting all the res 1 cells. Happy to go either way with it, based on your judgement @isaacbrodsky .
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.
It's not that strong a test. More convincing might be enumerating all possible sets of res 1 cells, but it might be useful for just ensuring all of these cases are not inadvertently failing.