<commit_before>@setlocal
@ECHO off

set PROJ_NAME=ServerHost

SET CMDHOME=%~dp0.
if "%FrameworkDir%" == "" set FrameworkDir=%WINDIR%\Microsoft.NET\Framework
if "%FrameworkVersion%" == "" set FrameworkVersion=v4.0.30319

SET MSBUILDEXEDIR=%FrameworkDir%\%FrameworkVersion%
SET MSBUILDEXE=%MSBUILDEXEDIR%\MSBuild.exe

if "%builduri%" == "" set builduri=Build.cmd

SET BinariesDir=%CMDHOME%\Binaries

set PROJ=%CMDHOME%\%PROJ_NAME%.sln

@echo ===== Building %PROJ% =====

@echo Restore NuGet packages ===================

nuget restore


@echo Build Debug ==============================

SET CONFIGURATION=Debug
SET OutDir=%BinariesDir%\%CONFIGURATION%

SET STEP=%CONFIGURATION%

"%MSBUILDEXE%" /p:Configuration=%CONFIGURATION% "%PROJ%"
@if ERRORLEVEL 1 GOTO :ErrorStop
@echo BUILD ok for %CONFIGURATION% %PROJ%

@echo Build Release ============================

SET CONFIGURATION=Release
SET OutDir=%BinariesDir%\%CONFIGURATION%

SET STEP=%CONFIGURATION%

"%MSBUILDEXE%" /p:Configuration=%CONFIGURATION% "%PROJ%"
@if ERRORLEVEL 1 GOTO :ErrorStop
@echo BUILD ok for %CONFIGURATION% %PROJ%

@echo Build NuGet Package ======================

SET STEP=NuGet

nuget pack %PROJ_NAME%.nuspec

@if ERRORLEVEL 1 GOTO :ErrorStop
@echo Nuget Pack ok

@echo ===== Build succeeded for %PROJ% =====
@GOTO :EOF

:ErrorStop
set RC=%ERRORLEVEL%
if "%STEP%" == "" set STEP=%CONFIGURATION%
@echo ===== Build FAILED for %PROJ% -- %STEP% with error %RC% - CANNOT CONTINUE =====
exit /B %RC%
:EOF<commit_msg>Turn off NuGet pack step in Appveyer build.<commit_after>@setlocal
@ECHO off

set PROJ_NAME=ServerHost

SET CMDHOME=%~dp0.
if "%FrameworkDir%" == "" set FrameworkDir=%WINDIR%\Microsoft.NET\Framework
if "%FrameworkVersion%" == "" set FrameworkVersion=v4.0.30319

SET MSBUILDEXEDIR=%FrameworkDir%\%FrameworkVersion%
SET MSBUILDEXE=%MSBUILDEXEDIR%\MSBuild.exe

if "%builduri%" == "" set builduri=Build.cmd

SET BinariesDir=%CMDHOME%\Binaries

set PROJ=%CMDHOME%\%PROJ_NAME%.sln

@echo ===== Building %PROJ% =====

@echo Restore NuGet packages ===================

nuget restore


@echo Build Debug ==============================

SET CONFIGURATION=Debug
SET OutDir=%BinariesDir%\%CONFIGURATION%

SET STEP=%CONFIGURATION%

"%MSBUILDEXE%" /p:Configuration=%CONFIGURATION% "%PROJ%"
@if ERRORLEVEL 1 GOTO :ErrorStop
@echo BUILD ok for %CONFIGURATION% %PROJ%

@echo Build Release ============================

SET CONFIGURATION=Release
SET OutDir=%BinariesDir%\%CONFIGURATION%

SET STEP=%CONFIGURATION%

"%MSBUILDEXE%" /p:Configuration=%CONFIGURATION% "%PROJ%"
@if ERRORLEVEL 1 GOTO :ErrorStop
@echo BUILD ok for %CONFIGURATION% %PROJ%

@echo NuGet Package ============================

SET STEP=NuGet

if "%APPVEYOR%" == "True" (
    @echo == Skipping NuGet pack in Appveyor build
) else if "%Configuration%" == "Release" (

  nuget pack %PROJ_NAME%.nuspec

  @if ERRORLEVEL 1 GOTO :ErrorStop
  @echo Nuget Pack ok
)

@echo ======= Build succeeded for %PROJ% =======
@GOTO :EOF

:ErrorStop
set RC=%ERRORLEVEL%
if "%STEP%" == "" set STEP=%CONFIGURATION%
@echo ===== Build FAILED for %PROJ% -- %STEP% with error %RC% - CANNOT CONTINUE =====
exit /B %RC%
:EOF
{'fraction_non_alphanumeric': 0.2049154165336738, 'fraction_numerical': 0.007022023619533993, 'mean_word_length': 6.322429906542056, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2663500', 'n_tokens_mistral': 1138, 'n_tokens_neox': 1073, 'n_words': 279}