ml-coursera-python-assignments
ml-coursera-python-assignments copied to clipboard
Grader outdated again?
Hey @dibgerge , I just stumbled across this repo over Reddit and was super happy to do the ML course in Python. However, I think the grader is not working as it wasn't taking my first warmUpExercise(), eventhough the outputted matrix seems to be correct.

Am I doing something wrong or is the repo indeed outdated?
Same problem
There is a problem in the submission.py file, where the index is assumed to start at 1, but actually starts at zero. This results in the exercise part names displaying in the wrong order. The score and feedback is correct but the part name is incorrect.
You can fix this in two ways either:
line set the start value of the enumerate function to be = 1 (line 44, change is on line 44)
for index, part in enumerate(parts, start=1)
or change the part where the index is assumed to be ones based (change is on line 49)
print('%43s | %9s | %-s' % (self.part_names[int(index)], score, part_feedback))
Confirmed, everything needs to be shifted upwards by one. Thanks for the fix, @aesir321
Thanks. This change is merged now.