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

  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

    <AppName Condition=" '$(AppName)'=='' ">.</AppName>
    <PathAdditions Condition=" '$(PathAdditions)'!='' ">$([MSBuild]::Unescape($(PathAdditions))</PathAdditions>

    <InputPath Condition=" '$(InputPath)'=='' ">..\..\..\..</InputPath>

    <OutputPath Condition=" '$(OutDir)'!='' ">$(OutDir)$(AppName)</OutputPath>
    <OutputPath Condition=" '$(OutputPath)'=='' ">dist</OutputPath>

    <TmpOutputPath Condition=" '$(TmpOutputPath)'=='' ">tmp</TmpOutputPath>

    <IsogeoMSBuildTasksPath>$(MSBuildThisFileDirectory)</IsogeoMSBuildTasksPath>
  </PropertyGroup>
  <Import Project="$(IsogeoMSBuildTasksPath)Isogeo.Build.Tasks.targets" />

  <Target Name="Rebuild" DependsOnTargets="Clean;Build" />



  <Target Name="InstallNpmPackages">
    <NodePackageManager Action="Install" WorkingDirectory="$(InputPath)" />

    <Copy
      SourceFiles="$(InputPath)\packages.json"
      DestinationFiles="$(InputPath)\$(TmpOutputPath)\packages.json"
      OverwriteReadOnlyFiles="true"
    />
    <NodePackageManager Action="Dedupe" WorkingDirectory="$(InputPath)" FailOnError="False" />
    <NodeJs
      Arguments="$(APPDATA)/npm/node_modules/npm-flatten/lib/index.js"
      WorkingDirectory="$(InputPath)"
      PathAdditions="$(PathAdditions)"
      FailOnError="False"
     />
    <Copy
      SourceFiles="$(InputPath)\$(TmpOutputPath)\packages.json"
      DestinationFiles="$(InputPath)\packages.json"
      OverwriteReadOnlyFiles="true"
    />
  </Target>



  <!-- Cleans the project -->
  <Target Name="Clean" DependsOnTargets="BeforeClean;CoreClean;AfterClean" />
  <Target Name="CoreClean">
    <NodeJs
      Arguments="$(APPDATA)/npm/node_modules/grunt-cli/bin/grunt --no-color --dest=&quot;$(OutputPath)&quot; clean:complete"
      WorkingDirectory="$(InputPath)"
      PathAdditions="$(PathAdditions)"
     />
  </Target>

  <Target Name="BeforeClean" />
  <Target Name="AfterClean" />



  <!-- Builds the project -->
  <Target
    Name="Build"
    DependsOnTargets="BeforeBuild;CoreBuild;AfterBuild"
  />
  <Target Name="CoreBuild">
    <PropertyGroup>
      <BuildTargets Condition=" '$(BuildType)' == 'Nightly' Or '$(BuildType)' == 'Release' ">release</BuildTargets>
      <BuildTargets Condition=" '$(BuildTargets)' == '' ">build</BuildTargets>
    </PropertyGroup>

    <SetEnvironmentVariable
      Condition="'$(RUBY_BIN)'!=''"
      Variable="PATH"
      Value="$(RUBY_BIN);$(PATH)"
    />
    <NodeJs
      Arguments="$(APPDATA)/npm/node_modules/grunt-cli/bin/grunt --no-color --dest=&quot;$(OutputPath)&quot; $(BuildTargets)"
      WorkingDirectory="$(InputPath)"
      PathAdditions="$(PathAdditions)"
     />
  </Target>

  <Target Name="BeforeBuild" />
  <Target Name="AfterBuild" />
</Project>
<commit_msg>Fix package.json file name<commit_after>﻿<?xml version="1.0" encoding="utf-8" ?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" DefaultTargets="Build" ToolsVersion="4.0">

  <PropertyGroup>
    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>

    <AppName Condition=" '$(AppName)'=='' ">.</AppName>
    <PathAdditions Condition=" '$(PathAdditions)'!='' ">$([MSBuild]::Unescape($(PathAdditions))</PathAdditions>

    <InputPath Condition=" '$(InputPath)'=='' ">..\..\..\..</InputPath>

    <OutputPath Condition=" '$(OutDir)'!='' ">$(OutDir)$(AppName)</OutputPath>
    <OutputPath Condition=" '$(OutputPath)'=='' ">dist</OutputPath>

    <TmpOutputPath Condition=" '$(TmpOutputPath)'=='' ">tmp</TmpOutputPath>

    <IsogeoMSBuildTasksPath>$(MSBuildThisFileDirectory)</IsogeoMSBuildTasksPath>
  </PropertyGroup>
  <Import Project="$(IsogeoMSBuildTasksPath)Isogeo.Build.Tasks.targets" />

  <Target Name="Rebuild" DependsOnTargets="Clean;Build" />



  <Target Name="InstallNpmPackages">
    <NodePackageManager Action="Install" WorkingDirectory="$(InputPath)" />

    <Copy
      Condition="Exists('$(InputPath)\package.json')"
      SourceFiles="$(InputPath)\package.json"
      DestinationFiles="$(InputPath)\$(TmpOutputPath)\package.json"
      OverwriteReadOnlyFiles="true"
    />
    <NodePackageManager Action="Dedupe" WorkingDirectory="$(InputPath)" FailOnError="False" />
    <NodeJs
      Arguments="$(APPDATA)/npm/node_modules/npm-flatten/lib/index.js"
      WorkingDirectory="$(InputPath)"
      PathAdditions="$(PathAdditions)"
      FailOnError="False"
     />
    <Copy
      Condition="Exists('$(InputPath)\$(TmpOutputPath)\package.json')"
      SourceFiles="$(InputPath)\$(TmpOutputPath)\package.json"
      DestinationFiles="$(InputPath)\package.json"
      OverwriteReadOnlyFiles="true"
    />
  </Target>



  <!-- Cleans the project -->
  <Target Name="Clean" DependsOnTargets="BeforeClean;CoreClean;AfterClean" />
  <Target Name="CoreClean">
    <NodeJs
      Arguments="$(APPDATA)/npm/node_modules/grunt-cli/bin/grunt --no-color --dest=&quot;$(OutputPath)&quot; clean:complete"
      WorkingDirectory="$(InputPath)"
      PathAdditions="$(PathAdditions)"
     />
  </Target>

  <Target Name="BeforeClean" />
  <Target Name="AfterClean" />



  <!-- Builds the project -->
  <Target
    Name="Build"
    DependsOnTargets="BeforeBuild;CoreBuild;AfterBuild"
  />
  <Target Name="CoreBuild">
    <PropertyGroup>
      <BuildTargets Condition=" '$(BuildType)' == 'Nightly' Or '$(BuildType)' == 'Release' ">release</BuildTargets>
      <BuildTargets Condition=" '$(BuildTargets)' == '' ">build</BuildTargets>
    </PropertyGroup>

    <SetEnvironmentVariable
      Condition="'$(RUBY_BIN)'!=''"
      Variable="PATH"
      Value="$(RUBY_BIN);$(PATH)"
    />
    <NodeJs
      Arguments="$(APPDATA)/npm/node_modules/grunt-cli/bin/grunt --no-color --dest=&quot;$(OutputPath)&quot; $(BuildTargets)"
      WorkingDirectory="$(InputPath)"
      PathAdditions="$(PathAdditions)"
     />
  </Target>

  <Target Name="BeforeBuild" />
  <Target Name="AfterBuild" />
</Project>

{'fraction_non_alphanumeric': 0.19402746726285533, 'fraction_numerical': 0.0028744809964867456, 'mean_word_length': 4.493859649122807, 'pattern_counts': {'":': 0, '<': 109, '<?xml version=': 2, '>': 109, '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': '339621', 'n_tokens_mistral': 2038, 'n_tokens_neox': 1893, 'n_words': 263}