def METHOD_NAME(TP, atrank):
    """the number of documents we should not have retrieved"""
    # FP = min((atrank + 1) - TP, nGroundTruth)
    nRetreived = atrank + 1
    FP = nRetreived - TP
    return FP