<commit_before>@echo off
setlocal

set ELECTRON_RUN_AS_NODE=1

pushd %~dp0\..

for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAMESHORT%"

rem TFS Builds
if not "%BUILD_BUILDID%" == "" (
	%CODE% .\node_modules\mocha\bin\_mocha %*
)

rem Otherwise
if "%BUILD_BUILDID%" == "" (
	%CODE% .\node_modules\mocha\bin\_mocha %* | .\resources\win32\bin\cat
)
popd

endlocal
exit /b %errorlevel%<commit_msg>force colors when running mocha tests on windows<commit_after>@echo off
setlocal

set ELECTRON_RUN_AS_NODE=1

pushd %~dp0\..

for /f "tokens=2 delims=:," %%a in ('findstr /R /C:"\"nameShort\":.*" product.json') do set NAMESHORT=%%~a
set NAMESHORT=%NAMESHORT: "=%
set NAMESHORT=%NAMESHORT:"=%.exe
set CODE=".build\electron\%NAMESHORT%"

rem TFS Builds
if not "%BUILD_BUILDID%" == "" (
	%CODE% .\node_modules\mocha\bin\_mocha %*
)

rem Otherwise
if "%BUILD_BUILDID%" == "" (
	%CODE% .\node_modules\mocha\bin\_mocha --colors %* | .\resources\win32\bin\cat
)
popd

endlocal
exit /b %errorlevel%
{'fraction_non_alphanumeric': 0.19190140845070422, 'fraction_numerical': 0.008802816901408451, 'mean_word_length': 4.656716417910448, 'pattern_counts': {'":': 2, '<': 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': '2592234', 'n_tokens_mistral': 489, 'n_tokens_neox': 456, 'n_words': 99}