<commit_before><project name="selenium" default="all">
	<target name="generate-sources">
    	<ant dir=".." target="extract-xml"/>
    	<xslt in="../iedoc.xml" out="selenium.py" style="iedoc2python.xml"/>
    </target>
    <target name="pydoc" depends="generate-sources" unless="use.epydoc">
    	<property name="python.executable" value="python" />
    	
    	<exec executable="python" failonerror="true">
    		<arg value="-m" />
			<arg value="pydoc"/>
			<arg value="-w" />
			<arg value="selenium" />
		</exec>
		<mkdir dir="html"/>
		<move file="selenium.html" todir="html" />
    </target>
    <target name="epydoc" depends="generate-sources" if="use.epydoc">
    	<property name="python.executable" value="python" />
    	<condition property="epydoc.script" value="c:\python24\Scripts\epydoc.py">
			<os family="windows" />
		</condition>
		<property name="epydoc.script" value="epydoc" />
		<exec executable="python" failonerror="true">
			<arg file="${epydoc.script}"/>
			<arg value="selenium.py" />
		</exec>
    </target>
    <target name="doc" depends="pydoc,epydoc"/>
    <target name="all" depends="generate-sources, test, doc"/>
    <target name="test" depends="generate-sources">
    	<ant dir=".." target="start-server" />
        <!--  output="${tmp}/ruby_out.txt" -->
        <property name="python.executable" value="python" />
        <!--<fail message="autofail ${python.executable}" />-->
        <exec executable="${python.executable}" resultproperty="result">
            <arg line="selenium_example.py"/>
        </exec>
        <ant dir=".." target="stop-server" />
        <condition property="build.failed">
        	<not><equals arg1="0" arg2="${result}" /></not>
        </condition>
        <fail if="build.failed" message="python tests failed!" />
    </target>
    <target name="clean">
    	<delete>
    		<fileset dir="." includes="selenium.py" /><commit_msg>Making sure python executable is properly overrideable in doc target<commit_after><project name="selenium" default="all">
	<target name="generate-sources">
    	<ant dir=".." target="extract-xml"/>
    	<xslt in="../iedoc.xml" out="selenium.py" style="iedoc2python.xml"/>
    </target>
    <target name="pydoc" depends="generate-sources" unless="use.epydoc">
    	<property name="python.executable" value="python" />
    	
    	<exec executable="${python.executable}" failonerror="true">
    		<arg value="-m" />
			<arg value="pydoc"/>
			<arg value="-w" />
			<arg value="selenium" />
		</exec>
		<mkdir dir="html"/>
		<move file="selenium.html" todir="html" />
    </target>
    <target name="epydoc" depends="generate-sources" if="use.epydoc">
    	<property name="python.executable" value="python" />
    	<condition property="epydoc.script" value="c:\python24\Scripts\epydoc.py">
			<os family="windows" />
		</condition>
		<property name="epydoc.script" value="epydoc" />
		<exec executable="${python.executable}" failonerror="true">
			<arg file="${epydoc.script}"/>
			<arg value="selenium.py" />
		</exec>
    </target>
    <target name="doc" depends="pydoc,epydoc"/>
    <target name="all" depends="generate-sources, test, doc"/>
    <target name="test" depends="generate-sources">
    	<ant dir=".." target="start-server" />
        <!--  output="${tmp}/ruby_out.txt" -->
        <property name="python.executable" value="python" />
        <!--<fail message="autofail ${python.executable}" />-->
        <exec executable="${python.executable}" resultproperty="result">
            <arg line="selenium_example.py"/>
        </exec>
        <ant dir=".." target="stop-server" />
        <condition property="build.failed">
        	<not><equals arg1="0" arg2="${result}" /></not>
        </condition>
        <fail if="build.failed" message="python tests failed!" />
    </target>
    <target name="clean">
    	<delete>
    		<fileset dir="." includes="selenium.py" />
{'fraction_non_alphanumeric': 0.2047975238586536, 'fraction_numerical': 0.003095176683002321, 'mean_word_length': 3.3475336322869955, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 0, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 6}, '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': '6239974', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1235, 'n_words': 233}