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

set -eux

TMPFILE=$(mktemp)
TMPDIR=$(mktemp -d)

curl -L https://github.com/Masterminds/glide/releases/download/0.6.1/glide-linux-amd64.zip > "$TMPFILE"
unzip "$TMPFILE" -d "$TMPDIR"<commit_msg>install-glide.sh: allow to pick version, but default to 0.6.1<commit_after>#!/usr/bin/env bash

set -eux

TMPFILE=$(mktemp)
TMPDIR=$(mktemp -d)

URL="https://github.com/Masterminds/glide/releases/download/0.6.1/glide-linux-amd64.zip"

if [ $# -eq 1 ]; then
  URL="https://github.com/Masterminds/glide/releases/download/$1/glide-$1-linux-amd64.zip"
fi

curl -L "$URL" > "$TMPFILE"
unzip "$TMPFILE" -d "$TMPDIR"
{'fraction_non_alphanumeric': 0.19874804381846636, 'fraction_numerical': 0.028169014084507043, 'mean_word_length': 4.378151260504202, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 3, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 3, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3168759', 'n_tokens_mistral': 285, 'n_tokens_neox': 273, 'n_words': 44}