<commit_before>
# Builde the mavenizer
mvn -DdescriptorId=jar-with-dependencies assembly:assembly

# Run the mavenizer
java -cp target/opennms-mavenizer-1.0-SNAPSHOT-jar-with-dependencies.jar -Dopennms.dir=.. org.opennms.mavenize.Mavenize src/test/resources/opennmsMavenizeSpec.xml



<commit_msg>make it perty and do some error checking<commit_after>#!/bin/sh -

# Builde the mavenizer
mvn -DdescriptorId=jar-with-dependencies -Dmaven.test.skip=true \
	assembly:assembly || exit 1

# Run the mavenizer
java -cp target/opennms-mavenizer-1.0-SNAPSHOT-jar-with-dependencies.jar \
	-Dopennms.dir=.. \
	org.opennms.mavenize.Mavenize \
	src/test/resources/opennmsMavenizeSpec.xml || exit 1
{'fraction_non_alphanumeric': 0.11842105263157894, 'fraction_numerical': 0.008771929824561403, 'mean_word_length': 4.569105691056911, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '5483429', 'n_tokens_mistral': 269, 'n_tokens_neox': 256, 'n_words': 44}