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

Add tests for data_model_utils.tabular #470

Merged
merged 12 commits into from
Jul 1, 2020

Conversation

HiromuHota
Copy link
Contributor

Description of the problems or issues

Is your pull request related to a problem? Please describe.

As reported in #380, we'd like to increase the test coverage.
Currently, fonduer.utils.data_model_utils.tabular is covered 65.54% (https://codecov.io/gh/HazyResearch/fonduer/src/7f5c6633b51bd2e5102a463c739d6c4ec10db147/src/fonduer/utils/data_model_utils/tabular.py), meaning there is a large space to increase.

Does your pull request fix any issue.

Toward #380 .

Description of the proposed changes

Add tests for data_model_utils.tabular

Test plan

This PR adds more tests for data_model_utils.tabular.

Checklist

  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • I have updated the CHANGELOG.rst accordingly.

@codecov-commenter
Copy link

codecov-commenter commented Jun 30, 2020

Codecov Report

Merging #470 into master will increase coverage by 1.08%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #470      +/-   ##
==========================================
+ Coverage   83.27%   84.36%   +1.08%     
==========================================
  Files          88       88              
  Lines        4563     4553      -10     
  Branches      837      830       -7     
==========================================
+ Hits         3800     3841      +41     
+ Misses        572      525      -47     
+ Partials      191      187       -4     
Flag Coverage Δ
#unittests 84.36% <100.00%> (+1.08%) ⬆️
Impacted Files Coverage Δ
src/fonduer/utils/data_model_utils/tabular.py 100.00% <100.00%> (+34.45%) ⬆️

@HiromuHota
Copy link
Contributor Author

Feel free to squash commits when merging.

Copy link
Contributor

@lukehsiao lukehsiao left a comment

Choose a reason for hiding this comment

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

Thanks!

@lukehsiao lukehsiao added this to the v0.8.3 milestone Jul 1, 2020
@lukehsiao lukehsiao merged commit 697b32e into HazyResearch:master Jul 1, 2020
@HiromuHota HiromuHota deleted the fix/380-1 branch July 1, 2020 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants