<commit_before>#!/bin/bash

set -x

# Cause the script to exit if a single command fails.
set -e

TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)

git clone https://github.com/pcmoritz/arrow.git "$TP_DIR/arrow"
cd "$TP_DIR/arrow"
git checkout c88bd70c13cf16c07b840623cb466aa98d535be0<commit_msg>Only download arrow if not already present. (#166)<commit_after>#!/bin/bash

set -x

# Cause the script to exit if a single command fails.
set -e

TP_DIR=$(cd "$(dirname "${BASH_SOURCE:-$0}")"; pwd)

if [ ! -d $TP_DIR/arrow ]; then
  git clone https://github.com/pcmoritz/arrow.git "$TP_DIR/arrow"
fi
cd "$TP_DIR/arrow"
git checkout c88bd70c13cf16c07b840623cb466aa98d535be0
{'fraction_non_alphanumeric': 0.14732142857142858, 'fraction_numerical': 0.0818452380952381, 'mean_word_length': 4.95575221238938, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5615895', 'n_tokens_mistral': 299, 'n_tokens_neox': 260, 'n_words': 67}