<commit_before>#!/bin/bash

set -e

RAWLS_DIR=$1
cd $RAWLS_DIR

if [ -e "jenkins_env.sh" ]; then
	source "jenkins_env.sh"
fi

# Tests are run in jenkins which has a custom mysql instance just for testing
sbt -J-Xms4g -J-Xmx8g test -Dmysql.host=mysql -Dmysql.port=3306 -Ddirectory.url=ldap://opendj:389 -Ddirectory.password=<PASSWORD>
sbt -J-Xms4g -J-Xmx8g assembly
RAWLS_JAR=$(find target | grep 'rawls.*\.jar')
mv $RAWLS_JAR .
sbt clean<commit_msg>alter previous memory bump during build (#813)<commit_after>#!/bin/bash

set -e

RAWLS_DIR=$1
cd $RAWLS_DIR

if [ -e "jenkins_env.sh" ]; then
	source "jenkins_env.sh"
fi

# Tests are run in jenkins which has a custom mysql instance just for testing
sbt -J-Xms4g -J-Xmx5g test -Dmysql.host=mysql -Dmysql.port=3306 -Ddirectory.url=ldap://opendj:389 -Ddirectory.password=<PASSWORD>
sbt -J-Xms4g -J-Xmx5g assembly
RAWLS_JAR=$(find target | grep 'rawls.*\.jar')
mv $RAWLS_JAR .
sbt clean
{'fraction_non_alphanumeric': 0.13426423200859292, 'fraction_numerical': 0.02900107411385607, 'mean_word_length': 4.325714285714286, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '461409', 'n_tokens_mistral': 410, 'n_tokens_neox': 381, 'n_words': 99}