<commit_before>
echo_info() {
    echo_color 34 "[>] ${@}"
}

echo_info_delay() {
    echo_info "${@}"
    sleep 1
}

echo_color() {
    color="${1}"
    shift 1
    echo -e "\e[0;${color}m${@}\e[0m"
}

load_config() {
    if [[ -z "${PICLE_CONF}" ]]; then
        PICLE_CONF="${PICLE_HOME}/config/config.sh"
    fi
    source "${PICLE_CONF}" \
        || die "Could not load configuration: ${PICLE_CONF}"
}<commit_msg>Auto-init submodules during config load<commit_after>
echo_info() {
    echo_color 34 "[>] ${@}"
}

echo_info_delay() {
    echo_info "${@}"
    sleep 1
}

echo_color() {
    color="${1}"
    shift 1
    echo -e "\e[0;${color}m${@}\e[0m"
}

load_config() {
    if [[ -z "${PICLE_CONF}" ]]; then
        PICLE_CONF="${PICLE_HOME}/config/config.sh"
    fi

    source "${PICLE_CONF}" \
        || die "Could not load configuration: ${PICLE_CONF}"

    git submodule status  | grep '^-' &> /dev/null && ( \
        echo_info "Initializing submodules..."
        git submodule init
        git submodule update
    )
}
{'fraction_non_alphanumeric': 0.19167473378509198, 'fraction_numerical': 0.013552758954501452, 'mean_word_length': 2.6537102473498235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, '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': '5174581', 'n_tokens_mistral': 402, 'n_tokens_neox': 387, 'n_words': 78}