<commit_before>source ${projectDir}.init.sh

include base.comparator.BaseComparator
include logger.Logger

package string
package test

run-unit-tests(){

	execute-tests(){
		tests=(
			AppServerValidatorTest
			AppServerVersionConstantsTest
			AppServerVersionTest
			ArrayUtilTest
			ArrayValidatorTest
			BaseComparatorTest
			BaseVarsTest
			LoggerUtilTest
			StringUtilTest
			StringValidatorTest
		)

		for group in ${tests[@]}; do
			${group} run
		done
	}

	failures=($(execute-tests))

	if [[ ${failures} ]]; then
		Logger logErrorMsg $(StringUtil toUpperCase some_tests_failed)

		for failure in ${failures[@]}; do
			echo ${failure}
		done
	else
		Logger logInfoMsg $(StringUtil toUpperCase all_tests_passed)
	fi
}

if [[ $(StringValidator isNull ${1}) ]]; then
	Logger logErrorMsg please_provide_a_command_to_execute
elif [[ $(BaseComparator isEqual ${1} run-unit-tests) ]]; then
	${1}
else
	Logger logErrorMsg ${1}_is_not_a_valid_command
fi<commit_msg>Indicate beginning of testing<commit_after>source ${projectDir}.init.sh

include base.comparator.BaseComparator
include logger.Logger

package string
package test

run-unit-tests(){

	execute-tests(){
		tests=(
			AppServerValidatorTest
			AppServerVersionConstantsTest
			AppServerVersionTest
			ArrayUtilTest
			ArrayValidatorTest
			BaseComparatorTest
			BaseVarsTest
			LoggerUtilTest
			StringUtilTest
			StringValidatorTest
		)

		for group in ${tests[@]}; do
			${group} run
		done
	}

	Logger logProgressMsg running_all_unit_tests

	failures=($(execute-tests))

	if [[ ${failures} ]]; then
		Logger logErrorMsg $(StringUtil toUpperCase some_tests_failed)

		for failure in ${failures[@]}; do
			echo ${failure}
		done
	else
		Logger logInfoMsg $(StringUtil toUpperCase all_tests_passed)
	fi
}

if [[ $(StringValidator isNull ${1}) ]]; then
	Logger logErrorMsg please_provide_a_command_to_execute
elif [[ $(BaseComparator isEqual ${1} run-unit-tests) ]]; then
	${1}
else
	Logger logErrorMsg ${1}_is_not_a_valid_command
fi
{'fraction_non_alphanumeric': 0.0963371801304566, 'fraction_numerical': 0.004014049172102358, 'mean_word_length': 4.916913946587537, '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': '1246463', 'n_tokens_mistral': 701, 'n_tokens_neox': 631, 'n_words': 155}