<commit_before># logging functions
function e_header() {
    echo -e "\n=> \033[1m$@\033[0m";
}

function e_success() {
    echo -e "   \033[32mOK\033[0m";
}

function e_error() {
    echo -e "   \033[31mFAILED\033[0m";
}

function e_arrow() {
    echo -e " \033[34m$@\033[0m";
}

# OS detection
function is_osx() {
    [[ "$OSTYPE" =~ ^darwin ]] || return 1
}

function is_ubuntu() {
    [[ "$(cat /etc/issue 2> /dev/null)" =~ Ubuntu ]] || return 1
}

function get_os() {
    for os in osx ubuntu; do
        is_$os; [[ $? == ${1:-0} ]] && echo $os
    done
}
<commit_msg>adjust arrow log function<commit_after># logging functions
function e_header() {
    echo -e "\n=> \033[1m$@\033[0m";
}

function e_success() {
    echo -e "   \033[32mOK\033[0m";
}

function e_error() {
    echo -e "   \033[31mFAILED\033[0m";
}

function e_arrow() {
    echo -e "=> $@";
}

# OS detection
function is_osx() {
    [[ "$OSTYPE" =~ ^darwin ]] || return 1
}

function is_ubuntu() {
    [[ "$(cat /etc/issue 2> /dev/null)" =~ Ubuntu ]] || return 1
}

function get_os() {
    for os in osx ubuntu; do
        is_$os; [[ $? == ${1:-0} ]] && echo $os
    done
}

{'fraction_non_alphanumeric': 0.2096069868995633, 'fraction_numerical': 0.06200873362445415, 'mean_word_length': 2.720779220779221, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '2832479', 'n_tokens_mistral': 530, 'n_tokens_neox': 475, 'n_words': 110}