C5W2 Assignment 1 - Cell 144 Analogy test

Is there an issue with this cell that is causing an error or is it expected from me to make changes to this code?
Thanks in advance

From what I understand the *triad in print statement will refer to the specific 3 elements in the triad_to_try list which are fed as arguments to complete_analogy() and based on its previously learned word_to_vec will give the corresponding value like for example italy → italian::spain → spanish and so on

finally just to play around it asks to change large to big and try the code. Right?

Do not change the code in that cell until after you have successfully used the unit test values that are provided. You should not get any assert errors with the provided cell data.

There appears to be an error in your complete_analogy() function.

the code ran before that cell saying “All tests passed”. If I put word_a in single quotes it gives me an error for complete_analofy_test()

Update: Closed and reopened my notebook and just re-ran the entire book. Problem solved.

Note that passing the units tests does not prove your code is perfect. There are lots of errors that the unit tests will not detect.