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

  <Target Name="GenerateRefitStubs" BeforeTargets="Build"> 
    <PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
      <RefitExecCmd>"$(MSBuildThisFileDirectory)..\..\tools\InterfaceStubGenerator.exe" "$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs" "$(ProjectDir)$(ProjectFileName)" "@(Compile)"</RefitExecCmd>
    </PropertyGroup>

    <PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
      <RefitExecCmd>mono "$(MSBuildThisFileDirectory)../../tools/InterfaceStubGenerator.exe" "$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs" "$(ProjectDir)$(ProjectFileName)" "@(Compile)"</RefitExecCmd>
    </PropertyGroup>
    
    <Exec Command="$(RefitExecCmd)" />
    <Message Text="Processed Refit Stubs" />   
   
  </Target>
  
   <ItemGroup Condition="Exists('$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs')">
      <Compile Include="$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs" />
    </ItemGroup>
</Project>
<commit_msg>Ensure targets is always run prior to compile<commit_after><?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

  <Target Name="GenerateRefitStubs"> 
    <PropertyGroup Condition="'$(OS)' == 'Windows_NT'">
      <RefitExecCmd>"$(MSBuildThisFileDirectory)..\..\tools\InterfaceStubGenerator.exe" "$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs" "$(ProjectDir)$(ProjectFileName)" "@(Compile)"</RefitExecCmd>
    </PropertyGroup>

    <PropertyGroup Condition="'$(OS)' != 'Windows_NT'">
      <RefitExecCmd>mono "$(MSBuildThisFileDirectory)../../tools/InterfaceStubGenerator.exe" "$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs" "$(ProjectDir)$(ProjectFileName)" "@(Compile)"</RefitExecCmd>
    </PropertyGroup>
    
    <Exec Command="$(RefitExecCmd)" />
    <Message Text="Processed Refit Stubs" />   
   
  </Target>
  
   <ItemGroup Condition="Exists('$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs')">
      <Compile Include="$(ProjectDir)$(IntermediateOutputPath)\RefitStubs.g.cs" />
    </ItemGroup>
    
    <!--The following property group adds our custom pre-target to CoreCompileDependsOn to ensure it is called before CoreCompile -->
    <PropertyGroup>
      <CoreCompileDependsOn>
          $(CoreCompileDependsOn);
          GenerateRefitStubs
      </CoreCompileDependsOn>
    </PropertyGroup>
</Project>

{'fraction_non_alphanumeric': 0.17724970783015193, 'fraction_numerical': 0.007012076353720296, 'mean_word_length': 5.187951807228916, 'pattern_counts': {'":': 0, '<': 44, '<?xml version=': 2, '>': 44, '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': '1752053', 'n_tokens_mistral': 834, 'n_tokens_neox': 757, 'n_words': 109}