Quantco / datajudge

Assessing whether data from database complies with reference information.
https://datajudge.readthedocs.io
BSD 3-Clause "New" or "Revised" License
42 stars 3 forks source link

Express assertion message in percent. #165

Closed kklein closed 1 year ago

kklein commented 1 year ago

Now looks as follows:

The #rows from tempdb.dbo.int_table2 have decreased by 50.000000% compared to table tempdb.dbo.int_table1.
They were expected to decrease by at most 49.000000%. Condition on first table: WHERE col_int >= 15. Condition
on second table: WHERE col_int >= 10.
codecov[bot] commented 1 year ago

Codecov Report

Merging #165 (bc91cc8) into main (0d4ba07) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #165   +/-   ##
=======================================
  Coverage   93.73%   93.73%           
=======================================
  Files          16       16           
  Lines        1835     1835           
=======================================
  Hits         1720     1720           
  Misses        115      115           
Impacted Files Coverage Δ
src/datajudge/constraints/nrows.py 94.73% <ø> (ø)