<commit_before><project name="junit-example">
  <property name="main.build.dir" value="build/main"/>
  <property name="main.src.dir" value="src/com/hooitong/algorithms/"/>
  <property name="test.build.dir" value="build/test"/>
  <property name="test.src.dir" value="test/com/hooitong/algorithms/"/>

  <path id="classpath.test">
    <pathelement location="libs/junit-4.12.jar"/>
    <pathelement location="libs/hamcrest-core-1.3.jar"/>
    <pathelement location="${main.build.dir}"/>
  </path>

  <target name="compile">
    <mkdir dir="${main.build.dir}"/>
    <javac srcdir="${main.src.dir}" destdir="${main.build.dir}" includeantruntime="false"/>
  </target>

  <target name="test-compile" depends="compile">
    <mkdir dir="${test.build.dir}"/>
    <javac srcdir="${test.src.dir}" destdir="${test.build.dir}" includeantruntime="false">
      <classpath refid="classpath.test"/>
    </javac>
  </target>

  <target name="test" depends="test-compile">
    <junit printsummary="on" haltonfailure="yes" fork="true">
      <classpath>
        <path refid="classpath.test"/>
        <pathelement location="${test.build.dir}"/>
      </classpath>
      <formatter type="brief" usefile="false"/>
      <batchtest>
        <fileset dir="${test.src.dir}" includes="**/*Test.java"/>
      </batchtest>
    </junit>
  </target>
</project><commit_msg>:green_heart: Attempt to fix build.xml<commit_after><project name="practice-arena" default="dist" basedir=".">
  <description>
    ANT build for practice-arena
  </description>

  <property name="src" location="src"/>
  <property name="test" location="test"/>
  <property name="build" location="build"/>
  <property name="dist" location="dist"/>

  <path id="class.path">
    <fileset dir="libs">
      <include name="**/*.jar"/>
    </fileset>
  </path>

  <path id="test.class.path">
    <fileset dir="libs">
      <include name="**/*.jar"/>
    </fileset>
    <fileset dir="dist">
      <include name="**/*.jar"/>
    </fileset>
  </path>

  <target name="echo.env_vars">
    <property environment="env_vars"/>
    <echo>CLASSPATH='${env_vars.CLASSPATH}'</echo>
    <echo>JAVA_HOME='${env_vars.JAVA_HOME}'</echo>
    <echo>JAVA_OPTS='${env_vars.JAVA_OPTS}'</echo>
  </target>

  <target name="clean">
    <delete dir="${build}"/>
    <delete dir="${dist}"/>
  </target>

  <target name="init" depends="clean, echo.env_vars">
    <tstamp/>
    <mkdir dir="${build}"/>
    <mkdir dir="${dist}"/>
  </target>

  <target name="build" depends="init" description="build the source files">
    <javac encoding="UTF-8" includeantruntime="false" srcdir="${src}" destdir="${build}">
      <compilerarg value="-Xlint:unchecked"/>
      <classpath refid="class.path"/>
    </javac>
  </target>

  <target name="dist" depends="build" description="generate the distribution of the source">
    <jar jarfile="${dist}/practice-arena-${DSTAMP}.jar" basedir="${build}"/>
  </target>

  <target name="build_tests" depends="dist" description="build the source file">
    <javac encoding="UTF-8" includeantruntime="false" srcdir="${test}" destdir="${build}">
      <compilerarg value="-Xlint:unchecked"/>
      <classpath refid="class.path"/>
    </javac>
  </target>

  <target name="dist_tests" depends="build_tests" description="generate the jar file for test">
    <jar jarfile="${dist}/practice-arena-tests-${DSTAMP}.jar" basedir="${build}"/>
  </target>

  <target name="test" depends="dist_tests">
    <junit printsummary="on" haltonfailure="yes">
      <jvmarg value="-server"/>
      <classpath>
        <path refid="test.class.path"/>
      </classpath>
      <formatter type="brief" usefile="false"/>
      <batchtest>
        <fileset dir="${test}" includes="**/test/*.java"/>
      </batchtest>
    </junit>
  </target>

</project>
{'fraction_non_alphanumeric': 0.2091295116772824, 'fraction_numerical': 0.0018577494692144374, 'mean_word_length': 3.9011703511053315, 'pattern_counts': {'":': 0, '<': 105, '<?xml version=': 0, '>': 105, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '3124466', 'n_tokens_mistral': 1274, 'n_tokens_neox': 1236, 'n_words': 225}