Possible typo yi instead of yj in C3_W3_A1_Assignment algorithm

In C3_W3_A1_Assignment, the Algorithm image file says to set y(i) but should it say y(j) instead?

Rationale: in Exercise 2 it only refers to y(j), not y(i):

Hey @mosofsky,
If I am not wrong, this issue has been reported already and was fixed as well. I guess the issue is that the notebook hasn’t been updated. Thanks a lot for reporting this. I will make sure to convey this to the team.

Cheers,
Elemento

HI, Even I am getting an error like this constantly.

When you pass the tests in the notebook, but fail the grader, there are a number of things to check:

One simple issue could be that your latest updates to the notebook did not get saved, so the grader is seeing an older version of the code. Try doing a “Save” first and then submitting again.

If that still fails, then the next thing to look for is ways you have written the code that are not general. For example, if you reference a global variable from within the body of one of your functions, that is almost always a mistake unless they explicitly tell you to do that. The problem is that the value of that variable may be different in the grader context or even undefined.

Also please note that this thread is about the same exercise you are asking about, but the topic of the thread has nothing to do with your question and the thread has been dormant for 4 years. You got lucky in that I looked at the “Latest” activity and saw the update to the thread. But in general you’re better off creating a new thread with a title that is specific to your question.