<commit_before>#!/bin/sh

echo "****************************"
echo "Starting on-commit tests...."
echo "****************************"
echo ""

JAVA=java5

scriptdir=`dirname "$0"`
. "$scriptdir"/sanity.sh ${JAVA}

if [ $? -ne 0 ]; then
  echo ""
  echo "ERROR: On-commit tests failed; see above"
  exit 1
fi


. "$scriptdir"/coverage.sh ${JAVA}
<commit_msg>Change builds to use Java 6<commit_after>#!/bin/sh

echo "****************************"
echo "Starting on-commit tests...."
echo "****************************"
echo ""

JAVA=java6

scriptdir=`dirname "$0"`
. "$scriptdir"/sanity.sh ${JAVA}

if [ $? -ne 0 ]; then
  echo ""
  echo "ERROR: On-commit tests failed; see above"
  exit 1
fi


. "$scriptdir"/coverage.sh ${JAVA}

{'fraction_non_alphanumeric': 0.3131868131868132, 'fraction_numerical': 0.012362637362637362, 'mean_word_length': 4.282608695652174, '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': '4487867', 'n_tokens_mistral': 271, 'n_tokens_neox': 245, 'n_words': 65}