<commit_before>@REM Copyright 2012-2013 <NAME>
@REM 
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM 
@REM     http://www.apache.org/licenses/LICENSE-2.0
@REM 
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@REM See the License for the specific language governing permissions and
@REM limitations under the License.


@ECHO OFF
SETLOCAL


REM Set environment variables
SET PSAKE_VERSION=4.1.0


REM Check for PoSh v2 (or greater)
IF NOT EXIST %WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe (
	SET EXITCODE=1
	GOTO NO_POSH_V2
)
Powershell ^
if ($Host.Version.Major -lt 2) ^
{ ^
  Exit 1; ^
} ^
Exit 0;
SET EXITCODE=%ERRORLEVEL%
IF %EXITCODE% GTR 0 (
	GOTO NO_POSH_V2
)


REM Run psake
PUSHD %~dp0
Powershell -Version 2.0 ^
$CurrentExecutionPolicy = Get-ExecutionPolicy -Scope CurrentUser; ^
if ($CurrentExecutionPolicy -gt [Microsoft.PowerShell.ExecutionPolicy]::RemoteSigned) ^
{ ^
  Set-ExecutionPolicy -Scope CurrentUser RemoteSigned; ^
} ^
Import-Module "%~dp0Psake\%PSAKE_VERSION%\psake.psm1"; ^
Invoke-psake -buildFile "%~dp0build.ps1" %*; ^
$ReturnCode = 1; ^
if ($Psake.Build_Success -eq $True) ^
{ ^
  $ReturnCode = 0; ^
} ^
Remove-Module -Name psake; ^
if ($CurrentExecutionPolicy -gt [Microsoft.PowerShell.ExecutionPolicy]::RemoteSigned) ^<commit_msg>Added quotes around paths in embedded powershell commands<commit_after>@REM Copyright 2012-2013 <NAME>
@REM 
@REM Licensed under the Apache License, Version 2.0 (the "License");
@REM you may not use this file except in compliance with the License.
@REM You may obtain a copy of the License at
@REM 
@REM     http://www.apache.org/licenses/LICENSE-2.0
@REM 
@REM Unless required by applicable law or agreed to in writing, software
@REM distributed under the License is distributed on an "AS IS" BASIS,
@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@REM See the License for the specific language governing permissions and
@REM limitations under the License.


@ECHO OFF
SETLOCAL


REM Set environment variables
SET PSAKE_VERSION=4.1.0


REM Check for PoSh v2 (or greater)
IF NOT EXIST %WINDIR%\System32\WindowsPowerShell\v1.0\powershell.exe (
	SET EXITCODE=1
	GOTO NO_POSH_V2
)
Powershell ^
if ($Host.Version.Major -lt 2) ^
{ ^
  Exit 1; ^
} ^
Exit 0;
SET EXITCODE=%ERRORLEVEL%
IF %EXITCODE% GTR 0 (
	GOTO NO_POSH_V2
)


REM Run psake
PUSHD %~dp0
Powershell -Version 2.0 ^
$CurrentExecutionPolicy = Get-ExecutionPolicy -Scope CurrentUser; ^
if ($CurrentExecutionPolicy -gt [Microsoft.PowerShell.ExecutionPolicy]::RemoteSigned) ^
{ ^
  Set-ExecutionPolicy -Scope CurrentUser RemoteSigned; ^
} ^
Import-Module """%~dp0Psake\%PSAKE_VERSION%\psake.psm1"""; ^
Invoke-psake -buildFile """%~dp0build.ps1""" %*; ^
$ReturnCode = 1; ^
if ($Psake.Build_Success -eq $True) ^
{ ^
  $ReturnCode = 0; ^
} ^
Remove-Module -Name psake; ^
if ($CurrentExecutionPolicy -gt [Microsoft.PowerShell.ExecutionPolicy]::RemoteSigned) ^
{'fraction_non_alphanumeric': 0.10732009925558313, 'fraction_numerical': 0.022332506203473945, 'mean_word_length': 4.6978798586572434, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6367572', 'n_tokens_mistral': 1138, 'n_tokens_neox': 1045, 'n_words': 357}