Skip to content

Commit

Permalink
New values for IQR test (#346)
Browse files Browse the repository at this point in the history
Co-authored-by: Herminio Vazquez <hvazquez-cano@copado.com>
  • Loading branch information
canimus and Herminio Vazquez authored Nov 15, 2024
1 parent bf30e7f commit 444aac0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
.py3815/
.py3812/
.py312/
.py310/

# Cache
**__pycache__/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ def test_negative(snowpark):
check.is_inside_interquartile_range("ID")
rs = check.validate(df)
assert rs.first().STATUS == "FAIL"
assert rs.first().VIOLATIONS == 6
assert rs.first().VIOLATIONS == 4
assert rs.first().PASS_THRESHOLD == 1.0
assert rs.first().PASS_RATE == 0.4
assert rs.first().PASS_RATE == 0.6


@pytest.mark.parametrize(
Expand All @@ -47,6 +47,6 @@ def test_coverage(snowpark):
check.is_inside_interquartile_range("ID", pct=0.4)
rs = check.validate(df)
assert rs.first().STATUS == "PASS"
assert rs.first().VIOLATIONS == 6
assert rs.first().VIOLATIONS == 4
assert rs.first().PASS_THRESHOLD == 0.4
assert rs.first().PASS_RATE == 0.4
assert rs.first().PASS_RATE == 0.6

0 comments on commit 444aac0

Please sign in to comment.