sdv-dev / SDMetrics

Metrics to evaluate quality and efficacy of synthetic datasets.
https://docs.sdv.dev/sdmetrics
MIT License
210 stars 45 forks source link

Make `TVComplement` error out when no data is passed #441

Closed fealho closed 1 year ago

fealho commented 1 year ago

Resolve #403.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (a4e05fd) 77.31% compared to head (41ab7a8) 77.31%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #441 +/- ## ======================================= Coverage 77.31% 77.31% ======================================= Files 83 83 Lines 3394 3395 +1 ======================================= + Hits 2624 2625 +1 Misses 770 770 ``` | [Files Changed](https://app.codecov.io/gh/sdv-dev/SDMetrics/pull/441?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None) | Coverage Δ | | |---|---|---| | [...metrics/single\_column/statistical/tv\_complement.py](https://app.codecov.io/gh/sdv-dev/SDMetrics/pull/441?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=None#diff-c2RtZXRyaWNzL3NpbmdsZV9jb2x1bW4vc3RhdGlzdGljYWwvdHZfY29tcGxlbWVudC5weQ==) | `100.00% <100.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.

:loudspeaker: Have feedback on the report? Share it here.