<commit_before>#!/bin/bash
cd ..
mvn clean package

if [ -z "$1" ]; then
	echo "usage: ./buildAndCopyToRemote.sh [remote_host]"

else
	scp -i ~/.ssh/Amazon-HPI.pem target/SparkTwitterClustering-jar-with-dependencies.jar $1:~
	scp -i ~/.ssh/Amazon-HPI.pem src/main/resources/twitter.dat $1:~
	scp -i ~/.ssh/Amazon-HPI.pem utils/driver_bootstrap.sh $1:~
	scp -i ~/.ssh/Amazon-HPI.pem utils/runOnCluster.sh $1:~
fi
<commit_msg>adjust buildAndCopyToRemote in order to use other keys<commit_after>#!/bin/bash
cd ..
#mvn clean package

if [[ -z "$1" || -z "$2" ]]; then
	echo "usage: ./buildAndCopyToRemote.sh [path_to_key] [remote_host]"

else
	scp -i $1 target/SparkTwitterClustering-jar-with-dependencies.jar $2:~
	scp -i $1 src/main/resources/twitter.dat $2:~
	scp -i $1 utils/driver_bootstrap.sh $2:~
	scp -i $1 utils/runOnCluster.sh $2:~
fi

{'fraction_non_alphanumeric': 0.1724137931034483, 'fraction_numerical': 0.0178359096313912, 'mean_word_length': 3.867052023121387, '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': '4258845', 'n_tokens_mistral': 369, 'n_tokens_neox': 352, 'n_words': 80}