-
Notifications
You must be signed in to change notification settings - Fork 317
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
Split GreaterThan
into Inequality
and ScalarInequality
#823
Conversation
Codecov Report
@@ Coverage Diff @@
## master #823 +/- ##
==========================================
- Coverage 67.98% 67.74% -0.25%
==========================================
Files 38 38
Lines 2899 2874 -25
==========================================
- Hits 1971 1947 -24
+ Misses 928 927 -1
Continue to review full report at Codecov.
|
ebdbda4
to
e7ce5a5
Compare
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.
I will go over it again before we merge it, but for now I have those few comments.
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.
This is looking really good so far! My main request is that we guarantee all new code has 100% test coverage. The coverage report suggests that this actually will lower the total test coverage. Can we check to make sure all of the new lines of code are covered by the unit tests?
Also, in my PR I added a file for integration tests for constraints. I think it might be worth adding at least one test for each constraint to make sure it works end to end
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.
I checked the coverage report and for sdv/contraints/tabular.py
, the following lines need to be tested:
https://github.com/sdv-dev/SDV/blob/issue-814-split-greaterthan/sdv/constraints/tabular.py#L304
https://github.com/sdv-dev/SDV/blob/issue-814-split-greaterthan/sdv/constraints/tabular.py#L420
https://github.com/sdv-dev/SDV/blob/issue-814-split-greaterthan/sdv/constraints/tabular.py#L441
All of them seem related to raising errors. Can we add these unit tests in?
f1cf8a9
to
9638ad8
Compare
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.
Assuming the test coverage is now 100% this looks good to go!
34dbf20
to
d2a7a01
Compare
Resolve #814.
Resolve #817.