<commit_before>#!/bin/bash -e

scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO_DIR="${REPO_DIR:-${scriptdir}/../../.cache/k8s-vagrant-multi-node/}"
# shellcheck disable=SC1090
source "${scriptdir}/../../build/common.sh"

function init() {
    if [ ! -d "${REPO_DIR}" ]; then
        echo "k8s-vagrant-multi-node not found in rook cache dir. Cloning.."
        mkdir -p "${REPO_DIR}"
        git clone https://github.com/galexrt/k8s-vagrant-multi-node.git "${REPO_DIR}"
        # checkout latest tag of the repo initially after clone
        git -C "${REPO_DIR}" checkout "$(git describe --tags `git rev-list --tags --max-count=1`)"
    else
        git -C "${REPO_DIR}" pull || { echo "git pull failed with exit code $?. continuing as the repo is already there ..." }<commit_msg>added missing semicolon to k8s-vagrant-mutli-node.sh file<commit_after>#!/bin/bash -e

scriptdir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
REPO_DIR="${REPO_DIR:-${scriptdir}/../../.cache/k8s-vagrant-multi-node/}"
# shellcheck disable=SC1090
source "${scriptdir}/../../build/common.sh"

function init() {
    if [ ! -d "${REPO_DIR}" ]; then
        echo "k8s-vagrant-multi-node not found in rook cache dir. Cloning.."
        mkdir -p "${REPO_DIR}"
        git clone https://github.com/galexrt/k8s-vagrant-multi-node.git "${REPO_DIR}"
        # checkout latest tag of the repo initially after clone
        git -C "${REPO_DIR}" checkout "$(git describe --tags `git rev-list --tags --max-count=1`)"
    else
        git -C "${REPO_DIR}" pull || { echo "git pull failed with exit code $?. continuing as the repo is already there ..."; }
{'fraction_non_alphanumeric': 0.18708104814137722, 'fraction_numerical': 0.01157830591102986, 'mean_word_length': 2.966183574879227, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2543833', 'n_tokens_mistral': 576, 'n_tokens_neox': 545, 'n_words': 151}