<commit_before>#!/bin/bash

if [ ! -z ${1} ] && [ ${1} == "-h" ]; then
    echo -e "USAGE:
                ./ $(basename $0) test
            "
    exit 0
fi

if [ "${EUID}" -eq 0 ]; then
    echo "You don't need to be running this with privileges. Exiting..."
    exit 1
fi

STATS_FILE="${HOME}/stats.txt"

# Check dependencies
for i in pip3 jq gnuplot; do
    command -v ${i} > /dev/null 2>&1
    if [ $? -ne 0 ]; then
        echo "You need to install ${i} through your systems package manager. Exiting..."<commit_msg>Fixed spacing<commit_after>#!/bin/bash

if [ ! -z ${1} ] && [ ${1} == "-h" ]; then
    echo -e "USAGE:
                ./$(basename $0) test
            "
    exit 0
fi

if [ "${EUID}" -eq 0 ]; then
    echo "You don't need to be running this with privileges. Exiting..."
    exit 1
fi

STATS_FILE="${HOME}/stats.txt"

# Check dependencies
for i in pip3 jq gnuplot; do
    command -v ${i} > /dev/null 2>&1
    if [ $? -ne 0 ]; then
        echo "You need to install ${i} through your systems package manager. Exiting..."
{'fraction_non_alphanumeric': 0.16714697406340057, 'fraction_numerical': 0.01921229586935639, 'mean_word_length': 2.1104477611940298, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '772168', 'n_tokens_mistral': 379, 'n_tokens_neox': 357, 'n_words': 132}