# Add concise retrieval-metric functions from Notebook 4 here __ __