<commit_before>#!/bin/bash

dir=$(cd $(dirname $0);pwd)
sh $dir/oh-my-zsh/init_oh-my-zsh.sh
if [ "/bin/zsh" != $SHELL ]; then
  if [ `uname -a | awk '{print $1}'` = "Darwin" ];then
    chsh -s /bin/zsh
  elif [ -f /etc/redhat-release ];then
    sudo chsh `whoami` -s /bin/zsh
  elif [ -f /etc/system-release ];then
    sudo chsh ec2-user -s /bin/zsh
  else
    echo "we doesn't support your platform."
  fi
fi
<commit_msg>if failed to chsh, open zsh.<commit_after>#!/bin/bash

dir=$(cd $(dirname $0);pwd)
sh $dir/oh-my-zsh/init_oh-my-zsh.sh
if [ "/bin/zsh" != $SHELL ]; then
  if [ `uname -a | awk '{print $1}'` = "Darwin" ];then
    chsh -s /bin/zsh
  elif [ -f /etc/redhat-release ];then
    sudo chsh `whoami` -s /bin/zsh
  elif [ -f /etc/system-release ];then
    sudo chsh ec2-user -s /bin/zsh
  else
    echo "we doesn't support your platform."
    return
  fi
  if [ $? -ne 0 ];then
    echo "exec zsh" >> ~/.bash_profile
  fi
fi

{'fraction_non_alphanumeric': 0.18463180362860193, 'fraction_numerical': 0.007470651013874066, 'mean_word_length': 2.5665399239543727, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2528805', 'n_tokens_mistral': 414, 'n_tokens_neox': 399, 'n_words': 111}