<commit_before>#!/usr/bin/env bash

#input string echo passed into the test program.
python prob002.py yolo trol > prob002.out
echo 'here is the diff with the solution (blank means correct): '
diff prob002.out answer>prob002.diff
cat prob002.diff<commit_msg>update test to show output<commit_after>#!/usr/bin/env bash

#input string echo passed into the test program.
python prob002.py yolo trol > prob002.out
echo 'output of program:'
cat prob002.out
echo 'here is the diff with the solution (blank means correct): '
diff prob002.out answer>prob002.diff
cat prob002.diff
{'fraction_non_alphanumeric': 0.0840630472854641, 'fraction_numerical': 0.05779334500875657, 'mean_word_length': 4.958333333333333, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '7183798', 'n_tokens_mistral': 198, 'n_tokens_neox': 171, 'n_words': 71}