<commit_before><?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <VersionSourceFile>$(IntermediateOutputPath)\$(AssemblyName).Version$(DefaultLanguageSourceExtension)</VersionSourceFile>

    <PrepareResourcesDependsOn>
      GenerateAssemblyInfo;
      $(PrepareResourcesDependsOn)
    </PrepareResourcesDependsOn>

    <CoreCompileDependsOn>
      GenerateAssemblyInfo;
      $(CoreCompileDependsOn)
    </CoreCompileDependsOn>

    <GitVersioningTxtFile Condition=" '$(GitVersioningTxtFile)' == '' and '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), version.txt))' != '' ">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), version.txt))\version.txt</GitVersioningTxtFile>
  </PropertyGroup>

  <UsingTask AssemblyFile="MSBuild.Community.Tasks.dll" TaskName="AssemblyInfo"/>
  <UsingTask AssemblyFile="$(NerdbankGitVersioningTasksPath)Nerdbank.GitVersioning.Tasks.dll" TaskName="GetBuildVersion"/>
  <UsingTask AssemblyFile="$(NerdbankGitVersioningTasksPath)Nerdbank.GitVersioning.Tasks.dll" TaskName="CompareFiles"/>

  <Target Name="GetBuildVersion" Returns="$(BuildVersion)">
    <Error Text="Unable to find version.txt file." Condition=" '$(GitVersioningTxtFile)' == '' " />
    <GetBuildVersion Condition=" '$(BuildVersion)' == '' "
                     VersionFile="$(GitVersioningTxtFile)"
                     GitRepoPath="$(MSBuildProjectDirectory)">
      <Output TaskParameter="Version" PropertyName="BuildVersion" />
      <Output TaskParameter="SimpleVersion" PropertyName="BuildVersionSimple" />
      <Output TaskParameter="PrereleaseVersion" PropertyName="PrereleaseVersion" Condition=" '$(PrereleaseVersion)' == '' " />
      <Output TaskParameter="MajorMinorVersion" PropertyName="MajorMinorVersion" />
      <Output TaskParameter="GitCommitId" PropertyName="GitCommitId" />
      <Output TaskParameter="GitHeight" PropertyName="GitHeight" />
      <Output TaskParameter="BuildNumber" PropertyName="BuildVersionNumberComponent" />
    </GetBuildVersion>
    <PropertyGroup>
      <BuildNumber Condition=" '$(BuildNumber)' == '' or '$(OverrideBuildNumber)' == 'true' ">$(BuildVersionNumberComponent)</BuildNumber><commit_msg>Removing the BuildNumber condition<commit_after><?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" ToolsVersion="4.0">
  <PropertyGroup>
    <VersionSourceFile>$(IntermediateOutputPath)\$(AssemblyName).Version$(DefaultLanguageSourceExtension)</VersionSourceFile>

    <PrepareResourcesDependsOn>
      GenerateAssemblyInfo;
      $(PrepareResourcesDependsOn)
    </PrepareResourcesDependsOn>

    <CoreCompileDependsOn>
      GenerateAssemblyInfo;
      $(CoreCompileDependsOn)
    </CoreCompileDependsOn>

    <GitVersioningTxtFile Condition=" '$(GitVersioningTxtFile)' == '' and '$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), version.txt))' != '' ">$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildProjectDirectory), version.txt))\version.txt</GitVersioningTxtFile>
  </PropertyGroup>

  <UsingTask AssemblyFile="MSBuild.Community.Tasks.dll" TaskName="AssemblyInfo"/>
  <UsingTask AssemblyFile="$(NerdbankGitVersioningTasksPath)Nerdbank.GitVersioning.Tasks.dll" TaskName="GetBuildVersion"/>
  <UsingTask AssemblyFile="$(NerdbankGitVersioningTasksPath)Nerdbank.GitVersioning.Tasks.dll" TaskName="CompareFiles"/>

  <Target Name="GetBuildVersion" Returns="$(BuildVersion)">
    <Error Text="Unable to find version.txt file." Condition=" '$(GitVersioningTxtFile)' == '' " />
    <GetBuildVersion Condition=" '$(BuildVersion)' == '' "
                     VersionFile="$(GitVersioningTxtFile)"
                     GitRepoPath="$(MSBuildProjectDirectory)">
      <Output TaskParameter="Version" PropertyName="BuildVersion" />
      <Output TaskParameter="SimpleVersion" PropertyName="BuildVersionSimple" />
      <Output TaskParameter="PrereleaseVersion" PropertyName="PrereleaseVersion" Condition=" '$(PrereleaseVersion)' == '' " />
      <Output TaskParameter="MajorMinorVersion" PropertyName="MajorMinorVersion" />
      <Output TaskParameter="GitCommitId" PropertyName="GitCommitId" />
      <Output TaskParameter="GitHeight" PropertyName="GitHeight" />
      <Output TaskParameter="BuildNumber" PropertyName="BuildVersionNumberComponent" />
    </GetBuildVersion>
    <PropertyGroup>
      <BuildNumber>$(BuildVersionNumberComponent)</BuildNumber>
{'fraction_non_alphanumeric': 0.14226216571679087, 'fraction_numerical': 0.00394563787812363, 'mean_word_length': 6.140845070422535, 'pattern_counts': {'":': 0, '<': 61, '<?xml version=': 2, '>': 61, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1116885', 'n_tokens_mistral': 1320, 'n_tokens_neox': 1220, 'n_words': 162}