<commit_before># This file only runs if there are results from the visualtests
# It's using the deploy key specified in Travis since Secure Environemnt Variables aren't available to forks.
if [ ( -d screenshots/baseline ) -o ( -d webdriver-screenshot-diffs ) ]; then
  echo -e "Starting to update skyux-visualtest-results.\n"

  git config --global user.email "<EMAIL>"
  git config --global user.name "Travis"
  git clone --quiet https://${GH_TOKEN}@github.com/blackbaud/skyux-visualtest-results.git skyux-visualtest-results > /dev/null

  cd skyux-visualtest-results

  git checkout -b $TRAVIS_BUILD_NUMBER

  mkdir -p failures

  cp -rf ../screenshots/baseline/*.* failures/

  cp -rf ../webdriver-screenshot-diffs/ failures/

  mkdir -p all

  cd ../visualtest/test/
<commit_msg>shell directory conditional<commit_after># This file only runs if there are results from the visualtests
# It's using the deploy key specified in Travis since Secure Environemnt Variables aren't available to forks.
if [ -d screenshots/baseline ] || [ -d webdriver-screenshot-diffs ]; then
  echo -e "Starting to update skyux-visualtest-results.\n"

  git config --global user.email "<EMAIL>"
  git config --global user.name "Travis"
  git clone --quiet https://${GH_TOKEN}@github.com/blackbaud/skyux-visualtest-results.git skyux-visualtest-results > /dev/null

  cd skyux-visualtest-results

  git checkout -b $TRAVIS_BUILD_NUMBER

  mkdir -p failures

  cp -rf ../screenshots/baseline/*.* failures/

  cp -rf ../webdriver-screenshot-diffs/ failures/

  mkdir -p all

  cd ../visualtest/test/

{'fraction_non_alphanumeric': 0.11230964467005077, 'fraction_numerical': 0.0, 'mean_word_length': 3.505714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 2, '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': '6325924', 'n_tokens_mistral': 545, 'n_tokens_neox': 485, 'n_words': 159}