Hi, has anybody faced this problem before? I think on my notebook, I’ve been disabled and submitted for a long time, even though the solution is right."
Failed test case: t_value has incorrect type.
Expected:
<class ‘function’>,
but got:
<class ‘numpy.float64’>.
Interesting. But I don’t think the error makes sense. Maybe the grader’s error printing mechanism is incorrect. The definition of that function t_value is that it returns a scalar value, not a function. Whereas the grader seems to be rejecting the return datatype of numpy.float64 and expecting a function. That seems pretty odd.
The error is pointing that you have used numpy function recall instead of class function(i.e. means the assigned function recall) in assignment or the exercise you have got error.
function calls could be the assigned codes by you in previous grade cells or recalled as arguments. kindly check carefully if there was no mix up between global and local variables.
Also Don’t DM mentor notebooks until they ask for it, kindly follow community guidelines.
I understand that the error is due to using the numpy function recall instead of the class function assigned in the exercise. I will carefully review my code to ensure there are no mix-ups between global and local variables.
I apologize for any inconvenience caused and will make sure to follow the community guidelines regarding not DMing mentor notebooks unless asked.
After viewing your another similar post, your codes seems to be from an obsolete or an old copy of assignment. Also kindly avoid creating duplicate post threads, you can always tag a mentor in the public post, if you want any particular mentor to review your post, or the addition tags has mentor tag which directly notifies mentors of the respective course if you have selected your post in the correct category. My reason to follow community guidelines is only for your benefit and not personal. Hope you take this as constructive way of learning.
Use the below link for instructions on how to get a fresh copy of your assignment
I appreciate your guidance on following community guidelines and your intention to help. I’ll make sure to avoid creating duplicate posts in the future and will use the mentor tag for specific reviews.
I will follow the instructions below now