<commit_before>#!/bin/bash
cd ../Software
if [[ "$1" == "clean" ]]; then
	echo "Cleaning software..."
	make clean
fi
make
make lib

cd ../Tests
if [[ "$1" == "clean" ]]; then
	echo "Cleaning tests..."
	make clean
fi
make
./test<commit_msg>Add specific unit test control to runtests.sh<commit_after>#!/bin/bash
set -e # To quit on first error
ARGS=$1 # For running specific tests

cd ../Software
if [[ "$1" == "clean" ]]; then
	echo "Cleaning software..."
	make clean
fi
make
make lib

cd ../Tests
if [[ "$1" == "clean" ]]; then
	echo "Cleaning tests..."
	make clean
	ARGS=""
fi
make
./test $ARGS

echo "All tests succeded!"
{'fraction_non_alphanumeric': 0.1781701444622793, 'fraction_numerical': 0.008025682182985553, 'mean_word_length': 3.3333333333333335, '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': '7440249', 'n_tokens_mistral': 228, 'n_tokens_neox': 216, 'n_words': 83}