<commit_before>#!/bin/sh -e
#
# Install the chef ruby gem if chef-solo is not in the path.
# This script is safe to run multiple times.
#
if [ ! `which chef-solo` ]; then
    apt-get install -y build-essential ruby ruby-dev
    gem install chef --no-rdoc --no-ri
fi

cd `dirname $0`
chef-solo -c $PWD/solo.rb -j $PWD/role-ubuntu.json<commit_msg>Cursing the entirety of the Ruby ecosystem under my breath<commit_after>#!/bin/sh -e
#
# Install the chef ruby gem if chef-solo is not in the path.
# This script is safe to run multiple times.
#
if [ ! `which chef-solo` ]; then
    apt-get install -y build-essential ruby ruby-dev
    gem install chef -v 11.16.4 --no-rdoc --no-ri
fi

cd `dirname $0`
chef-solo -c $PWD/solo.rb -j $PWD/role-ubuntu.json
{'fraction_non_alphanumeric': 0.12466487935656836, 'fraction_numerical': 0.00938337801608579, 'mean_word_length': 2.9946524064171123, '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': '2516880', 'n_tokens_mistral': 291, 'n_tokens_neox': 272, 'n_words': 102}