<commit_before><!--
***********************************************************************************************
xUnit.targets

Provides unit test build functionality using xunit.
***********************************************************************************************
-->

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

	<PropertyGroup>
		<xUnitVersion Condition=" $(xUnitVersion) == '' ">2.0.0-rc1-build2826</xUnitVersion>
		<xUnitRunnerAssembly Condition=" $(xUnitRunnerAssembly) == '' ">$(PackagesDir)\xunit.runners.$(xUnitVersion)\tools\xunit.runner.msbuild.dll</xUnitRunnerAssembly>
		<!-- Use msbuild ... /p:xUnitVerbose=true for Verbose test output-->
		<!-- Use msbuild ... /p:ContinueOnxUnitFailures=true to continue the build even when tests fail. -->
		<xUnitVerbose Condition=" $(XUnitVerbose) == '' ">False</xUnitVerbose>
		<ContinueOnxUnitFailures Condition=" $(ContinueOnxUnitFailures) == '' ">False</ContinueOnxUnitFailures>
	</PropertyGroup>

	<UsingTask AssemblyFile="$(xUnitRunnerAssembly)"
			TaskName="Xunit.Runner.MSBuild.xunit" />
	
	<!-- msbuild /t:Test [/p:xUnitVerbose][/p:ContinueOnxUnitFailures]
	
	Runs all tests in the current target assembly.
	-->
	<Target Name="Test">
		<PropertyGroup>
			<xUnit1Lib>$(TargetDir)\xunit.dll</xUnit1Lib>
			<xUnit2Lib>$(TargetDir)\xunit.abstractions.dll</xUnit2Lib>
		</PropertyGroup>
		
		<!-- Run build if $(TargetPath) doesn't exist; if it does exist, don't rebuild automatically.
		In other words, tests are re-run on old builds. If you want a build, specify both targets, eg msbuild /t:build,test
		-->
		<CallTarget Targets="build" Condition=" !Exists($(TargetPath)) " />
		
		<!-- After a build, xunit.dll must be in the TargetDir.  If not, tests can't be run. -->
		<Error Condition=" !Exists($(xUnit1Lib)) And !Exists($(xUnit2Lib)) " Text="Unit tests cannot be run without a NuGet dependency on xUnit1 or xUnit2." />

		<!-- It seems that *.xunit config files are not currently used by the MSBuild task
		<ItemGroup>
			<XUnitConfigFile Include="$(MSBuildProjectDirectory)*.xunit" />
		</ItemGroup> -->

		<xunit Assembly="$(TargetPath)" Verbose="$(xUnitVerbose)" ContinueOnError="$(ContinueOnxUnitFailures)" />

	</Target>

</Project><commit_msg>Fix xunit/msbuild build error.<commit_after><!--
***********************************************************************************************
xUnit.targets

Provides unit test build functionality using xunit.
***********************************************************************************************
-->

<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

	<PropertyGroup>
		<xUnitVersion Condition=" $(xUnitVersion) == '' ">2.0.0-rc1-build2826</xUnitVersion>
		<xUnitRunnerAssembly Condition=" $(xUnitRunnerAssembly) == '' ">$(PackagesDir)\xunit.runners.$(xUnitVersion)\tools\xunit.runner.msbuild.dll</xUnitRunnerAssembly>
		<!-- Use msbuild ... /p:xUnitVerbose=true for Verbose test output-->
		<!-- Use msbuild ... /p:ContinueOnxUnitFailures=true to continue the build even when tests fail. -->
		<xUnitVerbose Condition=" $(XUnitVerbose) == '' ">False</xUnitVerbose>
		<ContinueOnxUnitFailures Condition=" $(ContinueOnxUnitFailures) == '' ">False</ContinueOnxUnitFailures>
	</PropertyGroup>

	<UsingTask AssemblyFile="$(xUnitRunnerAssembly)"
			TaskName="Xunit.Runner.MSBuild.xunit" />
	
	<!-- msbuild /t:Test [/p:xUnitVerbose][/p:ContinueOnxUnitFailures]
	
	Runs all tests in the current target assembly.
	-->
	<Target Name="Test">
		<PropertyGroup>
			<xUnit1Lib>$(TargetDir)\xunit.dll</xUnit1Lib>
			<xUnit2Lib>$(TargetDir)\xunit.abstractions.dll</xUnit2Lib>
		</PropertyGroup>
		
		<!-- Run build if $(TargetPath) doesn't exist; if it does exist, don't rebuild automatically.
		In other words, tests are re-run on old builds. If you want a build, specify both targets, eg msbuild /t:build,test
		-->
		<CallTarget Targets="build" Condition=" !Exists($(TargetPath)) " />
		
		<!-- After a build, xunit.dll must be in the TargetDir.  If not, tests can't be run. -->
		<Error Condition=" !Exists($(xUnit1Lib)) And !Exists($(xUnit2Lib)) " Text="Unit tests cannot be run without a NuGet dependency on xUnit1 or xUnit2." />

		<!-- It seems that *.xunit config files are not currently used by the MSBuild task
		<ItemGroup>
			<XUnitConfigFile Include="$(MSBuildProjectDirectory)*.xunit" />
		</ItemGroup> -->

		<xunit Assemblies="$(TargetPath)" Verbose="$(xUnitVerbose)" ContinueOnError="$(ContinueOnxUnitFailures)" />

	</Target>

</Project>
{'fraction_non_alphanumeric': 0.22728268009634334, 'fraction_numerical': 0.00963433326034596, 'mean_word_length': 5.223433242506812, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '5960688', 'n_tokens_mistral': 1519, 'n_tokens_neox': 1332, 'n_words': 328}