eland icon indicating copy to clipboard operation
eland copied to clipboard

Learning to rank tests failing

Open davidkyle opened this issue 11 months ago • 0 comments

Several learning to rank tests are failing with the error:

Arrays are not almost equal to 2 decimals
FAILED tests/ml/test_ml_model_pytest.py::TestMLModel::test_learning_to_rank[rank:ndcg-False]
FAILED tests/ml/test_ml_model_pytest.py::TestMLModel::test_learning_to_rank[rank:map-True]
FAILED tests/ml/test_ml_model_pytest.py::TestMLModel::test_learning_to_rank[rank:map-False]
FAILED tests/ml/test_ml_model_pytest.py::TestMLModel::test_learning_to_rank[rank:pairwise-True]
FAILED tests/ml/test_ml_model_pytest.py::TestMLModel::test_learning_to_rank[rank:pairwise-False]

The first failure reproduces on my system with this command

pytest tests/ml/test_ml_model_pytest.py::TestMLModel::test_learning_to_rank[rank:ndcg-False]

davidkyle avatar Mar 19 '24 17:03 davidkyle