Repository navigation
fix: preserve argmin and argmax positions after missing lists - #4428
Merged
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files
|
ianna
approved these changes
Oct 17, 2026
ianna
left a comment
Member
There was a problem hiding this comment.
@vera-rubin -- Thanks for spotting the bug and fixing it! The behavior of these awkward functions did not match the numpy's. Thanks
Contributor
|
The documentation preview is ready to be viewed at https://preview.awkward-array.org/PR4428/ |
ikrommyd
referenced
this pull request
in CoffeaTeam/awkward-lite
Oct 17, 2026
This branch was previously deployed
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.
[None, [1]],axis=0: argmin and argmax returned[0](expected[1]), indexing the missing original row. We retain missing-row shifts discarded by nonlocal reductions through jagged/regular lists per original group and correct datetime expectations counting after empty-row removal.CPU: 160 regressions covered both reducers, jagged/regular lists, nested groups, negative axes, keepdims and typetracer forms. Excluding property tests, unit tests passed before/after: 4,891/5,051, 181 skips each. 10,720 jagged Python reference comparisons passed. CUDA and integrations requiring JAX/CuPy/PyArrow/Numba weren't validated.
Version:
e295f648ebf2b9d00b2f8ec45f15e85ad080e35eFixes #4426
AI-assisted.
— ChipLab