<commit_before>#!/bin/bash
# Run tests suite, you can specify which nose to run by setting environment
# variable `nose` (running without will use `nosetests`).
#   nose=nosetests-3.2 ./run-tests.sh

nose=${nose-nosetests}
$nose -vd $@ tests<commit_msg>more info<commit_after>#!/bin/bash
# Run tests suite, you can specify which nose to run by setting environment
# variable `nose` (running without will use `nosetests`).
#   nose=nosetests-3.2 ./run-tests.sh

echo "[$(date)] Running tests on $(hostname) [user=${USER}, pwd=${PWD}]"
echo

nose=${nose-nosetests}
echo "nose is $nose"


$nose -vd $@ tests
{'fraction_non_alphanumeric': 0.152317880794702, 'fraction_numerical': 0.006622516556291391, 'mean_word_length': 4.7075471698113205, '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': '1399213', 'n_tokens_mistral': 218, 'n_tokens_neox': 200, 'n_words': 67}