<commit_before>#!/bin/sh

current_epoch=$(($(date +%s) / 60 / 60 / 24))

if [ -f ~/.zsh-update ]
then
  source ~/.zsh-update
  epoch_diff=$(($current_epoch - $LAST_EPOCH))
  if [ $epoch_diff -gt 6 ]
  then
    echo "[Oh My Zsh] Would you like to check for updates?"
    echo "Type Y to update oh-my-zsh: \c"
    read line
    if [ "$line" = Y ] || [ "$line" = y ]
    then
      /bin/sh $ZSH/tools/upgrade.sh
    fi

    # Set the last epoch to the current so that we don't ask for another week
    echo "LAST_EPOCH=${current_epoch}" > ~/.zsh-update
  fi
else
  # TODO: refactor this so remove duplicates
  # Create the ~/.zsh-update file with the current epoch info
  echo "LAST_EPOCH=${current_epoch}" > ~/.zsh-update
fi

<commit_msg>Replaced source with .<commit_after>#!/bin/sh

current_epoch=$(($(date +%s) / 60 / 60 / 24))

if [ -f ~/.zsh-update ]
then
  . ~/.zsh-update
  epoch_diff=$(($current_epoch - $LAST_EPOCH))
  if [ $epoch_diff -gt 6 ]
  then
    echo "[Oh My Zsh] Would you like to check for updates?"
    echo "Type Y to update oh-my-zsh: \c"
    read line
    if [ "$line" = Y ] || [ "$line" = y ]
    then
      /bin/sh $ZSH/tools/upgrade.sh
    fi

    # Set the last epoch to the current so that we don't ask for another week
    echo "LAST_EPOCH=${current_epoch}" > ~/.zsh-update
  fi
else
  # TODO: refactor this so remove duplicates
  # Create the ~/.zsh-update file with the current epoch info
  echo "LAST_EPOCH=${current_epoch}" > ~/.zsh-update
fi


{'fraction_non_alphanumeric': 0.14634146341463414, 'fraction_numerical': 0.009485094850948509, 'mean_word_length': 2.7110552763819094, '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': '6785076', 'n_tokens_mistral': 564, 'n_tokens_neox': 547, 'n_words': 176}