You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since this is a subtle problem, I think it needs documenting. Ideally, the feedback message also needs fixing so that parentheses are included where the intermediate element is a function.
The text was updated successfully, but these errors were encountered:
In ch3ex6 of "Machine Learning for Time Series in Python", the student has to complete this line of code.
The SCT to check this was
This gives a bad feedback message when the student types a different function to
is.na()
.For example, the submission
Results in the feedback
This is confusing: it ought to say
A partial fix is to perform the checks in reverse order. That is functions should be checked from left to right, not right to left.
In this case, the submission
gives the feedback
It isn't perfect though. The submission
gives the feedback
So a custom missing message needs to be provided.
Since this is a subtle problem, I think it needs documenting. Ideally, the feedback message also needs fixing so that parentheses are included where the intermediate element is a function.
The text was updated successfully, but these errors were encountered: