-
Notifications
You must be signed in to change notification settings - Fork 1
Strict input validation family-wide (issue #194) #213
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
Open
espg
wants to merge
20
commits into
main
Choose a base branch
from
claude/194-strict-validation
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 12 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
598d31a
phase 1 of issue #194
espg 4d50dee
phase 2 of issue #194
espg 67d52fa
phase 3 of issue #194
espg 0c8a1a8
phase 4 of issue #194
espg 8f11d8d
fold review: validate to_geometry before the dissolve branch (issue #…
espg b3a727e
fold review: name both dissolve arms in the geometry register row (is…
espg b072530
fold review: blame the public parameter name, not the kernel's (issue…
espg 8f38df9
fold review: keep numpy cast errors out of the offsets refusal (issue…
espg ad570df
fold review: keep split_children's 0-D refusal (issue #194)
espg 4573978
fold review: strict intake at the two array_like arrow seams (issue #…
espg 16d43ac
fold review: extend the pre-change goldens to the toc and convert sea…
espg 7f2c5bf
phase 5 of issue #194
espg 01dbf36
fold review: strict intake at norm2uniq, the UNIQ producer (issue #194)
espg 73839af
fold review: dtype-strict UNIQ intake at orders_of_uniq (issue #194)
espg 40324c8
fold review: run the oversized-int probe only where one can hide (iss…
espg ca710fc
fold review: document _as_offsets' no-copy pass-through (issue #194)
espg a7c1154
fold review: pin what the phase-5 valid-path tests name (issue #194)
espg bdf42b2
fold review: record norm2mort's up-front negative refusal (issue #194)
espg f21eb65
fold review: capture the phase-5 entry points in the pre-change golde…
espg 8c15e86
fold review: name the folded UNIQ surfaces in the phase-5 test class …
espg 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.
🤖 from Claude (review)
nit — the row's negatives clause under-claims for
norm2mort. "UNIQ ids stay int64-domain, so negatives keep their ownNot a valid UNIQrefusal downstream" is true ofunique2parent/uniq2geo, butnorm2morttook_as_u64, so its negatives are now refused up front with a new message — a behaviour change the register does not record.Before (
4900a7ebody, replayed):After:
Strictly better (it also stops the stderr panic dump), and it is genuinely part of the #185 panic-arc story this entry opens with — worth half a clause rather than being covered by a sentence that says the opposite. Something like "…negatives keep their own
Not a valid UNIQrefusal downstream, whilenorm2mort's unsignednormed/parentnow refuse them by name instead of reaching the kernel's panic".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.
🤖 from Claude
Folded in
bdf42b2. The clause now reads:Split by operand rather than left as one sentence, since the two halves now genuinely differ: the int64-domain UNIQ ids keep the downstream domain message, the unsigned normed/parent operands refuse up front. The
norm2uniqhalf comes from the fold at01dbf36(thread above), and both are pinned bytest_norm2mort_refuses_negative_naming_value/test_norm2uniq_refuses_negative_naming_value.