<commit_before>#!/bin/bash

set -e

echo "--- Bundling"
bundle install

echo "--- Preparing test database"
bundle exec rake db:test:prepare

echo "--- Running tests"
bundle exec rake<commit_msg>Load environment before attempting build<commit_after>#!/bin/bash

set -e

echo "--- Loading environment"
source /var/lib/jenkins/.rvm/environments/ruby-1.9.3-p392

echo "--- Bundling"
bundle install

echo "--- Preparing test database"
bundle exec rake db:test:prepare

echo "--- Running tests"
bundle exec rake
{'fraction_non_alphanumeric': 0.1306930693069307, 'fraction_numerical': 0.011881188118811881, 'mean_word_length': 3.8653846153846154, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6676153', 'n_tokens_mistral': 173, 'n_tokens_neox': 162, 'n_words': 50}