<commit_before>@echo off

echo x64-debug
msbuild /nologo /verbosity:quiet /p:Configuration=debug /p:Platform=x64 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" goto fail

echo x64-release
msbuild /nologo /verbosity:quiet /p:Configuration=release /p:Platform=x64 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" goto fail

echo x86-debug
msbuild /nologo /verbosity:quiet /p:Configuration=debug /p:Platform=x86 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" goto fail

echo x86-release
msbuild /nologo /verbosity:quiet /p:Configuration=release /p:Platform=x86 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" goto fail

exit /b 0

:fail
    echo FAILED!
    exit /b 1<commit_msg>Modify build_all_configs.cmd to not early-out on failure<commit_after>@echo off
setlocal

set /a errorcount=0

echo x64-debug
msbuild /nologo /verbosity:quiet /p:Configuration=debug /p:Platform=x64 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" set /a errorcount=%errorcount% + 1

echo x64-release
msbuild /nologo /verbosity:quiet /p:Configuration=release /p:Platform=x64 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" set /a errorcount=%errorcount% + 1

echo x86-debug
msbuild /nologo /verbosity:quiet /p:Configuration=debug /p:Platform=x86 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" set /a errorcount=%errorcount% + 1

echo x86-release
msbuild /nologo /verbosity:quiet /p:Configuration=release /p:Platform=x86 "%~dp0..\source\PresentMon.sln"
if not "%errorlevel%"=="0" set /a errorcount=%errorcount% + 1

echo.
if %errorcount% GTR 0 (
    echo %errorcount% configs failed!
    exit /b 1
)

echo All configs passed!
exit /b 0
{'fraction_non_alphanumeric': 0.15589804386484885, 'fraction_numerical': 0.03438055720213397, 'mean_word_length': 5.0285714285714285, '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': '4201936', 'n_tokens_mistral': 666, 'n_tokens_neox': 618, 'n_words': 153}