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

Introduce Comprehensive Pathological Unit Tests for Issue #14409 #14459

Merged
merged 6 commits into from
Nov 24, 2023

Conversation

aocsa
Copy link
Contributor

@aocsa aocsa commented Nov 21, 2023

Description

This PR addresses the issue at #14409. I would like to propose the addition of unit tests that involve scenarios like having 100 or 1000 elements in a tree, reaching 100 levels of depth, with diferent data types and similar stress tests. The purpose of these tests is to conduct comprehensive testing and stress the Abstract Syntax Tree (AST), ultimately aiding in the identification and resolution of any potential issues.

By introducing these pathological tests, we aim to ensure the robustness and reliability of our codebase. These tests can help us uncover edge cases and performance bottlenecks that might otherwise go unnoticed.

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@aocsa aocsa requested a review from a team as a code owner November 21, 2023 17:33
Copy link

copy-pr-bot bot commented Nov 21, 2023

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Nov 21, 2023
Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, up to a couple comments/questions.

cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
@bdice bdice added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Nov 21, 2023
@bdice
Copy link
Contributor

bdice commented Nov 21, 2023

/ok to test

@vyasr
Copy link
Contributor

vyasr commented Nov 21, 2023

@aocsa since this PR isn't detecting any critical issues, could you rebase on branch-24.02? We are no longer making new changes on 23.12 at this stage.

@aocsa aocsa requested review from a team as code owners November 21, 2023 21:20
@github-actions github-actions bot added Python Affects Python cuDF API. CMake CMake build issue conda Java Affects Java cuDF API. labels Nov 21, 2023
@vyasr vyasr changed the base branch from branch-23.12 to branch-24.02 November 21, 2023 21:21
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Generally looks great, thanks! I have a few suggestions to clean things up a bit then we should be good to go.

cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
@aocsa
Copy link
Contributor Author

aocsa commented Nov 21, 2023

@aocsa since this PR isn't detecting any critical issues, could you rebase on branch-24.02? We are no longer making new changes on 23.12 at this stage.

@vyasr Can you please explain how to do that? I'm not aware of any other method aside from creating a new PR.

@github-actions github-actions bot removed Python Affects Python cuDF API. CMake CMake build issue conda Java Affects Java cuDF API. labels Nov 21, 2023
@vyasr
Copy link
Contributor

vyasr commented Nov 21, 2023

/ok to test

@vyasr
Copy link
Contributor

vyasr commented Nov 21, 2023

@aocsa since this PR isn't detecting any critical issues, could you rebase on branch-24.02? We are no longer making new changes on 23.12 at this stage.

@vyasr Can you please explain how to do that? I'm not aware of any other method aside from creating a new PR.

@aocsa I'm not sure what you're asking, but you seem to have already done what's needed! I see that you've rebased your branch on 24.02. The only other thing that was needed was changing the base branch for the PR, which I have done.

@vyasr vyasr removed request for a team and charlesbluca November 21, 2023 22:31
Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@vyasr vyasr requested a review from bdice November 21, 2023 22:31
cpp/tests/ast/transform_tests.cpp Outdated Show resolved Hide resolved
@bdice
Copy link
Contributor

bdice commented Nov 21, 2023

/ok to test

@aocsa
Copy link
Contributor Author

aocsa commented Nov 24, 2023

/ok to test

I think this is ready to be merged, right?

@wence-
Copy link
Contributor

wence- commented Nov 24, 2023

/merge

@rapids-bot rapids-bot bot merged commit ded5130 into rapidsai:branch-24.02 Nov 24, 2023
67 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants