<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="FRC Deployment" default="deploy">
    <!--
  The following properties can be defined to override system level
  settings. These should not be touched unless you know what you're
  doing. The primary use is to override the wpilib version when
  working with older robots that can't compile with the latest
  libraries.
  -->
    <!-- By default the system version of WPI is used -->
    <!-- <property name="version" value=""/> -->
    <!-- By default the system team number is used -->
    <!-- <property name="team-number" value=""/> -->
    <!-- By default the target is set to 10.TE.AM.2 -->
    <!-- <property name="target" value=""/> -->
    <!-- Any other property in build.properties can also be overridden. -->
    <property file="${user.home}/wpilib/wpilib.properties" />
    <property file="build.properties" />
    <property file="${user.home}/wpilib/java/${version}/ant/build.properties" />
    <!-- Load Tasks -->
    <taskdef resource="net/sf/antcontrib/antlib.xml">
        <classpath>
            <pathelement location="${wpilib.ant.dir}/ant-contrib.jar" />
        </classpath>
    </taskdef>
    <taskdef resource="net/jtools/classloadertask/antlib.xml" classpath="${classloadertask.jar}" />
    <classloader loader="system" classpath="${jsch.jar}" />
    <target name="clean" description="Clean up all build and distribution artifacts.">
        <delete dir="${build.dir}" />
        <delete dir="${dist.dir}" />
    </target>
    <!-- Targets -->
    <target name="get-target-ip">
        <property name="ant.enable.asserts" value="true" />
        <property name="target" value="roboRIO-${team-number}.local" />
        <echo>Trying Target: ${target}</echo>
        <if>
            <isreachable host="${target}" timeout="5" />
            <then>
                <echo>roboRIO found via mDNS</echo>
            </then>
            <else>
                <var name="target" unset="true" />
                <echo> roboRIO not found via mDNS, falling back to static USB</echo>
                <property name="target" value="172.22.11.2" />
                <if>
                    <isreachable host="${target}" timeout="5" />
                    <then>
                        <echo>roboRIO found via static USB</echo>
                    </then>
                    <else>
                        <var name="target" unset="true" />
                        <math result="ip.upper" operand1="${team-number}" operation="/" operand2="100" datatype="int" />
                        <math result="ip.lower" operand1="${team-number}" operation="%" operand2="100" datatype="int" />
                        <property name="target" value="10.${ip.upper}.${ip.lower}.2" />
                        <echo>roboRIO not found via USB, falling back to static address of ${target}</echo>
                        <assert name="roboRIOFound" message="roboRIO not found, please check that the roboRIO is connected, imaged and that the team number is set properly in Eclipse">
                            <bool>
                                <isreachable host="${target}" timeout="5" />
                            </bool>
                        </assert>
                        <echo>roboRIO found via Ethernet static</echo>
                    </else>
                </if>
            </else>
        </if>
    </target>
    <target name="compile" description="Compile the source code.">
        <mkdir dir="${build.dir}" />
        <echo>[athena-compile] Compiling ${src.dir} with classpath=${classpath} to ${build.dir}</echo>
        <javac srcdir="${src.dir}" destdir="${build.dir}" includeAntRuntime="no" includeJavaRuntime="no" classpath="${classpath}" target="${ant.java.version}" source="${ant.java.version}" compiler="javac${ant.java.version}" debug="true"></javac>
    </target><commit_msg>Set up Ant for libraries<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="FRC Deployment" default="deploy">
    <!--
  The following properties can be defined to override system level
  settings. These should not be touched unless you know what you're
  doing. The primary use is to override the wpilib version when
  working with older robots that can't compile with the latest
  libraries.
  -->
    <!-- By default the system version of WPI is used -->
    <!-- <property name="version" value=""/> -->
    <!-- By default the system team number is used -->
    <!-- <property name="team-number" value=""/> -->
    <!-- By default the target is set to 10.TE.AM.2 -->
    <!-- <property name="target" value=""/> -->
    <!-- Any other property in build.properties can also be overridden. -->
    <property file="${user.home}/wpilib/wpilib.properties" />
    <property file="build.properties" />
    <property file="${user.home}/wpilib/java/${version}/ant/build.properties" />
    <!-- Load Tasks -->
    <taskdef resource="net/sf/antcontrib/antlib.xml">
        <classpath>
            <pathelement location="${wpilib.ant.dir}/ant-contrib.jar" />
        </classpath>
    </taskdef>
    <taskdef resource="net/jtools/classloadertask/antlib.xml" classpath="${classloadertask.jar}" />
    <classloader loader="system" classpath="${jsch.jar}" />
    <target name="clean" description="Clean up all build and distribution artifacts.">
        <delete dir="${build.dir}" />
        <delete dir="${dist.dir}" />
    </target>
    <!-- Targets -->
    <target name="get-target-ip">
        <property name="ant.enable.asserts" value="true" />
        <property name="target" value="roboRIO-${team-number}.local" />
        <echo>Trying Target: ${target}</echo>
        <if>
            <isreachable host="${target}" timeout="5" />
            <then>
                <echo>roboRIO found via mDNS</echo>
            </then>
            <else>
                <var name="target" unset="true" />
                <echo> roboRIO not found via mDNS, falling back to static USB</echo>
                <property name="target" value="172.22.11.2" />
                <if>
                    <isreachable host="${target}" timeout="5" />
                    <then>
                        <echo>roboRIO found via static USB</echo>
                    </then>
                    <else>
                        <var name="target" unset="true" />
                        <math result="ip.upper" operand1="${team-number}" operation="/" operand2="100" datatype="int" />
                        <math result="ip.lower" operand1="${team-number}" operation="%" operand2="100" datatype="int" />
                        <property name="target" value="10.${ip.upper}.${ip.lower}.2" />
                        <echo>roboRIO not found via USB, falling back to static address of ${target}</echo>
                        <assert name="roboRIOFound" message="roboRIO not found, please check that the roboRIO is connected, imaged and that the team number is set properly in Eclipse">
                            <bool>
                                <isreachable host="${target}" timeout="5" />
                            </bool>
                        </assert>
                        <echo>roboRIO found via Ethernet static</echo>
                    </else>
                </if>
            </else>
        </if>
    </target>
    <target name="compile" description="Compile the source code.">
        <mkdir dir="${build.dir}" />
        <echo>[athena-compile] Compiling ${src.dir} with classpath=${classpath} to ${build.dir}</echo>
        <javac destdir="${build.dir}" includeAntRuntime="no" includeJavaRuntime="no" classpath="${classpath}" target="${ant.java.version}" source="${ant.java.version}" compiler="javac${ant.java.version}" debug="true">
			<src path="${src.dir}" />
			<src path="lib/ButtonManager/src" />
			<include name="**/*.java" />
		</javac>
    </target>
{'fraction_non_alphanumeric': 0.16098992218395203, 'fraction_numerical': 0.007654037504783774, 'mean_word_length': 2.111111111111111, 'pattern_counts': {'":': 0, '<': 160, '<?xml version=': 2, '>': 160, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, 'pii_count': 2, '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': '2784567', 'n_tokens_mistral': 2198, 'n_tokens_neox': 2115, 'n_words': 559}