<commit_before>#!/bin/sh

# Runs all ruby tests in ~/Repos/Scripts/ruby/tests/.

. ~/Repos/Scripts/bash/common/common-utilities.sh

input=$1

if [ "$input" != '' ]; then
    message green "Running" "$input"
    ruby $input
else
    cd ~/Repos/Scripts/ruby/tests/
    for input in $(find . -type f -name "*.rb"); do
        message green "Running" "$input"
        ruby $input
    done
fi<commit_msg>Fixed spacing in test runner script.<commit_after>#!/bin/sh

# Runs all ruby tests in ~/Repos/Scripts/ruby/tests/.

. ~/Repos/Scripts/bash/common/common-utilities.sh

input=$1

if [ "$input" != '' ]; then
    echo
    message green "Running" "$input"
    echo
    ruby $input
    echo
else
    cd ~/Repos/Scripts/ruby/tests/
    for input in $(find . -type f -name "*.rb"); do
        echo
        message green "Running" "$input"
        echo
        ruby $input
    done
fi
{'fraction_non_alphanumeric': 0.14988558352402745, 'fraction_numerical': 0.002288329519450801, 'mean_word_length': 2.391472868217054, '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': '7458915', 'n_tokens_mistral': 318, 'n_tokens_neox': 302, 'n_words': 85}