<commit_before>﻿param(
    [hashtable] $parameters = @{},
    [hashtable] $properties = @{}
)

$currentDirectory = Split-Path -Path $MyInvocation.MyCommand.Path
$psakePath = [System.IO.Path]::Combine($currentDirectory, "..\", ".Tools\PSake\psake.psm1")

Import-Module ($psakePath)
Try
{
    Invoke-Psake ($currentDirectory + '\Build.ps1') -properties $properties -parameters $parameters

    if ($psake.build_success -eq $false)
    {
        Write-Host "Build failed" -fore Red
        exit 1
    }
    else
    {
        Write-Host "Build succeeded" -fore Green
        exit 0
    }
}<commit_msg>Improve run build script [skip ci]<commit_after>﻿param(
    [string[]]$taskList = @(),
    [System.Collections.Hashtable]$parameters = @{},
    [System.Collections.Hashtable]$properties = @{}
)

$currentDirectory = Split-Path -Path $MyInvocation.MyCommand.Path
$psakePath = [System.IO.Path]::Combine($currentDirectory, "..\", ".Tools\PSake\psake.psm1")

Import-Module ($psakePath)
Try
{
    Invoke-Psake ($currentDirectory + '\Build.ps1') -taskList $taskList -properties $properties -parameters $parameters

    if ($psake.build_success -eq $false)
    {
        Write-Host "Build failed" -fore Red
        exit 1
    }
    else
    {
        Write-Host "Build succeeded" -fore Green
        exit 0
    }
}
{'fraction_non_alphanumeric': 0.15030674846625766, 'fraction_numerical': 0.006134969325153374, 'mean_word_length': 3.078125, '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': '5788204', 'n_tokens_mistral': 432, 'n_tokens_neox': 419, 'n_words': 88}