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

<project name="Energy Assessment Demo" default="help" basedir=".">
  <property name="java" location="src"/>
  <property name="build" location="build"/>
  <property name="lib" location="lib"/>
  <property name="args" value=""/>

	<target name="init">
    <tstamp/>
  </target>

	<target name="help">
		<echo>
Examples:

> ant run -Dargs="com1"
Starts demo application listening on COM1 and tracking the first node.

</echo>
	</target>

	<target name="compile" depends="init">
    <mkdir dir="${build}"/>
    <javac srcdir="${java}" destdir="${build}" debug="on">
      <classpath>
        <pathelement path="."/>
        <pathelement path="${lib}/jfreechart-1.0.6.jar"/>
        <pathelement path="${lib}/jcommon-1.0.10.jar"/>
      </classpath>
    </javac>
  </target>

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

  <target name="run" depends="init, compile">
    <java fork="yes" dir="${build}" classname="Demo">
      <arg line="${args}"/>
      <classpath>
        <pathelement path="${build}"/>
        <pathelement path="${lib}/jfreechart-1.0.6.jar"/>
        <pathelement path="${lib}/jcommon-1.0.10.jar"/>
      </classpath>
    </java>
  </target>

</project>
<commit_msg>added jar target<commit_after><?xml version="1.0"?>

<project name="Energy Assessment Demo" default="help" basedir=".">
  <property name="java" location="src"/>
  <property name="build" location="build"/>
  <property name="lib" location="lib"/>
  <property name="dist" location="dist"/>
  <property name="args" value=""/>

	<target name="init">
    <tstamp/>
  </target>

	<target name="help">
		<echo>
Examples:

> ant run -Dargs="com1"
Starts demo application listening on COM1 and tracking the first node.

</echo>
	</target>

	<target name="compile" depends="init">
    <mkdir dir="${build}"/>
    <javac srcdir="${java}" destdir="${build}" debug="on">
      <classpath>
        <pathelement path="."/>
        <pathelement path="${lib}/jfreechart-1.0.6.jar"/>
        <pathelement path="${lib}/jcommon-1.0.10.jar"/>
      </classpath>
    </javac>
  </target>

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

  <target name="run" depends="init, compile">
    <java fork="yes" dir="${build}" classname="Demo">
      <arg line="${args}"/>
      <classpath>
        <pathelement path="${build}"/>
        <pathelement path="${lib}/jfreechart-1.0.6.jar"/>
        <pathelement path="${lib}/jcommon-1.0.10.jar"/>
      </classpath>
    </java>
  </target>

  <target name="jar" depends="clean, init, compile">
    <mkdir dir="${dist}"/>
    <jar destfile="${dist}/energest.jar" basedir="${build}">
      <fileset dir="${build}"/>
      <manifest>
        <attribute name="Main-Class" value="Demo"/>
        <attribute name="Class-Path" value=". jcommon-1.0.10.jar jfreechart-1.0.6.jar"/>
      </manifest>
    </jar>
    <mkdir dir="${dist}"/>
    <copy todir="${dist}">
      <fileset dir="${lib}"/>
    </copy>
  </target>

</project>

{'fraction_non_alphanumeric': 0.22167648984937788, 'fraction_numerical': 0.014079895219384414, 'mean_word_length': 3.345661450924609, 'pattern_counts': {'":': 0, '<': 93, '<?xml version=': 2, '>': 95, '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': '7535494', 'n_tokens_mistral': 1055, 'n_tokens_neox': 1023, 'n_words': 218}