import math


def glue_completeness(vsize, lsize):
    """
    Find the library completeness given:
    :param vsize: Number of possible variants
    :param lsize: Size of library
    :return: completeness as [0,1] number
    """
    return 1 - math.exp(-lsize / vsize)