Sketchy auto grader error msg

Hello All -

course 4, week 1
course: Sequences, Time Series and Prediction: working with generated time series

assignment: Programming Assignment: Working with generated time series

this is a user coded method which is called several times, and passes inline but fails auto grader.

Error msg:
There was a problem grading your submission. Details:
operands could not be broadcast together with shapes (0,) (25,)

I cant find any instance of moving_average_forecast broadcasting with above shapes.

thx for assist.

… looking for screenshot of error msg - but it is the same as above

Please click my name and message your notebook as an attachment.

I did as requested - please let me know if you received what you need.

maybe this: