<commit_before>import pytest
import os

@pytest.fixture(scope='module')
def test_dir():
    return os.path.abspath('tests/data')

@pytest.fixture(scope='module')
def corpus_data_timed():
    discourses = [{'name': 'test',
                    'data': {
                    'phones':[{'label': 'k',
                                    'begin': 0.0,
                                    'end': 0.1},
                            {'label': 'ae',
                                    'begin': 0.1,
                                    'end': 0.2},
                            {'label': 't',
                                    'begin': 0.2,
                                    'end': 0.3},
                            {'label': 's',
                                    'begin': 0.3,
                                    'end': 0.4},
                            {'label': 'aa',
                                    'begin': 0.5,
                                    'end': 0.6},
                            {'label': 'r',
                                    'begin': 0.6,
                                    'end': 0.7},
                            {'label': 'k',
                                    'begin': 0.8,
                                    'end': 0.9},<commit_msg>Fix for test start up<commit_after>import pytest
import os

@pytest.fixture(scope='module')
def test_dir():
    if not os.path.exists('tests/data/generated'):
        os.makedirs('tests/data/generated')
    return os.path.abspath('tests/data')

@pytest.fixture(scope='module')
def corpus_data_timed():
    discourses = [{'name': 'test',
                    'data': {
                    'phones':[{'label': 'k',
                                    'begin': 0.0,
                                    'end': 0.1},
                            {'label': 'ae',
                                    'begin': 0.1,
                                    'end': 0.2},
                            {'label': 't',
                                    'begin': 0.2,
                                    'end': 0.3},
                            {'label': 's',
                                    'begin': 0.3,
                                    'end': 0.4},
                            {'label': 'aa',
                                    'begin': 0.5,
                                    'end': 0.6},
                            {'label': 'r',
                                    'begin': 0.6,
                                    'end': 0.7},
                            {'label': 'k',
                                    'begin': 0.8,
                                    'end': 0.9},
{'fraction_non_alphanumeric': 0.1379047619047619, 'fraction_numerical': 0.021333333333333333, 'mean_word_length': 0.6130221130221131, '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': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1954062', 'n_tokens_mistral': 685, 'n_tokens_neox': 628, 'n_words': 123}