<commit_before>from path import session_path
from chess.pgn import read_game
from chess.pgn import Game
from chess.pgn import FileExporter

def _pgn_path():
    return session_path('game.pgn')

def _game():
    pgn = open(_pgn_path())
    return read_game(pgn)

def _save_game(game):
    pgn = open(_pgn_path(), 'w')
    exporter = FileExporter(pgn)
    game.accept(exporter)

def start_new_game():
    _save_game(Game())

def get_board():<commit_msg>combine import statements<commit_after>from path import session_path
from chess.pgn import read_game, Game, FileExporter

def _pgn_path():
    return session_path('game.pgn')

def _game():
    pgn = open(_pgn_path())
    return read_game(pgn)

def _save_game(game):
    pgn = open(_pgn_path(), 'w')
    exporter = FileExporter(pgn)
    game.accept(exporter)

def start_new_game():
    _save_game(Game())

def get_board():
{'fraction_non_alphanumeric': 0.11697247706422019, 'fraction_numerical': 0.0, 'mean_word_length': 4.705882352941177, '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': '4137555', 'n_tokens_mistral': 320, 'n_tokens_neox': 315, 'n_words': 73}