<commit_before>﻿<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Description>The core data structures for .NET Portability Analyzer in Offline mode</Description>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Autofac" Version="4.6.2" />
  </ItemGroup>

  <PropertyGroup>
    <DataPath>$(OutputFullPath)\.data\</DataPath>
    <BreakingChangePath>$(OutputFullPath)\docs\BreakingChanges\</BreakingChangePath>
    <CatalogDataFile>$(DataPath)catalog.bin</CatalogDataFile>
  </PropertyGroup>

  <ItemGroup>
    <EmbeddedResource Include="$(CatalogDataFile)" Condition="Exists($(CatalogDataFile))">
      <Link>data\catalog.bin</Link>
    </EmbeddedResource>
    <EmbeddedResource Include="$(BreakingChangePath)*.md">
      <Link>data\%(Filename)%(Extension)</Link>
      <BreakingChange>true</BreakingChange>
    </EmbeddedResource>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\Microsoft.Fx.Portability.Reports.Json\Microsoft.Fx.Portability.Reports.Json.csproj" />
    <ProjectReference Include="..\Microsoft.Fx.Portability\Microsoft.Fx.Portability.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="Resources\LocalizedStrings.Designer.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>LocalizedStrings.resx</DependentUpon>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="Resources\LocalizedStrings.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>LocalizedStrings.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>

  <Target Name="DownloadContent" BeforeTargets="BeforeBuild">
    <Warning Text="Could not find catalog.bin. Please run init.ps1 to download the file" Condition="!Exists($(CatalogDataFile))" />
  </Target>

</Project><commit_msg>Added exceptions.bin as an embedded file so the loading format can match with the ApiCatalog<commit_after>﻿<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netstandard2.0</TargetFramework>
    <Description>The core data structures for .NET Portability Analyzer in Offline mode</Description>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Autofac" Version="4.6.2" />
  </ItemGroup>

  <PropertyGroup>
    <DataPath>$(OutputFullPath)\.data\</DataPath>
    <BreakingChangePath>$(OutputFullPath)\docs\BreakingChanges\</BreakingChangePath>
    <CatalogDataFile>$(DataPath)catalog.bin</CatalogDataFile>
	<ExceptionDataFile>$(DataPath)exceptions.bin</ExceptionDataFile>
  </PropertyGroup>

  <ItemGroup>
    <EmbeddedResource Include="$(CatalogDataFile)" Condition="Exists($(CatalogDataFile))">
      <Link>data\catalog.bin</Link>
    </EmbeddedResource>
    <EmbeddedResource Include="$(BreakingChangePath)*.md">
      <Link>data\%(Filename)%(Extension)</Link>
      <BreakingChange>true</BreakingChange>
    </EmbeddedResource>
	<EmbeddedResource Include="$(ExceptionDataFile)" Condition="Exists($(ExceptionDataFile))">
		<Link>data\exceptions.bin</Link>
	</EmbeddedResource>
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\Microsoft.Fx.Portability.Reports.Json\Microsoft.Fx.Portability.Reports.Json.csproj" />
    <ProjectReference Include="..\Microsoft.Fx.Portability\Microsoft.Fx.Portability.csproj" />
  </ItemGroup>

  <ItemGroup>
    <Compile Update="Resources\LocalizedStrings.Designer.cs">
      <DesignTime>True</DesignTime>
      <AutoGen>True</AutoGen>
      <DependentUpon>LocalizedStrings.resx</DependentUpon>
    </Compile>
  </ItemGroup>

  <ItemGroup>
    <EmbeddedResource Update="Resources\LocalizedStrings.resx">
      <Generator>ResXFileCodeGenerator</Generator>
      <LastGenOutput>LocalizedStrings.Designer.cs</LastGenOutput>
    </EmbeddedResource>
  </ItemGroup>

  <Target Name="DownloadContent" BeforeTargets="BeforeBuild">
    <Warning Text="Could not find catalog.bin. Please run init.ps1 to download the file" Condition="!Exists($(CatalogDataFile))" />
  </Target>

</Project>
{'fraction_non_alphanumeric': 0.14353116463868884, 'fraction_numerical': 0.0029798857710454435, 'mean_word_length': 5.0389805097451275, 'pattern_counts': {'":': 0, '<': 121, '<?xml version=': 0, '>': 121, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6964255', 'n_tokens_mistral': 1277, 'n_tokens_neox': 1193, 'n_words': 173}