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

if [ "$TRAVIS_PULL_REQUEST" != "false" ]; then
  gem install bundler
  bundle install

  bundle exec hatchet install &&
  HATCHET_RETRIES=3 \
  HATCHET_DEPLOY_STRATEGY=git \
  HATCHET_BUILDPACK_BASE="https://github.com/heroku/heroku-buildpack-scala.git" \
  HATCHET_BUILDPACK_BRANCH=$(git name-rev HEAD 2> /dev/null | sed 's#HEAD\ \(.*\)#\1#') \
  bundle exec rspec spec/
else
  echo "Skipping Hatchet tests on Pull Request."
fi<commit_msg>Reverse PR guard in Travis config<commit_after>#!/usr/bin/env bash

if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
  echo "Skipping Hatchet tests on Pull Request."
else
  gem install bundler
  bundle install

  bundle exec hatchet install &&
  HATCHET_RETRIES=3 \
  HATCHET_DEPLOY_STRATEGY=git \
  HATCHET_BUILDPACK_BASE="https://github.com/heroku/heroku-buildpack-scala.git" \
  HATCHET_BUILDPACK_BRANCH=$(git name-rev HEAD 2> /dev/null | sed 's#HEAD\ \(.*\)#\1#') \
  bundle exec rspec spec/
fi
{'fraction_non_alphanumeric': 0.13168724279835392, 'fraction_numerical': 0.006172839506172839, 'mean_word_length': 4.121052631578947, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '7277304', 'n_tokens_mistral': 407, 'n_tokens_neox': 380, 'n_words': 82}