<commit_before>#!/bin/bash -eu

script_dir=$(dirname $0)
hunk_dir=$1
hunk_libs="$hunk_dir"/libs
classes="$script_dir"/classes

mkdir -p "$classes"

(cd $hunk_dir && ant build-1.0)

javac -classpath "$hunk_libs/common/*":"$hunk_libs/1.0/*":"$hunk_dir/classes/1.0" \
    -d "$classes" \
    `find "$script_dir"/src -name "*.java"`

(cd "$classes" && jar cf ../hunk-image-reader.jar com)<commit_msg>Updates the create-jar script to depend on jars<commit_after>#!/bin/bash -eu

script_dir=$(dirname $0)
libs="$script_dir"/lib
classes="$script_dir"/classes

mkdir -p "$classes"

javac -classpath "$libs/*" \
    -d "$classes" \
    `find "$script_dir"/src -name "*.java"`

(cd "$classes" && jar cf ../hunk-image-reader.jar com)
{'fraction_non_alphanumeric': 0.21052631578947367, 'fraction_numerical': 0.012465373961218837, 'mean_word_length': 4.127659574468085, 'pattern_counts': {'":': 2, '<': 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': '2701790', 'n_tokens_mistral': 300, 'n_tokens_neox': 277, 'n_words': 59}