<commit_before>#!/bin/bash -e

function installDependencies()
{
    echo
    # installAptGetPackages 'build-essential' 'libffi-dev' 'libgdbm-dev' 'libreadline-dev' 'libssl-dev' 'zlib1g-dev'
}

function install()
{
    # Clean Up

    initializeFolder "${pythonInstallFolder}"

    # Install

    local currentPath="$(pwd)"
    local tempFolder="$(getTemporaryFolder)"

    unzipRemoteFile "${pythonDownloadURL}" "${tempFolder}"
    cd "${tempFolder}"
    "${tempFolder}/configure" --prefix="${pythonInstallFolder}"
    make
    make install
    symlinkLocalBin "${pythonInstallFolder}/bin"
    rm -f -r "${tempFolder}"
    cd "${currentPath}"
<commit_msg>add symlink<commit_after>#!/bin/bash -e

function installDependencies()
{
    echo
    # installAptGetPackages 'build-essential' 'libffi-dev' 'libgdbm-dev' 'libreadline-dev' 'libssl-dev' 'zlib1g-dev'
}

function install()
{
    # Clean Up

    initializeFolder "${pythonInstallFolder}"

    # Install

    local currentPath="$(pwd)"
    local tempFolder="$(getTemporaryFolder)"

    unzipRemoteFile "${pythonDownloadURL}" "${tempFolder}"
    cd "${tempFolder}"
    "${tempFolder}/configure" --prefix="${pythonInstallFolder}"
    make
    make install
    symlinkLocalBin "${pythonInstallFolder}/bin"
    ln -f -s "${pythonInstallFolder}/bin/python3" '/usr/local/bin/python'
    rm -f -r "${tempFolder}"
    cd "${currentPath}"

{'fraction_non_alphanumeric': 0.15557163531114326, 'fraction_numerical': 0.002170767004341534, 'mean_word_length': 4.029090909090909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '113583', 'n_tokens_mistral': 448, 'n_tokens_neox': 429, 'n_words': 88}