Affects Version/s: 3.4.7, 3.5.4, 3.6.2, 3.7
When playing with analytics, I realized that the "No teaching" model is not processed by the "predict_models" scheduled task as it should be. Debugging revealed that the model has been marked as not trained in my database - and as such, the task did not pick it. But that should never happen because static model (i.e. those using target based on assumptions, not facts) should be always considered as trained implicitly.
The problem has been introduced by
MDL-59988. When a model is cleared (e.g. when default predictions processor is changed), the model is always marked as not-trained. But that must happen for non-static models only.
- Check that the "no_teaching" model is correctly marked as trained in the database
It should have both enabled and trained set to 1.
- Change the default predictions processor from PHP to Python.
- Check the "trained" value of the "no_teaching" model in the database again.
Expected: The value must be still 1.
Actual: The value has been set to 0.