<commit_before>#!/bin/bash

set -e
set -x

if [[ "$(uname -s)" == 'Darwin' ]]; then
    DARWIN=true
else
    DARWIN=false
fi

if [[ "$DARWIN" = true ]]; then
    brew update

    if [[ "${OPENSSL}" == "0.9.8" ]]; then
	brew upgrade openssl
    fi

    if which pyenv > /dev/null; then
	eval "$(pyenv init -)"
    fi

    case "${TOX_ENV}" in
	py26)
	    curl -O https://bootstrap.pypa.io/get-pip.py
	    sudo python get-pip.py
	    ;;
	py27)
	    curl -O https://bootstrap.pypa.io/get-pip.py
	    sudo python get-pip.py
	    ;;
	py32)
	    brew upgrade pyenv
	    pyenv install 3.2.6
	    pyenv global 3.2.6
	    ;;
	py33)
	    brew upgrade pyenv
	    pyenv install 3.3.6
	    pyenv global 3.3.6
	    ;;
	py34)
	    brew upgrade pyenv
	    pyenv install 3.4.2
	    pyenv global 3.4.2
	    ;;
	py3pep8)
	    sudo apt-get install python3.3 python3.3-dev
	    ;;
	pypy)
	    brew upgrade pyenv
	    pyenv install pypy-2.4.0
	    pyenv global pypy-2.4.0
	    ;;
	docs)
	    curl -O https://bootstrap.pypa.io/get-pip.py
	    sudo python get-pip.py
	    ;;
    esac
    pvenv rehash

else
    sudo add-apt-repository ppa:fkrull/deadsnakes

    if [[ "${TOX_ENV}" == "pypy" ]]; then
	sudo add-apt-repository ppa:pypy/ppa
    fi
<commit_msg>Sooo much typos.<commit_after>#!/bin/bash

set -e
set -x

if [[ "$(uname -s)" == 'Darwin' ]]; then
    DARWIN=true
else
    DARWIN=false
fi

if [[ "$DARWIN" = true ]]; then
    brew update

    if [[ "${OPENSSL}" == "0.9.8" ]]; then
	brew upgrade openssl
    fi

    if which pyenv > /dev/null; then
	eval "$(pyenv init -)"
    fi

    case "${TOX_ENV}" in
	py26)
	    curl -O https://bootstrap.pypa.io/get-pip.py
	    sudo python get-pip.py
	    ;;
	py27)
	    curl -O https://bootstrap.pypa.io/get-pip.py
	    sudo python get-pip.py
	    ;;
	py32)
	    brew upgrade pyenv
	    pyenv install 3.2.6
	    pyenv global 3.2.6
	    ;;
	py33)
	    brew upgrade pyenv
	    pyenv install 3.3.6
	    pyenv global 3.3.6
	    ;;
	py34)
	    brew upgrade pyenv
	    pyenv install 3.4.2
	    pyenv global 3.4.2
	    ;;
	py3pep8)
	    sudo apt-get install python3.3 python3.3-dev
	    ;;
	pypy)
	    brew upgrade pyenv
	    pyenv install pypy-2.4.0
	    pyenv global pypy-2.4.0
	    ;;
	docs)
	    curl -O https://bootstrap.pypa.io/get-pip.py
	    sudo python get-pip.py
	    ;;
    esac
    pyenv rehash

else
    sudo add-apt-repository ppa:fkrull/deadsnakes

    if [[ "${TOX_ENV}" == "pypy" ]]; then
	sudo add-apt-repository ppa:pypy/ppa
    fi

{'fraction_non_alphanumeric': 0.13568246253543945, 'fraction_numerical': 0.034831915755366545, 'mean_word_length': 1.9404761904761905, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 6, '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': '1309527', 'n_tokens_mistral': 1127, 'n_tokens_neox': 991, 'n_words': 246}