C4W2 Assignment: there's an offset and I can't tell where it's coming from

Can someone help me out here? Where could I have gone wrong?

What is the blue and what is the orange?

blue is actual, orange is prediction

I think you are doing not bad here seeing those lines. It seems there is a delay on your prediction.