<commit_before>set -ev

if [[ "$CONDA_DIR" = "" ]]; then
    CONDA_DIR='$HOME/.miniconda'
fi
if [[ ! "$CONDA_VERSION" = "" ]]; then
    CONDA_VERSION=2
fi

if [[ "$PLATFORM" = "" ]]; then
    export PLATFORM=`arch`
fi

if [[ ! -d CONDA_DIR ]]; then

    case "$(uname -s)" in
        Darwin)
            curl https://repo.continuum.io/miniconda/Miniconda$CONDA_VERSION-latest-MacOSX-$PLATFORM.sh -o miniconda.sh
            ;;
        Linux)
            wget https://repo.continuum.io/miniconda/Miniconda$CONDA_VERSION-latest-Linux-$PLATFORM.sh -O miniconda.sh
            ;;
        *)
            exit 1 
            ;;
    esac

    bash miniconda.sh -b -p $CONDA_DIR
    rm miniconda.sh
fi

export PATH=$CONDA_DIR/bin:$PATH

if [[ "$CONDA_ALWAYS_YES" = "" ]]; then
  CONDA_ALWAYS_YES=no
fi
if [[ "$CONDA_CHANGE_PS1" = "" ]]; then
  CONDA_CHANGE_PS1=yes
fi
conda config --set always_yes $CONDA_ALWAYS_YES
conda config --set changeps1 $CONDA_CHANGE_PS1
conda update -q conda

# if [[ -d $HOME/.config/sublime-text-3/Packages/SublimeREPL ]]; then
#     mkdir -p $HOME/.config/sublime-text-3/Packages/StatisKit
# fi

set +ev
<commit_msg>Update install.sh<commit_after>set -ev

if [[ "$CONDA_DIR" = "" ]]; then
    CONDA_DIR=$HOME/.miniconda
fi
if [[ ! "$CONDA_VERSION" = "" ]]; then
    CONDA_VERSION=2
fi

if [[ "$PLATFORM" = "" ]]; then
    export PLATFORM=`arch`
fi

if [[ ! -d CONDA_DIR ]]; then

    case "$(uname -s)" in
        Darwin)
            curl https://repo.continuum.io/miniconda/Miniconda$CONDA_VERSION-latest-MacOSX-$PLATFORM.sh -o miniconda.sh
            ;;
        Linux)
            wget https://repo.continuum.io/miniconda/Miniconda$CONDA_VERSION-latest-Linux-$PLATFORM.sh -O miniconda.sh
            ;;
        *)
            exit 1 
            ;;
    esac

    bash miniconda.sh -b -p $CONDA_DIR
    rm miniconda.sh
fi

export PATH=$CONDA_DIR/bin:$PATH

if [[ "$CONDA_ALWAYS_YES" = "" ]]; then
  CONDA_ALWAYS_YES=no
fi
if [[ "$CONDA_CHANGE_PS1" = "" ]]; then
  CONDA_CHANGE_PS1=yes
fi
conda config --set always_yes $CONDA_ALWAYS_YES
conda config --set changeps1 $CONDA_CHANGE_PS1
conda update -q conda

# if [[ -d $HOME/.config/sublime-text-3/Packages/SublimeREPL ]]; then
#     mkdir -p $HOME/.config/sublime-text-3/Packages/StatisKit
# fi

set +ev

{'fraction_non_alphanumeric': 0.14806678383128294, 'fraction_numerical': 0.007029876977152899, 'mean_word_length': 2.620031796502385, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '614335', 'n_tokens_mistral': 916, 'n_tokens_neox': 883, 'n_words': 167}