-
Notifications
You must be signed in to change notification settings - Fork 623
Implement hypothesis strategies and tests for arrays #5017
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
rapids-bot
merged 37 commits into
rapidsai:branch-23.02
from
csadorf:fea-hypothesis-stratgies-and-tests-for-arrays
Dec 8, 2022
Merged
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d25d385
WIP: Implement hypothesis strategies and tests for arrays
csadorf 454a073
Remove explicit testing of numba arrays.
csadorf b5de8d4
Continue implementation.
csadorf 716e02f
Make create_cuml_array_input public function.
csadorf 5ff60ad
Hypothesize test_get_set_item.
csadorf 7665b23
Raise ValueError for invalid input to cuml_array_shapes.
csadorf f98739b
The cuml_array_shapes() strategy also returns integers.
csadorf 5b990eb
Only run standard number of examples.
csadorf 3f35726
Hypothesize test_create_empty.
csadorf 03d0f0e
Reenable DeviceBuffer check since #4332 is resolved.
csadorf 0b81196
Remove obsolete py<38 compatibility work-around.
csadorf b8774ac
Hypothesize test_create_* tests.
csadorf b214e77
Improve shape normalization and inspection.
csadorf b369b90
Hypothesize test_output test.
csadorf a698a23
Hypothesize test_output_dtype test.
csadorf 573916a
Hypothesize test_cuda_array_interface test.
csadorf ccf730d
Hypothesize test_serialize test.
csadorf 751391a
Hypothesize test_cumlary_binops and test_deepcopy tests.
csadorf 0f95380
Improve cuml_arrays strategy (currently not used).
csadorf 0782b4e
Cleanup test_array test module.
csadorf 4ba3fc3
Use less rigorous mulit-dimension check for init_array.
csadorf a42da0a
Move test of array_inputs strategies into test_strategies module.
csadorf c9e02fa
Implement test_get_set_item with cuml_array_inputs.
csadorf cec283e
Implement test_output with cuml_array_inputs.
csadorf 85ec179
Fix multidim check for test_output_dtype.
csadorf 7051f93
Implement test_cuda_array_interface test with cuml_array_inputs.
csadorf 9b3b7b4
Implement test_serialize with cuml_array_inputs.
csadorf d7e078b
Implement test_pickle with cuml_array_inputs.
csadorf 49e2bb9
Implement test_deepcopy with cuml_array_inputs.
csadorf 1f14486
Document new strategies.
csadorf 0944b43
Remove obsolete None (default) value from valid cuml array input types.
csadorf 732c7f7
Adjust cuml_array_shapes() max_side default value.
csadorf 87c28c0
Apply isort and black formatting.
csadorf ec5f957
Remove _CUML_ARRAY_OUTPUT_DTYPES constant.
csadorf 5c1d5b3
Remove todo comment (captured in discussion).
csadorf a399e85
The cuml_array_inputs strategy generates more arbitrary arrays.
csadorf d58b661
Set hypothesis deadline=None for test_array_init_from_bytes test.
csadorf 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
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.
Uh oh!
There was an error while loading. Please reload this page.