<commit_before>#!/bin/bash

gitupdate() {
    pushd "$1"
        if [[ ! -z "$(git remote)" ]]; then
            git checkout master
            git pull origin master
        fi
    popd
}

brew update
brew upgrade
brew cleanup -s
brew doctor
brew missing

python3 -m pip freeze | grep 'file://' | cut -d ' ' -f 1 | sort -u > /tmp/e.txt
python3 -m pipdeptree | grep -o -E '^\w[^=]+' > /tmp/r.txt && \<commit_msg>brew autoremove<commit_after>#!/bin/bash

gitupdate() {
    pushd "$1"
        if [[ ! -z "$(git remote)" ]]; then
            git checkout master
            git pull origin master
        fi
    popd
}

brew update
brew upgrade
brew cleanup -s
brew autoremove
brew doctor
brew missing

python3 -m pip freeze | grep 'file://' | cut -d ' ' -f 1 | sort -u > /tmp/e.txt
python3 -m pipdeptree | grep -o -E '^\w[^=]+' > /tmp/r.txt && \
{'fraction_non_alphanumeric': 0.15402843601895735, 'fraction_numerical': 0.009478672985781991, 'mean_word_length': 2.0615942028985508, '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': '3243501', 'n_tokens_mistral': 311, 'n_tokens_neox': 293, 'n_words': 103}