-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: [TMX-1460] add function mlflow_decision_to_promote #42
base: master
Are you sure you want to change the base?
Conversation
⛔ Snyk checks have failed. 3 issues have been found so far.
⛔ security/snyk check is complete. 3 issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) ✅ code/snyk check is complete. No issues have been found. (View Details) |
@patch( | ||
"hip_data_ml_utils.mlflow_databricks.mlflow_model_utils.mlflow_promote_model" # noqa: E501 | ||
) | ||
def test_decision_to_promote(self): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just to be consistent, the prefix is test_
, + function_name
.
so it will be test_mlflow_decision_to_promote
Closed pending local unit testing rather than running the full CI. This was not previously possible. |
…onger supported in v2
Summary
Add function mlflow_decision_to_promote.
Type
Description
mlflow_decision_to_promote function added to mlflow_model_utils. This function is a wrapper for mlflow_promote_model but first decides whether promotion should happen based on the environment and a metric compared between champion and challenger models.
Jira Link
https://hipagesgroup.atlassian.net/browse/TMX-1460
Checklist before submitting: