NLP with Classification and Vector Spaces

I can’t get grades Test get_country and Test get_accuracy. The unit tests pass when running the notebook. I don’t know what else to try. Tried updating the notebook, rebooting it, nothing works. I get this message: There was a problem grading your submission. Check stderr for more details.

Which is not helpful at all, as the unit tests are passing:

# Test your function
w3_unittest.test_get_country(get_country)
 All tests passed

# Test your function
w3_unittest.test_get_accuracy(get_accuracy, data)
 All tests passed

I’m stuck here for 1+ week and missed the deadline already. This is my lab id: cmhgeayy
I’ve asked for help in the Help Community, Forums, and didn’t find a way to solve this.

Hi,
Are you getting an error similar to this? It might be an issue with using global variables.