-
-
Notifications
You must be signed in to change notification settings - Fork 26k
ENH Verify md5-checksums received from openml arff file metadata #14800
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
thomasjpfan
merged 31 commits into
scikit-learn:master
from
shashanksingh28:md5checksum_validate_openml
Jun 26, 2020
Merged
Changes from all commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
5e9f6c9
add verify_checksum functionality with tests
shashanksingh28 5df30c0
python3.5 compatible multi-line string
shashanksingh28 df4c049
use titanic local file and format string
shashanksingh28 f4ca32b
update locally truncated arff md5sums
shashanksingh28 831d78b
return bytes instead of stream, read once
shashanksingh28 10ecf9a
read and update md5 in chunks
shashanksingh28 f8c8fe4
bytearray extend while chunked construction
shashanksingh28 3c5ab3e
Update sklearn/datasets/openml.py
shashanksingh28 f2624e0
Merge branch 'upstream_master' into md5checksum_validate_openml
shashanksingh28 db159a5
add early exiting
shashanksingh28 f745e21
revert back to simple case
shashanksingh28 3433031
Merge upstream, verify checksum while yielding stream
shashanksingh28 c7774ef
Update checksum for truncated local test files
shashanksingh28 1a6b873
Merge branch 'upstream_master' into md5checksum_validate_openml
shashanksingh28 d00a413
Linting updates
shashanksingh28 2e744aa
Fully consume generator, test for non frame case
shashanksingh28 1e6efdd
Cross platform assert in test
shashanksingh28 bf937a3
Intentionally reach end-of-stream checksum validation
shashanksingh28 eac5a1e
Test should not modify local test-suite shared file
shashanksingh28 d075a83
Update sklearn/datasets/tests/test_openml.py
shashanksingh28 23ba190
Use tmpdir for creating corrupt file, add comments, update changelog
shashanksingh28 9bda995
Merge branch 'md5checksum_validate_openml' of github.com:shashanksing…
shashanksingh28 4ab9036
Merge upstream master
shashanksingh28 c216171
Make test-path platform independent
shashanksingh28 536bc4f
Do not remove file explicitly from tmpdir
shashanksingh28 c55f64a
Make test mock class private to ignore coverage
shashanksingh28 c12fd02
Merge branch 'upstream_master' into md5checksum_validate_openml
shashanksingh28 02729a4
Merge branch 'master' into md5checksum_validate_openml
rth fc9181d
Fix merge conflict issues
rth 07a53b6
fmt
rth d5bebcf
CLN Early skip if pandas is not avaliable
thomasjpfan 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
Binary file modified
BIN
+1 Byte
(100%)
sklearn/datasets/tests/data/openml/1/api-v1-json-data-1.json.gz
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
sklearn/datasets/tests/data/openml/1119/api-v1-json-data-1119.json.gz
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
sklearn/datasets/tests/data/openml/2/api-v1-json-data-2.json.gz
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
sklearn/datasets/tests/data/openml/292/api-v1-json-data-292.json.gz
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
sklearn/datasets/tests/data/openml/292/api-v1-json-data-40981.json.gz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
sklearn/datasets/tests/data/openml/40589/api-v1-json-data-40589.json.gz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
sklearn/datasets/tests/data/openml/40675/api-v1-json-data-40675.json.gz
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
sklearn/datasets/tests/data/openml/40966/api-v1-json-data-40966.json.gz
Binary file not shown.
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
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.
Leave a comment that
sklearn.datasets._openml.urlopen
is already mocked by_monkey_patch_webbased_functions
.