<commit_before>#! /bin/sh
# Extract the file name of the tes executable
name=${1##*/}
echo $name
valgrind --error-exitcode=1 --leak-check=full --quiet --track-origins=yes --xml=yes --xml-file=valgrind_${name}.xml --log-file=valgrind_${name}.log -v ./${name} --gtest_output=xml:"unit_"${name}".xml" &> valgrind_${name}.log
#exec $1 --gtest_output="xml:"$1".xml"<commit_msg>fix redirection<commit_after>#! /bin/sh
# Extract the file name of the tes executable
name=${1##*/}
echo $name
valgrind --error-exitcode=1 --leak-check=full --quiet --track-origins=yes --xml=yes --xml-file=valgrind_${name}.xml --log-file=valgrind_${name}.log -v ./${name} --gtest_output=xml:"unit_"${name}".xml" > valgrind_${name}.log
#exec $1 --gtest_output="xml:"$1".xml"
{'fraction_non_alphanumeric': 0.2295302013422819, 'fraction_numerical': 0.010738255033557046, 'mean_word_length': 4.828125, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 14}, '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': '7421141', 'n_tokens_mistral': 296, 'n_tokens_neox': 287, 'n_words': 56}