As you can see from the screenshot here,the grading is not fully working for exercise 2:
This isn’t a problem with the grader.
Passing the tests in the notebook does not guarantee that your code will pass the tests that the grader uses. They are entirely different sets of tests.
Apparently there is something about your code that only works with the tests that are provided with the notebook.
WHAT??? Then how can each person tell if their code works? If the grader says it works? Why bother having unit test code then? This is ridiculous.
The tests in the notebook are not a complete validation of every possible behavior of your code. They are simply some basic verifications.
It is impossible to write tests that cover every possible mistake a student might make.
This is common practice throughout all Machine Learning instruction, and indeed in all software coding.
I recommend you review your code, and verify that your code complies with good coding standards. Here are some tips:
- Avoid using global variables.
- Inside a function, use the parameters that are passed to it as parameters.
- Do not use constant fixed values where a variable is available that conveys the same information.
I have passed all of the other labs in the course but this one question is holding up getting the certificate. The unit test for that exercise says my code passed. I am a paying customer. I demand my certificate! If you can’t help me then escalate this to your manager.
I’m a volunteer.
Nevermind, got it to work
Hello @scottmraas , thank you for reaching out. I completely understand your frustration—you’ve put in the hard work to pass the labs, and it’s disappointing when a technical glitch stands in the way of your certificate.
Since there is a reason for the system not updating, I have escalated this directly to our technical team to manually review your progress. We want to make sure you get that certificate as quickly as possible. I or the team will follow up with you by once we have an update.
