from typing import List


def precision_score(relevant: List, recovered: List) -> float:
    """Precision score is: which of the documents marked as relevant are really relevant"""
    # Recovered relevant
    rr = [d for d in recovered if d in relevant]
    return len(rr) / len(recovered)