Programming Assignment optional part bug

The programming assignment was graded 0 for me because of the optional part: I commented the original line with parameters_2 variable and uncommented the other one and the grader failed to compile my notebook. After I returned the optional part back to default it graded my assignment 100.
It’s obviously a bug.

Hello @emissaryprog Would you please give more information like links and screenshots to the bug?
and also the recommended changes if any? Thanks

At the end of the week 3 assignment (Coursera | Online Courses & Credentials From Top Educators. Join for Free | Coursera) there is an optional part 4: Other Dataset.
The last code cell starts with these lines:

# parameters = nn_model(X_2, Y_2, n_h=1, num_iterations=3000, learning_rate=1.2, print_cost=False)
parameters_2 = nn_model(X_2, Y_2, n_h=2, num_iterations=3000, learning_rate=1.2, print_cost=False)
# parameters = nn_model(X_2, Y_2, n_h=15, num_iterations=3000, learning_rate=1.2, print_cost=False)
...

If I uncomment the third line and comment out the second one, and submit the notebook, the following error appears:

There was a problem compiling the code from your notebook. Details:
name ‘parameters_2’ is not defined

and the assignment is graded 0.

Thank you @emissaryprog I have submitted the bug to our team for further investigation.

If you come across any other kind of error or question please feel free to start a new topic.

Happy Learning
Isaak