Repository navigation
Reject weave origins that overflow the millimetre conversion #388
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
Merged
Changes from 7 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
50dbf5a
fix: reject weave origins that would overflow millimetres
cursoragent bc553b4
fix: close the weave-origin holes the review found
cursoragent 65dee63
docs: restamp weaving and gameplay traces to bc553b45
cursoragent ff3724c
fix: restore the gravity test and reject a non-finite wind end
cursoragent d318ebf
docs: restamp weaving and gameplay traces to ff3724c1
cursoragent fbd1d33
fix: reject a wind endpoint whose square overflows
cursoragent f3abdf0
docs: restamp weaving and gameplay traces to fbd1d331
cursoragent 9403e3b
fix: reject a wind delta whose square is zero
cursoragent a4166d8
docs: restamp weaving and gameplay traces to 9403e3b6
cursoragent 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.
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.
Non-blocking. This string is now the failure for every
wind_directionreject, including a zero delta, a square that underflows (1e-23), and a square that overflows (1.9e19). None of those origins are outside ±2048.non_finite_wind_endpoint_does_not_spend_weatherlockscontains("outside the island")for NaN and1.9e19, so the false reason is part of the test contract. The world effect is still right: budget unchanged, previous wind unchanged (weave_op_edges_fail_closedpassed, 18/18). A distinct message would only help the caller tell a bad direction from a bad origin. The same sentence on the geometry bail below is accurate for a dropped cell.