after completing the split_dataset def i get this error:
NameError Traceback (most recent call last)
<ipython-input-19-eef5b0c18313> in <module>
14
15 # UNIT TESTS
---> 16 split_dataset_test(split_dataset)
~/work/public_tests.py in split_dataset_test(target)
43
44 assert len(left) == 2, f"left must have 2 elements but got: {len(left)}"
---> 45 assert len(right) == 3, f"right must have 3 elements but got: {len(rigth)}"
46
47 assert np.allclose(right, expected['right']), f"Wrong value for right. Expected: { expected['right']} \ngot: {right}"
NameError: name 'rigth' is not defined
Upon looking in the public_tests.py i saw that in several occasions instead of calling for example {len(right)} on a print command it is calling {len(rigth)}, so i come up with the above error. How should i proceed?
I had an error in iterating . Upon fixing it the error message doesn’t appear. Still isn’t this a valid bug in public_tests.py?
Thanks in advance