<commit_before>#!/bin/bash
PEPLINES=$(autopep8 --recursive ./src/ --diff | wc -l)
if (( PEPLINES > 0 )); then
  echo "Not Pep8 compliant:";
  autopep8 --recursive ./src/ --diff
  exit 1;
else
  echo "Pep8 Compliant!"
fi

python ./src/__tests__/testParsing.py && python ./src/__tests__/testScreen.py > /dev/null
if [ $? -eq 0 ]
then
  echo "Tests passed!"
else
  echo "Tests failed :*("
  exit 1
fi
<commit_msg>final update to test script<commit_after>#!/bin/bash
PEPLINES=$(autopep8 --recursive ./src/ --diff | wc -l)
if (( PEPLINES > 0 )); then
  echo "Not Pep8 compliant:";
  autopep8 --recursive ./src/ --diff
  exit 1;
else
  echo "Pep8 Compliant!"
fi

cd ./src/__tests__/
python testParsing.py && python testScreen.py > /dev/null
if [ $? -eq 0 ]
then
  echo "Tests passed!"
else
  echo "Tests failed :*("
  exit 1
fi

{'fraction_non_alphanumeric': 0.1630170316301703, 'fraction_numerical': 0.019464720194647202, 'mean_word_length': 3.0541871921182264, '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': '4191796', 'n_tokens_mistral': 344, 'n_tokens_neox': 321, 'n_words': 96}