Skip to content

Commit

Permalink
Cleanup code
Browse files Browse the repository at this point in the history
  • Loading branch information
dustalov committed Aug 29, 2024
1 parent d3d8bcb commit f05e76f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions python/evalica/test_evalica.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,6 @@ def test_bradley_terry(comparison: Comparison, win_weight: float, tie_weight: fl
weights=weights,
win_weight=win_weight,
tie_weight=tie_weight,
limit=10,
solver="pyo3",
)

Expand All @@ -180,7 +179,6 @@ def test_bradley_terry(comparison: Comparison, win_weight: float, tie_weight: fl
weights=weights,
win_weight=win_weight,
tie_weight=tie_weight,
limit=10,
solver="naive",
)

Expand All @@ -191,7 +189,7 @@ def test_bradley_terry(comparison: Comparison, win_weight: float, tie_weight: fl
assert not xs or result.iterations > 0
assert result.limit > 0

assert_series_equal(result_pyo3.scores, result_naive.scores, rtol=1e-3, check_like=True)
assert_series_equal(result_pyo3.scores, result_naive.scores, check_like=True)


@given(comparison=comparisons(), v_init=st.floats())
Expand Down

0 comments on commit f05e76f

Please sign in to comment.