<commit_before><?xml version="1.0" encoding="UTF-8"?>
<project name="project" default="getreport" basedir="../../">
	<!-- 配置信息 10.32.34.115:8000-->
	<property name="serverip" value="10.32.34.115:8000" />
	<property name="report.path" value="test/tools/br/report" />
	<property name="coverage.path" value="test/coverage" />
	<property name="report.file" value="test/tools/br/report.xml" />
	<property name="git.project" value="Magic" />
	<property name="git.user" value="" />

	<path id="ext.classpath">
		<fileset dir="test/tools/lib">
			<include name="**/*.jar" />
		</fileset>
	</path>

	<import file="build_report.xml" />

	<target name="init">
		<delete dir="${report.path}" />
		<delete file="${report.file}" />
	</target>

	<target name="coverage">
		<delete dir="${coverage.path}" />
		<exec executable="jscoverage">
			<arg value="--encoding=UTF-8" />
			<arg value="src" />
			<arg value="${coverage.path}" />
		</exec>
	</target>

	<target name="execute" depends="init,coverage">
		<get src="http://${serverip}/addTask?proj=${git.user}.${git.project}" dest="/tmp/${git.user}_${git.project}.html" />
	</target>
	<target name="getreport" depends="execute">
		<waitfor maxwait="600" maxwaitunit="second">
			<available file="${report.file}" />
		</waitfor>
		<echo>[report] : ${report.file}</echo>
		<!-- junit report and mail-->
		<antcall target="mail" />
		<!-- junit report and mail end -->
	</target>
	<target name="getreport_release" depends="execute">
		<waitfor maxwait="1000" maxwaitunit="second">
			<available file="${report.file}" />
		</waitfor>

		<!-- junit report and mail -->
		<antcall target="mail" />
		<!-- junit report and mail end -->
	</target>
</project><commit_msg>Update test/tools/build_run.xml<commit_after><?xml version="1.0" encoding="UTF-8"?>
<project name="project" default="getreport" basedir="../../">
	<!-- 配置信息 10.32.34.115:8000-->
	<property name="serverip" value="10.32.34.115:8000" />
	<property name="report.path" value="test/tools/br/report" />
	<property name="coverage.path" value="test/coverage" />
	<property name="report.file" value="test/tools/br/report.xml" />
	<property name="git.project" value="Magic" />
	<property name="git.user" value="" />

	<path id="ext.classpath">
		<fileset dir="test/tools/lib">
			<include name="**/*.jar" />
		</fileset>
	</path>

	<import file="build_report.xml" />

	<target name="init">
		<delete dir="${report.path}" />
		<delete file="${report.file}" />
	</target>

	<target name="coverage">
		<delete dir="${coverage.path}" />
		<exec executable="jscoverage">
			<arg value="--encoding=UTF-8" />
			<arg value="src" />
			<arg value="${coverage.path}" />
		</exec>
	</target>

	<target name="execute" depends="init,coverage">
		<get src="http://${serverip}/addTask?proj=${git.user}.${git.project}&amp;cov=true" dest="/tmp/${git.user}_${git.project}.html" />
	</target>
	<target name="getreport" depends="execute">
		<waitfor maxwait="600" maxwaitunit="second">
			<available file="${report.file}" />
		</waitfor>
		<echo>[report] : ${report.file}</echo>
		<!-- junit report and mail-->
		<antcall target="mail" />
		<!-- junit report and mail end -->
	</target>
	<target name="getreport_release" depends="execute">
		<waitfor maxwait="1000" maxwaitunit="second">
			<available file="${report.file}" />
		</waitfor>

		<!-- junit report and mail -->
		<antcall target="mail" />
		<!-- junit report and mail end -->
	</target>
</project>
{'fraction_non_alphanumeric': 0.23505395158938466, 'fraction_numerical': 0.0215806357538641, 'mean_word_length': 4.252679938744257, 'pattern_counts': {'":': 0, '<': 101, '<?xml version=': 2, '>': 101, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 7}, 'pii_count': 4, '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': '3362050', 'n_tokens_mistral': 1309, 'n_tokens_neox': 1184, 'n_words': 220}