<commit_before>#!/bin/bash
DIR=`dirname $0`
set -x

OADM="oadm --config openshift.local.config/master/admin.kubeconfig"

function download_enmasse() {
    curl -0 https://dl.bintray.com/enmasse/snapshots/latest/enmasse-latest.tar.gz | tar -zx
    ls $DIR/enmasse-latest
    export PATH="$PATH:$DIR/enmasse-latest"
}

function setup_test() {
    local PROJECT_NAME=$1
    local MULTITENANT=${2:-false}
    local OPENSHIFT_URL=${3:-"https://localhost:8443"}
    local OPENSHIFT_USER=${4:-"test"}

    DEPLOY_ARGS="-y -n $PROJECT_NAME -u $OPENSHIFT_USER -m $OPENSHIFT_URL"

    if [ "$MULTITENANT" == true ]; then
        DEPLOY_ARGS="$DEPLOY_ARGS -p MULTIINSTANCE=true"
    fi<commit_msg>Add absolute path to dir<commit_after>#!/bin/bash
DIR=`dirname $0`
set -x

OADM="oadm --config openshift.local.config/master/admin.kubeconfig"

function download_enmasse() {
    curl -0 https://dl.bintray.com/enmasse/snapshots/latest/enmasse-latest.tar.gz | tar -zx
    D=`readlink -f enmasse-latest`
    export PATH="$PATH:$D"
}

function setup_test() {
    local PROJECT_NAME=$1
    local MULTITENANT=${2:-false}
    local OPENSHIFT_URL=${3:-"https://localhost:8443"}
    local OPENSHIFT_USER=${4:-"test"}

    DEPLOY_ARGS="-y -n $PROJECT_NAME -u $OPENSHIFT_USER -m $OPENSHIFT_URL"

    if [ "$MULTITENANT" == true ]; then
        DEPLOY_ARGS="$DEPLOY_ARGS -p MULTIINSTANCE=true"
    fi
{'fraction_non_alphanumeric': 0.15574963609898107, 'fraction_numerical': 0.01455604075691412, 'mean_word_length': 3.841549295774648, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, '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': '3346610', 'n_tokens_mistral': 548, 'n_tokens_neox': 515, 'n_words': 92}