Week 2 Exercise 8 Wrong Prediction

Hello, I reposting this query from Coursera. It was suggested that I post it here.
I​ have passed all tests up to exercise 7 and am facing an assertion error in exercise 8. I have gone through many forum posts but haven’t found a helpful tip regarding this issue. I would appreciate it if someone can point me in the right direction. Thank you!

The issue has been resolved.
There was an error inside “predict” function. The expression for activation function was incorrectly passed in the previous step.