Something wrong with Python in colab

This happens while working on the assignment. When I submit it, it works just fine.
The error happens where I call score_fn with similarity_fn as a parameter:

TypeError: average_overlap() got an unexpected keyword argument ‘log_probs’

I can add log_probs as a parameter to average_overlap and it works, but then average_overlap gets a grade of zero.

Hi @alexeyp

to get scores, the score_fn needs three parameters. I suspect you probably implemented average_overlap function not correctly.

You do not need to:

as you can see it breaks the grader.