<commit_before>#!/usr/bin/env bash
set -x
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-8

if [ ! -d "libs/boost/lib/" ]; then
  wget http://kent.dl.sourceforge.net/project/boost/boost/1.62.0/boost_1_62_0.tar.bz2
  tar -xjf boost_1_62_0.tar.bz2
  cd boost_1_62_0/
  sudo ./bootstrap.sh --prefix=../libs/boost/
  sudo ./b2 install -j 8
  cd ..
fi

if [ -f "libs/json/src/json.hpp" ]; then
  cd libs/json/
  git pull
  cd ../..
else
  cd libs/
  git clone https://github.com/nlohmann/json.git
  cd ..
fi

if [ ! -d "libs/openssl-1.0.2g" ]; then
  cd libs/
  wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz
  tar -xzf openssl-1.0.2g.tar.gz
  cd openssl-1.0.2g
  sudo ./config
  sudo make install
  cd ../..
fi
<commit_msg>Updated boost<commit_after>#!/usr/bin/env bash
set -x
sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-8 100 --slave /usr/bin/g++ g++ /usr/bin/g++-8

if [ ! -d "libs/boost/lib/" ]; then
  wget https://dl.bintray.com/boostorg/release/1.68.0/source/boost_1_68_0.tar.bz2
  tar -xjf boost_1_68_0.tar.bz2
  cd boost_1_68_0/
  sudo ./bootstrap.sh --prefix=../libs/boost/
  sudo ./b2 install -j 8
  cd ..
fi

if [ -f "libs/json/src/json.hpp" ]; then
  cd libs/json/
  git pull
  cd ../..
else
  cd libs/
  git clone https://github.com/nlohmann/json.git
  cd ..
fi

if [ ! -d "libs/openssl-1.0.2g" ]; then
  cd libs/
  wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz
  tar -xzf openssl-1.0.2g.tar.gz
  cd openssl-1.0.2g
  sudo ./config
  sudo make install
  cd ../..
fi

{'fraction_non_alphanumeric': 0.18417721518987343, 'fraction_numerical': 0.04683544303797468, 'mean_word_length': 2.286902286902287, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 2, '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': '602624', 'n_tokens_mistral': 764, 'n_tokens_neox': 700, 'n_words': 147}