<commit_before>set -e

# Get into a temp directory to run test from the installed scikit learn and
# check if we do not leave artifacts
mkdir -p $TEST_DIR

cd $TEST_DIR

if [[ "$COVERAGE" == "true" ]]; then
    py.test -v -x --doctest-modules --ignore=setup.py
else
    py.test -v -x --doctest-modules --ignore=setup.py
fi
<commit_msg>tests<commit_after>set -e

# Get into a temp directory to run test from the installed scikit learn and
# check if we do not leave artifacts
mkdir -p $TEST_DIR

cd $TEST_DIR

if [[ "$COVERAGE" == "true" ]]; then
    py.test -v -x --doctest-modules --ignore=setup.py --pyargs operalib \
        --cov=operalib
else
    py.test -v -x --doctest-modules --ignore=setup.py --pyargs operalib
fi

{'fraction_non_alphanumeric': 0.12448132780082988, 'fraction_numerical': 0.0, 'mean_word_length': 2.978021978021978, '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': '1258299', 'n_tokens_mistral': 260, 'n_tokens_neox': 255, 'n_words': 93}