<commit_before>script "instant_bash_history" do
    interpreter "bash"
    user "root"
    cwd "/tmp"
    code <<-EOH
    if grep -q "export HISTTIMEFORMAT='%T ';shopt -s histappend;export PROMPT_COMMAND='history -a; history -c; history -r; echo !!,$? >> ~/.exit_status';exec &> >(tee ~/.stdout.log)" >> /etc/bash.bashrc; then
        :
    else
        echo "export HISTTIMEFORMAT='%T ';shopt -s histappend;export PROMPT_COMMAND='history -a; history -c; history -r; echo !!,$? >> ~/.exit_status';exec &> >(tee ~/.stdout.log)" >> /etc/bash.bashrc
    fi
    EOH
end<commit_msg>removed log history that broke less and nano<commit_after>script "instant_bash_history" do
    interpreter "bash"
    user "root"
    cwd "/tmp"
    code <<-EOH
    if grep -q "export HISTTIMEFORMAT='%T ';shopt -s histappend;export PROMPT_COMMAND='history -a; history -c; history -r; echo !!,$? >> ~/.exit_status'" >> /etc/bash.bashrc; then
        :
    else
        echo "export HISTTIMEFORMAT='%T ';shopt -s histappend;export PROMPT_COMMAND='history -a; history -c; history -r; echo !!,$? >> ~/.exit_status'" >> /etc/bash.bashrc
    fi
    EOH
end
{'fraction_non_alphanumeric': 0.1668145519077196, 'fraction_numerical': 0.0, 'mean_word_length': 3.2406015037593985, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 23, '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': '10516', 'n_tokens_mistral': 415, 'n_tokens_neox': 402, 'n_words': 106}