<commit_before>#!/bin/bash

set -e
set -x

# Install nodesource prerequisite
apt-get -qq install curl > /dev/null

# Install hubot prerequisites
curl -sL https://deb.nodesource.com/setup | bash - > /dev/null
apt-get -qq install nodejs redis-server > /dev/null

# Install hubot
npm install --silent -g hubot@2.8.3 coffee-script > /dev/null
cd /home/vagrant
hubot --create hubot
cd hubot
npm install --silent > /dev/null

# Set default scripts
echo '["redis-brain.coffee", "shipit.coffee"]' \
  > /home/vagrant/hubot/hubot-scripts.json

# Add the BigFix module as an external script
echo '["/vagrant"]' > /home/vagrant/hubot/external-scripts.json

# Make vagrant the owner of the hubot directory
chown -R vagrant:vagrant /home/vagrant/hubot<commit_msg>Remove unnecessary stdout redirects<commit_after>#!/bin/bash

set -e
set -x

# Install nodesource prerequisite
apt-get -qq install curl

# Install hubot prerequisites
curl -sL https://deb.nodesource.com/setup | bash - > /dev/null
apt-get -qq install nodejs redis-server

# Install hubot
npm install --silent -g hubot@2.8.3 coffee-script
cd /home/vagrant
hubot --create hubot
cd hubot
npm install --silent

# Set default scripts
echo '["redis-brain.coffee", "shipit.coffee"]' \
  > /home/vagrant/hubot/hubot-scripts.json

# Add the BigFix module as an external script
echo '["/vagrant"]' > /home/vagrant/hubot/external-scripts.json

# Make vagrant the owner of the hubot directory
chown -R vagrant:vagrant /home/vagrant/hubot
{'fraction_non_alphanumeric': 0.12211668928086838, 'fraction_numerical': 0.004070556309362279, 'mean_word_length': 3.788961038961039, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '441476', 'n_tokens_mistral': 552, 'n_tokens_neox': 521, 'n_words': 152}