<commit_before>#!/bin/bash

echo -n "Assignment: "
read assignment_name

echo "Building $assignment_name"

echo "Cleaning builds..."
rm -rf ./build/* ./${assignment_name}.jar


echo "Starting build"
export HADOOP_CLASSPATH=$JAVA_HOME/lib/tools.jar
hadoop com.sun.tools.javac.Main ${assignment_name}.java -d build
jar -cvf ${assignment_name}.jar -C build/ ./

echo "Build comleted, running $assignment_name"
case assignment_name in
  TitleCount)
    hadoop jar TitleCount.jar TitleCount -D stopwords=/mp2/misc/stopwords.txt -D delimeters=/mp2/misc/delimiters.txt /mp2/titles /mp2/A-output
    ;;
esac<commit_msg>Removed hadoop job running<commit_after>#!/bin/bash

echo -n "Assignment: "
read assignment_name

echo "Building $assignment_name"

echo "Cleaning builds..."
rm -rf ./build/* ./${assignment_name}.jar


echo "Starting build"
export HADOOP_CLASSPATH=$JAVA_HOME/lib/tools.jar
hadoop com.sun.tools.javac.Main ${assignment_name}.java -d build
jar -cvf ${assignment_name}.jar -C build/ ./

echo "Build completed"
{'fraction_non_alphanumeric': 0.13470993117010815, 'fraction_numerical': 0.003933136676499509, 'mean_word_length': 4.473118279569892, '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': '7668038', 'n_tokens_mistral': 370, 'n_tokens_neox': 354, 'n_words': 87}