<commit_before>#!/bin/bash
set -e
version=$(grep -A1 "hammer-bench" pom.xml | grep -ioh "[0-9.]*")
#mvn clean install
DIST=hammer-bench-$version
rm -rf $DIST 
mkdir $DIST 
cp -r scripts/* $DIST/ 
cp master.properties $DIST/
cp slave.properties $DIST/
cp target/hammer-bench-0.1.0-jar-with-dependencies.jar $DIST/hammer-bench.jar
echo "Version: $version" > $DIST/VERSION
echo "Built: `date`" >> $DIST/VERSION
tar czf $DIST.tgz $DIST
rm -rf $DIST
scp $DIST.tgz repo.hops.works:/opt/repository/master/hammer-bench
<commit_msg>Rebuild before creating a distribution<commit_after>#!/bin/bash
set -e
version=$(grep -A1 "hammer-bench" pom.xml | grep -ioh "[0-9.]*")
mvn clean install
DIST=hammer-bench-$version
rm -rf $DIST 
mkdir $DIST 
cp -r scripts/* $DIST/ 
cp master.properties $DIST/
cp slave.properties $DIST/
cp target/hammer-bench-0.1.0-jar-with-dependencies.jar $DIST/hammer-bench.jar
echo "Version: $version" > $DIST/VERSION
echo "Built: `date`" >> $DIST/VERSION
tar czf $DIST.tgz $DIST
rm -rf $DIST
scp $DIST.tgz repo.hops.works:/opt/repository/master/hammer-bench

{'fraction_non_alphanumeric': 0.16542056074766356, 'fraction_numerical': 0.011214953271028037, 'mean_word_length': 4.275862068965517, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '2303805', 'n_tokens_mistral': 443, 'n_tokens_neox': 388, 'n_words': 104}