<commit_before>#/usr/bin/env sh

set -e

if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then

  echo "Publishing generated documentation..."

  cp -R coverage/ $HOME/coverage
  cp -R docs/ $HOME/docs

  cd
  git config --global user.email "<EMAIL>"
  git config --global user.name "travis-ci"
  git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/troykinsella/junkie gh-pages > /dev/null

  cd gh-pages
  git rm -rf coverage
  mv ~/coverage .
  mv ~/docs .

  git add -f .
  git commit -m "Generated docs for master build $TRAVIS_BUILD_NUMBER"<commit_msg>Added jsdoc<commit_after>#/usr/bin/env sh

set -e

if [ "$TRAVIS_PULL_REQUEST" == "false" ] && [ "$TRAVIS_BRANCH" == "master" ]; then

  echo "Publishing generated documentation..."

  cp -R coverage/ $HOME/coverage
  cp -R docs/ $HOME/docs

  cd
  git config --global user.email "<EMAIL>"
  git config --global user.name "travis-ci"
  git clone --quiet --branch=gh-pages https://${GH_TOKEN}@github.com/troykinsella/junkie gh-pages > /dev/null

  cd gh-pages
  git rm -rf coverage
  git rm -rf docs
  mv ~/coverage .
  mv ~/docs .

  git add -f .
  git commit -m "Generated docs for master build $TRAVIS_BUILD_NUMBER"
{'fraction_non_alphanumeric': 0.1469622331691297, 'fraction_numerical': 0.0, 'mean_word_length': 3.0231023102310233, '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': '1017697', 'n_tokens_mistral': 471, 'n_tokens_neox': 445, 'n_words': 128}