<commit_before>#!/usr/bin/env bash

# find the pluto root directory
ROOT=${PLUTO:-$HOME/pluto}

# get the repository
echo -n "installing pluto... "
go get -u github.com/pluto-language/pluto
echo "DONE"

# copy the libraries to $ROOT/libraries if
# they're not already there
if [ -e $ROOT/libraries ]
then
    echo "libraries already exist"
else
    echo "libraries don't exist. creating them"
    
    # make the libraries directory
    mkdir -p $ROOT/libraries
fi

# copy the libraries over
cp -R $GOPATH/src/github.com/Zac-Garby/pluto/libraries $ROOT

# install plp
echo -n "installing plp... "
go get -u github.com/pluto-language/plp
echo "DONE"

# install standard libraries
echo "installing standard libraries... "
plp +maths +collections > /dev/null

echo
echo "pluto and plp have been installed!"
<commit_msg>Print DONE when standard libraries are installed<commit_after>#!/usr/bin/env bash

# find the pluto root directory
ROOT=${PLUTO:-$HOME/pluto}

# get the repository
echo -n "installing pluto... "
go get -u github.com/pluto-language/pluto
echo "DONE"

# copy the libraries to $ROOT/libraries if
# they're not already there
if [ -e $ROOT/libraries ]
then
    echo "libraries already exist"
else
    echo "libraries don't exist. creating them"
    
    # make the libraries directory
    mkdir -p $ROOT/libraries
fi

# copy the libraries over
cp -R $GOPATH/src/github.com/Zac-Garby/pluto/libraries $ROOT

# install plp
echo -n "installing plp... "
go get -u github.com/pluto-language/plp
echo "DONE"

# install standard libraries
echo "installing standard libraries... "
plp +maths +collections > /dev/null
echo "DONE"

echo
echo "pluto and plp have been installed!"

{'fraction_non_alphanumeric': 0.10839785586658725, 'fraction_numerical': 0.0, 'mean_word_length': 3.628099173553719, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '3452657', 'n_tokens_mistral': 578, 'n_tokens_neox': 561, 'n_words': 194}