Skip to content

test(operators): use predictions_operator in test_predictions_operator - #189

Open
raashish1601 wants to merge 1 commit into
deel-ai:masterfrom
raashish1601:test/181-predictions-operator
Open

raashish1601 wants to merge 1 commit into
deel-ai:masterfrom
raashish1601:test/181-predictions-operator

Conversation

@raashish1601

Copy link
Copy Markdown

Fixes #181

test_predictions_operator built its attribution methods with regression_operator, so predictions_operator was never exercised by this test. It also passed on main for that reason: the regression operator works on the classification model as well.

This imports predictions_operator and uses it in that test. test_regression_operator keeps using regression_operator.

Tests: pytest tests/commons/test_operators.py passes locally (Python 3.12, TensorFlow 2.20, CPU). ruff check and ruff format --check are clean on the changed file.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

test_predictions_operator() uses regression_operator instead of prediction_operator

1 participant