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

source env.sh

if [ "$#" -gt "0" ]; then
    echo "Using branch name ${1}"
    DIST=grakn-dist/target/grakn-dist-${1}.tar.gz
else
    # get first thing matching wildcard pattern
    DIST=(grakn-dist/target/grakn-dist*.tar.gz)[0]
fi
<commit_msg>Yeah I don't know how bash array variables work (#2483)<commit_after>#!/usr/bin/env bash

source env.sh

if [ "$#" -gt "0" ]; then
    echo "Using branch name ${1}"
    DIST=grakn-dist/target/grakn-dist-${1}.tar.gz
else
    # get first thing matching wildcard pattern
    DIST=(grakn-dist/target/grakn-dist*.tar.gz)
    DIST=${DIST[0]}
fi

{'fraction_non_alphanumeric': 0.1680129240710824, 'fraction_numerical': 0.01938610662358643, 'mean_word_length': 3.397163120567376, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5996787', 'n_tokens_mistral': 253, 'n_tokens_neox': 228, 'n_words': 56}