<commit_before>add_to_path ()<commit_msg>ENH: add function_exists 'declare -f' $? check (that works with both bash & zsh)<commit_after> 
function_exists() {
    declare -f $1 > /dev/null
    return $?
}

add_to_path ()
{'fraction_non_alphanumeric': 0.13761467889908258, 'fraction_numerical': 0.0045871559633027525, 'mean_word_length': 4.341463414634147, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '2818220', 'n_tokens_mistral': 83, 'n_tokens_neox': 79, 'n_words': 20}