def difference_value_calculator(repository, undeployed_value_tuple, deployed_value_tuple):
    """
    Generate a value based on difference between given undeployed and deployed value.
    """
    return undeployed_value_tuple[2] - deployed_value_tuple[2]