<commit_before>from minecraft_query import MinecraftQuery

class mcstatus:

    global MCSERVER_ADDR
    global MCSERVER_NAME
    query_mcserver = MinecraftQuery(MCSERVER_ADDR,25565).get_rules()

    GAME_ID = query_mcserver['game_id']
    GAMETYPE = query_mcserver['gametype']
    MOTD = query_mcserver['motd']
    MAP = query_mcserver['map']
    MAX_PLAYERS = query_mcserver['maxplayers']
    MCSERVER_PLAYERS = query_mcserver['players']
    MCSERVER_PLUGINS = query_mcserver['plugins']
    MCSERVER_RAWPLUGINS = query_mcserver['raw_plugins']
    MCSERVER_SOFTWARE = query_mcserver['software']
    MCSERVER_VERSION = query_mcserver['version']
    NUM_PLAYERS = query_mcserver['numplayers']
    ONLINE_PLAYERS = query_mcserver['players']
<commit_msg>trying something better i hope<commit_after>from minecraft_query import MinecraftQuery

class mcstatus:

    def get_rules(MCSERVER_ADDR, QUERY_TYPE):
        query_mcserver = MinecraftQuery(MCSERVER_ADDR,25565).get_rules()

        """
        GAME_ID = query_mcserver['game_id']
        GAMETYPE = query_mcserver['gametype']
        MOTD = query_mcserver['motd']
        MAP = query_mcserver['map']
        MAX_PLAYERS = query_mcserver['maxplayers']
        MCSERVER_PLAYERS = query_mcserver['players']
        MCSERVER_PLUGINS = query_mcserver['plugins']
        MCSERVER_RAWPLUGINS = query_mcserver['raw_plugins']
        MCSERVER_SOFTWARE = query_mcserver['software']
        MCSERVER_VERSION = query_mcserver['version']
        NUM_PLAYERS = query_mcserver['numplayers']
        ONLINE_PLAYERS = query_mcserver['players']
        """

        return query_mcserver[?], [QUERY_TYPE]


{'fraction_non_alphanumeric': 0.09634146341463415, 'fraction_numerical': 0.006097560975609756, 'mean_word_length': 4.310679611650485, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '7437271', 'n_tokens_mistral': 576, 'n_tokens_neox': 554, 'n_words': 78}