All tests passed, but getting 70/80

Hi there, I’ve passed all tests in the assignment for week 1, but still only scoring 70/80. Can you please help?

Thanks,
Rama

Hey @rmahajanam,
Can you please share the grader’s output for your assignment? Also, please confirm if you have received all the outputs same as the expected outputs.

Cheers,
Elemento

Sure, here you go. it looks like it’s the last exercise that’s being graded as 0/10. The grader output for that is:
There was a problem grading your submission. Check stderr for more details.

Tweet to tensor

Filename: Tweet to tensor

10/10Score: 10 of 10

Show grader output

Data generator

Filename: Data generator

10/10Score: 10 of 10

Show grader output

ReLu layer

Filename: ReLu layer

10/10Score: 10 of 10

Show grader output

Dense layer

Filename: Dense layer

10/10Score: 10 of 10

Show grader output

Classifier

Filename: Classifier

10/10Score: 10 of 10

Show grader output

Train modd

Filename: Train modd

10/10Score: 10 of 10

Show grader output

Compute accuracy

Filename: Compute accuracy

10/10Score: 10 of 10

Show grader output

Test model

Filename: Test model

0/10Score: 0 of 10

Show grader output

Do let me know if you need my notebook.

Hey @rmahajanam,
Can you please confirm if you are passing both, public + hidden test cases for the function test_model? If yes, in that case, please DM your notebook as an attachment to me.

Cheers,
Elemento

yes, it’s saying, “All tests passed”

{Moderator’s Edit: Solution Code Removed}

Hey @rmahajanam,
You are using a global variable inside your function test_model. Please make sure that you are using the arguments passed to the function only, unless and until it is explicitly stated to use a global variable. I hope this helps.

P.S. - Posting solution code publicly is strictly against the community guidelines. Please refrain from doing so in the future.

Cheers,
Elemento

that did help! thanks a lot.

Point noted on the solution code. Sorry about that.

Hey @rmahajanam,
I am glad I could help. No harm done regarding the solution code, as I removed it, just wanted to let you know for future references. Happy Learning :nerd_face:

Cheers,
Elemento