<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="report.file" value="test/tools/br/report.xml" />
	<property name="git.project" value="Tangram-base" />
	<property name="git.user" value="" />
	<path id="ext.classpath">
		<fileset dir="test/tools/lib">
			<include name="**/*.jar" />
		</fileset>
	</path>

	<!--为hudson做的扩展，用于支持多用户运行环境，会直接提取当前项目的父目录名称作为user-->
	<taskdef name="gitext" classname="com.baidu.tangram.GitExt" classpathref="ext.classpath" />

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

	<target name="execute" depends="init">
		<get src="http://${serverip}/${git.user}/${git.project}/test/tools/br/runall.php&amp;ci=true" dest="/tmp/${git.user}_${git.project}.php" />
	</target>
	<target name="getreport" depends="execute">
		<waitfor maxwait="300" maxwaitunit="second">
			<available file="${report.file}" />
		</waitfor>
	</target>
</project><commit_msg>update for ci<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="report.file" value="test/tools/br/report.xml" />
	<property name="git.project" value="Tangram-base" />
	<property name="git.user" value="" />
	<path id="ext.classpath">
		<fileset dir="test/tools/lib">
			<include name="**/*.jar" />
		</fileset>
	</path>

	<!--为hudson做的扩展，用于支持多用户运行环境，会直接提取当前项目的父目录名称作为user-->
	<taskdef name="gitext" classname="com.baidu.tangram.GitExt" classpathref="ext.classpath" />

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

	<target name="execute" depends="init">
		<get src="http://${serverip}/${git.user}/${git.project}/test/tools/br/runall.php?ci=true" dest="/tmp/${git.user}_${git.project}.php" />
	</target>
	<target name="getreport" depends="execute">
		<waitfor maxwait="300" maxwaitunit="second">
			<available file="${report.file}" />
		</waitfor>
	</target>
</project>
{'fraction_non_alphanumeric': 0.23060884070058382, 'fraction_numerical': 0.026688907422852376, 'mean_word_length': 4.295805739514349, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '76714', 'n_tokens_mistral': 1004, 'n_tokens_neox': 923, 'n_words': 127}