Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MDL-64996 analytics: Make sure the no_teaching model is trained
Due to the bug, the no_teaching model might have been marked as not-trained in the database. Static predictions models (i.e. those using a target based on assumptions, not facts) are always considered as trained. If they were marked as not-trained, the prediction scheduled task would skip them and they would produce no predictions. Ideally, such a fix should be done for all static models. But there is no easy way to do it during the upgrade where accessing the analytics API is not possible. I don't think there are many models out there that would be affected by this so this seems to be good enough solution for now (and the future ability to reset models will cover the rest).
- Loading branch information