-
Notifications
You must be signed in to change notification settings - Fork 6
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
Restructured dev and test code #12
Merged
Merged
Changes from 3 commits
Commits
Show all changes
38 commits
Select commit
Hold shift + click to select a range
6f45085
Update README.md
PiyushGSlab 3047cf4
Update README.md
PiyushGSlab 8531a1d
updated pip package name
PiyushGSlab 70a816b
Merge branch 'acryldata:main' into main
mardikark-gslab 08984df
Removed unwanted CSV files
mardikark-gslab 15d4043
Restructured unit testing file to load dataset from provided director…
mardikark-gslab 52d3519
cosmetic changes
mardikark-gslab 690f9bf
Refactored code to compute name desc, dtype score into a singe funtion
PiyushGSlab bc6e6e6
Added function annotations
PiyushGSlab 2737897
added function annotations
PiyushGSlab c8fb546
added quick test functionality
PiyushGSlab 1c046c5
Removed TODO comment
mardikark-gslab b9478bc
Removed restriction of loading only 1000 rows in test file
mardikark-gslab 8819477
Renamed the test file
mardikark-gslab 418a7f2
Merge branch 'main' into test_restructure
hsheth2 0694949
Updated function annotations (list and dict)
PiyushGSlab b2f0ceb
Merge branch 'test_restructure' of https://github.com/mardikark-gslab…
PiyushGSlab 9b167bb
Updated function annotations and ran gradle sanity checks
PiyushGSlab 062d3e5
Removed the quick test functionality. Separate script will be added l…
PiyushGSlab ac523d5
add Final qualifier to prevent mypy type checking errors
PiyushGSlab 2f298e9
added a class DebugInfo
PiyushGSlab e4ab9b5
changed the debug_info from raw dict to TypedDict
PiyushGSlab 3bc6f02
reduced the verbosity of logger messages (some logs moved to debug le…
PiyushGSlab e0c4866
added typing_extensions library to base requirements
PiyushGSlab 76dcb44
removed the Final qualifier as it is not required any more for mypy t…
PiyushGSlab eb0125a
changed DebugInfo from TypedDict to dataclass
PiyushGSlab 68c293d
some syntax changes as debug_info is now instance of dataclass and fi…
PiyushGSlab b19a365
fixed some incorrect function annotations
PiyushGSlab 85736b5
fixed some incorrect function annotations
PiyushGSlab 7228548
removed typing_extensions from base requirements as it is not require…
PiyushGSlab c22b8ab
class variables of DebugInfo assigned default value None
PiyushGSlab 72cc38e
removed hasattr check
PiyushGSlab 325d5d9
replaced debug_info NoneType check with prediction_factors_weights wi…
PiyushGSlab c619e6b
Modified the float comparison, also changed the DebugInfo instance va…
mardikark-gslab cc6d546
Removed unused import
mardikark-gslab d41a293
Removed cast operation
mardikark-gslab 5b5c0cd
Update datahub-classify/src/datahub_classify/infotype_helper.py
hsheth2 0bcc6bd
Update datahub-classify/src/datahub_classify/infotype_helper.py
hsheth2 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 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 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.
comparing floats with == is unreliable
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.
Modified the code not to use "==" for float comparison. Also I have modified DebugInfo instance variable type to float instead of float and str. Added couple of TODOs regarding adding warning/error messages in the error flag which will get passed in ColumnInfo object in future PR.