<commit_before>#!/bin/bash

git stash
git pull > /tmp/gazouilleur-pull.log 2>&1
git stash pop
if grep "requirements.txt" /tmp/gazouilleur-pull.log; then
  bin/update_requirements.sh
fi
bin/configure.sh
if grep "gazouilleur/config.py.example"; then
  echo "gazouilleur/config.py.example was modified. You may want to check for new options, update your config.py and restart again."
fi
rm -f /tmp/gazouilleur-pull.log
bin/gazouilleur restart<commit_msg>cleanup<commit_after>#!/bin/bash

git stash
git pull > /tmp/gazouilleur-pull.log 2>&1
git stash pop
if grep "requirements.txt" /tmp/gazouilleur-pull.log; then
  bin/update_requirements.sh
fi
bin/configure.sh
if grep "gazouilleur/config.py.example" /tmp/gazouilleur-pull.log; then
  echo "gazouilleur/config.py.example was modified. You may want to check for new options, update your config.py and restart again."
fi
rm -f /tmp/gazouilleur-pull.log
bin/gazouilleur restart
{'fraction_non_alphanumeric': 0.10629067245119306, 'fraction_numerical': 0.004338394793926247, 'mean_word_length': 4.494047619047619, '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': '291305', 'n_tokens_mistral': 350, 'n_tokens_neox': 339, 'n_words': 92}