<commit_before><?xml version="1.0"?>

<project name="TestUtilities" default="build" basedir=".">

    <property name="src"             value="src" />
    <property name="src.test"        value="test" />
    <property name="build"           value="bin" />
    <property name="reports"         value="reports" />
    <property name="lib"             value="lib" />
    <property name="dist"            value="dist" />
    <property name="version.number"  value="0.0.1" />

    <path id ="base.path">
    </path>
    <path id ="test.path">
        <path refid="base.path" />
        <pathelement location="${build}" />
        <pathelement location="${lib}/junit-4.8.2.jar" />
    </path>

    <target name="clean" description="Remove all build product and intermediate files.">
        <delete dir="${build}" />
        <delete dir="${reports}" />
        <delete dir="${dist}" />
    </target>

    <target name="init" description="Initialize build process.">
        <tstamp/>
        <available property="junit.present" classpathref="test.path" classname="org.junit.Test" />
    </target>

    <target name="compile" depends="init" description="Compile Java code.">
        <mkdir dir="${build}" />
        <javac srcdir="${src}"      destdir="${build}" classpathref="base.path" />
        <javac srcdir="${src.test}" destdir="${build}" classpathref="test.path" />
    </target>

    <target name="test" depends="compile" if="junit.present" description="Run available unit tests.">
        <mkdir dir="${reports}" />
        <junit>
            <classpath>
                <path refid="test.path" />
            </classpath>
            <formatter type="plain" usefile="false" />
            <formatter type="xml" />
            <batchtest todir="${reports}">
                <fileset dir="${build}">
                    <include name="org/simonpeter/**/*Test.class" />
                </fileset>
            </batchtest>
        </junit>
        <junitreport todir="${reports}">
            <fileset dir="${reports}">
                <include name="TEST-*.xml" />
            </fileset>
            <report format="frames" todir="${reports}/html" />
        </junitreport>
    </target>

    <target name="jar" depends="test" description="Create a JAR file.">
        <mkdir dir="${dist}" />
        <jar destfile="${dist}/TestUtilities-${version.number}.jar">
            <fileset dir="${build}" />
        </jar>
    </target>

    <target name="build" depends="jar" description="Run a full build." />

</project><commit_msg>Updated build file<commit_after><?xml version="1.0"?>

<project name="BinaryDigit" default="build" basedir=".">

    <property name="src"             value="src" />
    <property name="src.test"        value="test" />
    <property name="build"           value="bin" />
    <property name="lib"             value="lib" />
    <property name="dist"            value="dist" />
    <property name="version.number"  value="1.0.0" />

    <path id ="base.path">
    </path>
    <path id ="test.path">
        <path refid="base.path" />
        <pathelement location="${build}" />
        <pathelement location="${lib}/junit-4.8.2.jar" />
    </path>

    <target name="clean" description="Remove all build product and intermediate files.">
        <delete dir="${build}" />
        <delete dir="${dist}" />
    </target>

    <target name="init" description="Initialize build process.">
        <tstamp/>
        <available property="junit.present" classpathref="test.path" classname="org.junit.Test" />
    </target>

    <target name="compile" depends="init" description="Compile Java code.">
        <mkdir dir="${build}" />
        <javac srcdir="${src}"      destdir="${build}" classpathref="base.path" />
        <javac srcdir="${src.test}" destdir="${build}" classpathref="test.path" />
    </target>

    <target name="test" depends="compile" if="junit.present" description="Run available unit tests.">
        <junit printsummary="true" haltonfailure="true">
            <classpath refid="test.path" />
        	<batchtest>
                <fileset dir="${build}">
                    <include name="org/simonpeter/**/*Test.class" />
                </fileset>
        	</batchtest>
        </junit>
    </target>

    <target name="jar" depends="test" description="Create a JAR file.">
        <mkdir dir="${dist}" />
        <jar destfile="${dist}/${ant.project.name}-${version.number}.jar">
            <fileset dir="${build}" />
        </jar>
    </target>

    <target name="build" depends="jar" description="Run a full build." />

</project>
{'fraction_non_alphanumeric': 0.1894782798515608, 'fraction_numerical': 0.0034926871862038856, 'mean_word_length': 2.3617021276595747, 'pattern_counts': {'":': 0, '<': 108, '<?xml version=': 2, '>': 108, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1710600', 'n_tokens_mistral': 1348, 'n_tokens_neox': 1315, 'n_words': 275}