<commit_before>#!/usr/bin/env bash

# 1. Check if xcode tools are installed and install brew
if make --version >/dev/null; then
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  brew doctor
  brew tap Homebrew/bundle
else
  echo "Command line tools not installed!" && exit 1
fi
<commit_msg>🎨 Use a function to do brew install checks<commit_after>#!/usr/bin/env bash

function install_brew() {
  if which brew > /dev/null; then
    echo "brew already installed..."
  else
    ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
    brew doctor
    brew tap Homebrew/bundle
  fi
}

# 1. Check if xcode tools are installed and install brew
if make --version >/dev/null; then
  install_brew
else
  echo "Command line tools not installed!" && exit 1
fi

{'fraction_non_alphanumeric': 0.10843373493975904, 'fraction_numerical': 0.004819277108433735, 'mean_word_length': 3.516304347826087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 6, 'https://': 2, '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': '297614', 'n_tokens_mistral': 271, 'n_tokens_neox': 255, 'n_words': 96}