<commit_before><?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <!-- metadata used for Authenticode and strong-name signing in official VSO builds -->
  <ItemGroup>
    <FilesToSign Include="$(TargetPath)">
      <Authenticode>Microsoft</Authenticode>
      <StrongName Condition="'$(SkipSigning)' != 'true'">StrongName</StrongName>
    </FilesToSign>
  </ItemGroup>

  <UsingTask AssemblyFile="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll" TaskName="OpenSourceSign" />
  
  <PropertyGroup Condition="'$(SkipSigning)'!='true'">
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>$(ToolsDir)MSFT.snk</AssemblyOriginatorKeyFile>
    <DelaySign>true</DelaySign>
    <DefineConstants>$(DefineConstants);SIGNED</DefineConstants>
    <UseOpenSourceSign Condition="'$(UseOpenSourceSign)' == ''">true</UseOpenSourceSign>
  </PropertyGroup>
  
  <Target Name="OpenSourceSign" 
          AfterTargets="Compile"
          Condition="'$(DelaySign)' == 'true' and '@(IntermediateAssembly)' != '' and '$(SkipSigning)' != 'true' and '$(UseOpenSourceSign)' == 'true'"
          Inputs="@(IntermediateAssembly)"
          Outputs="%(IntermediateAssembly.Identity).oss_signed"
          >
    <OpenSourceSign AssemblyPath="%(IntermediateAssembly.Identity)" />
    <Touch Files="%(IntermediateAssembly.Identity).oss_signed" AlwaysCreate="true" />
    <ItemGroup>
       <FileWrites Include="%(IntermediateAssembly.Identity).oss_signed" />
    </ItemGroup>
  </Target>

</Project>
<commit_msg>Disable official signing for test projects.<commit_after><?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="12.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <!-- metadata used for Authenticode and strong-name signing in official VSO builds -->
  <ItemGroup Condition="'$(IsTestProject)' != 'True'">
    <FilesToSign Include="$(TargetPath)">
      <Authenticode>Microsoft</Authenticode>
      <StrongName Condition="'$(SkipSigning)' != 'true'">StrongName</StrongName>
    </FilesToSign>
  </ItemGroup>

  <UsingTask AssemblyFile="$(ToolsDir)Microsoft.DotNet.Build.Tasks.dll" TaskName="OpenSourceSign" />
  
  <PropertyGroup Condition="'$(SkipSigning)'!='true'">
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>$(ToolsDir)MSFT.snk</AssemblyOriginatorKeyFile>
    <DelaySign>true</DelaySign>
    <DefineConstants>$(DefineConstants);SIGNED</DefineConstants>
    <UseOpenSourceSign Condition="'$(UseOpenSourceSign)' == ''">true</UseOpenSourceSign>
  </PropertyGroup>
  
  <Target Name="OpenSourceSign" 
          AfterTargets="Compile"
          Condition="'$(DelaySign)' == 'true' and '@(IntermediateAssembly)' != '' and '$(SkipSigning)' != 'true' and '$(UseOpenSourceSign)' == 'true'"
          Inputs="@(IntermediateAssembly)"
          Outputs="%(IntermediateAssembly.Identity).oss_signed"
          >
    <OpenSourceSign AssemblyPath="%(IntermediateAssembly.Identity)" />
    <Touch Files="%(IntermediateAssembly.Identity).oss_signed" AlwaysCreate="true" />
    <ItemGroup>
       <FileWrites Include="%(IntermediateAssembly.Identity).oss_signed" />
    </ItemGroup>
  </Target>

</Project>

{'fraction_non_alphanumeric': 0.16754740441405036, 'fraction_numerical': 0.006216972334473112, 'mean_word_length': 5.02621722846442, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 2, '>': 67, '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': '6435326', 'n_tokens_mistral': 992, 'n_tokens_neox': 902, 'n_words': 137}