<commit_before>if [ "$1" != "server" ]
  then
    read -p "Enter your firebase url (https://username.firebaseio.com): " firebase_url
    read -p "Enter your firebase SECRET (asdf3456jkle9f....): " firebase_secret
    echo "Creating FIREBASE_CONFIG.json..."
    printf "{\n\t\"ROOT\": \"$firebase_url\",\n\t\"SECRET\": \"$firebase_secret\"\n}\n" > ./FIREBASE_CONFIG.json
fi
if [ "$1" != "firebase" ]
  then
    read -p "Enter your server address (http://172.16.58.3): " server_address
    read -p "Enter your server port (3000): " server_port
    echo "Creating SERVER_CONFIG.json..."
    printf "{\n\t\"ADDRESS\": \"$server_address\",\n\t\"PORT\": \"$server_port\"\n}\n" > ./SERVER_CONFIG.json
fi
if [ "$1" != "firebase" ] && [ "$1" != "server" ] 
  then
    echo "Cloning Poker Evaluator..."
    git clone https://github.com/darrenmce/poker-evaluator.git
    echo "Removing Repo Specifics..."
    rm -rf ./poker-evaluator/.git
    rm ./poker-evaluator/.gitignore
    rm ./poker-evaluator/.travis.yml
    echo "Installing Packages..."
    npm install
fi

<commit_msg>update install script to retry npm install once<commit_after>if [ "$1" != "server" ]
  then
    read -p "Enter your firebase url (https://username.firebaseio.com): " firebase_url
    read -p "Enter your firebase SECRET (asdf3456jkle9f....): " firebase_secret
    echo "Creating FIREBASE_CONFIG.json..."
    printf "{\n\t\"ROOT\": \"$firebase_url\",\n\t\"SECRET\": \"$firebase_secret\"\n}\n" > ./FIREBASE_CONFIG.json
fi
if [ "$1" != "firebase" ]
  then
    read -p "Enter your server address (http://172.16.58.3): " server_address
    read -p "Enter your server port (3000): " server_port
    echo "Creating SERVER_CONFIG.json..."
    printf "{\n\t\"ADDRESS\": \"$server_address\",\n\t\"PORT\": \"$server_port\"\n}\n" > ./SERVER_CONFIG.json
fi
if [ "$1" != "firebase" ] && [ "$1" != "server" ] 
  then
    echo "Cloning Poker Evaluator..."
    git clone https://github.com/darrenmce/poker-evaluator.git
    echo "Removing Repo Specifics..."
    rm -rf ./poker-evaluator/.git
    rm ./poker-evaluator/.gitignore
    rm ./poker-evaluator/.travis.yml
    echo "Installing Packages..."
    npm install || (npm install || echo "failed twice to install packages, run 'npm install' manually and debug")
fi


{'fraction_non_alphanumeric': 0.18314210061782876, 'fraction_numerical': 0.018534863195057368, 'mean_word_length': 3.0053003533568905, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3332486', 'n_tokens_mistral': 819, 'n_tokens_neox': 796, 'n_words': 197}