Skip to content
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

Fix SelectionTest: allow different indices when keys are equal. #659

Merged
merged 4 commits into from
May 18, 2022

Conversation

achirkin
Copy link
Contributor

If the dists (keys) are the same, different corresponding ids may end up in the selection due to non-deterministic nature of some implementations.
This PR updates the comparison functor in the tests to account for this problem.

@achirkin achirkin requested a review from a team as a code owner May 18, 2022 06:10
@github-actions github-actions bot added the cpp label May 18, 2022
@achirkin achirkin added 3 - Ready for Review non-breaking Non-breaking change bug Something isn't working 2 - In Progress Currenty a work in progress and removed cpp 3 - Ready for Review labels May 18, 2022
@github-actions github-actions bot added the cpp label May 18, 2022
@achirkin achirkin force-pushed the fix-selection-tests branch from c06f7ce to 9d7f709 Compare May 18, 2022 09:48
@cjnolet
Copy link
Member

cjnolet commented May 18, 2022

PR looks good. We should probably create an issue for the failing test just so it doesn't fall off our radar.

@cjnolet
Copy link
Member

cjnolet commented May 18, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 25db984 into rapidsai:branch-22.06 May 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2 - In Progress Currenty a work in progress bug Something isn't working cpp non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants