<commit_before>#!/bin/sh
sudo apt-get update &&
sudo apt-get -y install git \
                        build-essential \
                        libtool \
                        autotools-dev \
                        automake \
                        autoconf \
                        python3-pip

# Install Singularity from Github
cd /tmp && git clone http://www.github.com/singularityware/singularity &&
   cd singularity && ./configure --prefix=/usr/local && make && sudo make install

# Pip3 installs
sudo pip3 install --upgrade pip &&
sudo pip3 install --upgrade google-api-python-client &&
sudo pip3 install --upgrade google &&<commit_msg>	modified:   singularity-build.sh<commit_after>#!/bin/sh
sudo apt-get update > /tmp/.install-log
sudo apt-get -y install git \
                        build-essential \
                        libtool \
                        autotools-dev \
                        automake \
                        autoconf \
                        python3-pip >> /tmp/.install-log

# so that adjusted PATH propagates into sudo
sudo sed -i -e 's/^Defaults\tsecure_path.*$//' /etc/sudoers
export CXX=g++
export CC=gcc

# Install Singularity from Github
cd /tmp && git clone http://www.github.com/singularityware/singularity && cd singularity && ./autogen.sh && ./configure --prefix=/usr/local && make && sudo make install > /tmp/.singularity-install.log

# Pip3 installs
sudo pip3 install --upgrade pip &&
sudo pip3 install --upgrade google-api-python-client &&
sudo pip3 install --upgrade google &&
{'fraction_non_alphanumeric': 0.10951760104302477, 'fraction_numerical': 0.00651890482398957, 'mean_word_length': 1.7657657657657657, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, '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': '4513109', 'n_tokens_mistral': 453, 'n_tokens_neox': 401, 'n_words': 121}