<commit_before># manually build and launch your instances
# remember that the ip field deals with a private ip


def _get_parameter(node_id, private_ip, min_key, max_key):
    p = {"id": node_id, "ip": private_ip, "min_key": min_key, "max_key": max_key}
    return p


def create_instances_parameters():

    first = _get_parameter(node_id="1", private_ip="172.31.20.1", min_key="0", max_key="19")
    # parameter["master_of_master"] = first

    second = _get_parameter(node_id="2", private_ip="172.31.20.2", min_key="20", max_key="39")
    # parameter["master"] = second

    third = _get_parameter(node_id="3", private_ip="172.31.20.3", min_key="40", max_key="59")
    # parameter["myself"] = third

    fourth = _get_parameter(node_id="4", private_ip="172.31.20.4", min_key="60", max_key="79")
    # parameter["slave"] = fourth

    fifth = _get_parameter(node_id="5", private_ip="172.31.20.5", min_key="80", max_key="99")
    # parameter["slave_of_slave"] = fifth

    list_parameters = [first, second, third, fourth, fifth]

    list_len = len(list_parameters)<commit_msg>Changed first boot keys to real keys<commit_after># manually build and launch your instances
# remember that the ip field deals with a private ip


def _get_parameter(node_id, private_ip, min_key, max_key):
    p = {"id": node_id, "ip": private_ip, "min_key": min_key, "max_key": max_key}
    return p


def create_instances_parameters():

    """
    first = _get_parameter(node_id="1", private_ip="172.31.20.1", min_key="0", max_key="19")
    # parameter["master_of_master"] = first

    second = _get_parameter(node_id="2", private_ip="172.31.20.2", min_key="20", max_key="39")
    # parameter["master"] = second

    third = _get_parameter(node_id="3", private_ip="172.31.20.3", min_key="40", max_key="59")
    # parameter["myself"] = third

    fourth = _get_parameter(node_id="4", private_ip="172.31.20.4", min_key="60", max_key="79")
    # parameter["slave"] = fourth

    fifth = _get_parameter(node_id="5", private_ip="172.31.20.5", min_key="80", max_key="99")
    # parameter["slave_of_slave"] = fifth
    """
    n = 5
    key_int = 2**32-1/n
    first = _get_parameter(node_id="1", private_ip="172.31.20.1", min_key="0", max_key=str(key_int-1))
    # parameter["master_of_master"] = first

    second = _get_parameter(node_id="2", private_ip="172.31.20.2", min_key=str(key_int), max_key=str(2*key_int-1))
    # parameter["master"] = second

    third = _get_parameter(node_id="3", private_ip="172.31.20.3", min_key=str(2*key_int), max_key=str(3*key_int-1))
    # parameter["myself"] = third

    fourth = _get_parameter(node_id="4", private_ip="172.31.20.4", min_key=str(3*key_int), max_key=str(4*key_int-1))
    # parameter["slave"] = fourth

    fifth = _get_parameter(node_id="5", private_ip="172.31.20.5", min_key=str(4*key_int), max_key=str(5*key_int-1))

    list_parameters = [first, second, third, fourth, fifth]

    list_len = len(list_parameters)
{'fraction_non_alphanumeric': 0.17203936206311504, 'fraction_numerical': 0.06481167288768239, 'mean_word_length': 4.955555555555556, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 15, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2709840', 'n_tokens_mistral': 1188, 'n_tokens_neox': 1086, 'n_words': 198}