<commit_before>frames = None


def get_frames():
    global frames
    return frames


def load_frames():
    global frames

    import copy

    from tqdm import tqdm

    from rocketleagueminimapgenerator.data.data_loader import get_data, get_data_end
    from rocketleagueminimapgenerator.data.object_numbers import \
        get_ball_obj_nums, get_car_obj_nums, get_player_info, \
        get_game_event_num
    from rocketleagueminimapgenerator.parser.frame_data import \
        update_game_data, update_car_data, update_player_data, update_ball_data

    data = get_data()

    ball_objects = get_ball_obj_nums()
    car_objects = get_car_obj_nums()
    player_info = get_player_info()
    game_event_num = get_game_event_num()

    data_end = get_data_end()

    frames = [len(data['content']['frames'])]
    frames[0] = {'delta': data['content']['frames'][0]['delta'],
                 'ball': {'loc': {'x': 0, 'y': 0, 'z': 0},
                          'rot': {'x': 0, 'y': 0, 'z': 0},
                          'sleep': True},<commit_msg>Fix line length<commit_after>frames = None


def get_frames():
    global frames
    return frames


def load_frames():
    global frames

    import copy

    from tqdm import tqdm

    from rocketleagueminimapgenerator.data.data_loader import get_data, \
        get_data_end
    from rocketleagueminimapgenerator.data.object_numbers import \
        get_ball_obj_nums, get_car_obj_nums, get_player_info, \
        get_game_event_num
    from rocketleagueminimapgenerator.parser.frame_data import \
        update_game_data, update_car_data, update_player_data, update_ball_data

    data = get_data()

    ball_objects = get_ball_obj_nums()
    car_objects = get_car_obj_nums()
    player_info = get_player_info()
    game_event_num = get_game_event_num()

    data_end = get_data_end()

    frames = [len(data['content']['frames'])]
    frames[0] = {'delta': data['content']['frames'][0]['delta'],
                 'ball': {'loc': {'x': 0, 'y': 0, 'z': 0},
                          'rot': {'x': 0, 'y': 0, 'z': 0},
                          'sleep': True},
{'fraction_non_alphanumeric': 0.11611374407582939, 'fraction_numerical': 0.007582938388625593, 'mean_word_length': 2.975517890772128, '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': '3304675', 'n_tokens_mistral': 726, 'n_tokens_neox': 683, 'n_words': 143}