<commit_before>param(
    [ValidateSet('Build', 'Pack', 'Clean')]
    [string]$Target = 'Build',
    [ValidatePattern("\d+\.\d+\.\d+(-\w*)?")]
    [string]$Version = "1.4.0"
)


$BuildConfig = 'Release'
#$year = Get-Date -Format "yyyy"

$SolutionPath = Resolve-path Build.proj
$out = Join-Path (Resolve-Path .) bin

#region functions

function Get-MsBuild
{
    $msbuilds = @('14.0', '12.0', '4.0')

    foreach($ver in $msbuilds)
    {
        $r = ('HKLM:\SOFTWARE\Microsoft\MSBuild\ToolsVersions\{0}' -f $ver)
        if(Test-Path $r)
        {
            $p = $r | Get-ItemProperty -Name 'MSBuildToolsPath' | Select-Object -ExpandProperty 'MSBuildToolsPath'
            return "$p\msbuild.exe"
        }
    }
<commit_msg>Version bump to 1.5.0<commit_after>param(
    [ValidateSet('Build', 'Pack', 'Clean')]
    [string]$Target = 'Build',
    [ValidatePattern("\d+\.\d+\.\d+(-\w*)?")]
    [string]$Version = "1.5.0"
)


$BuildConfig = 'Release'
#$year = Get-Date -Format "yyyy"

$SolutionPath = Resolve-path Build.proj
$out = Join-Path (Resolve-Path .) bin

#region functions

function Get-MsBuild
{
    $msbuilds = @('14.0', '12.0', '4.0')

    foreach($ver in $msbuilds)
    {
        $r = ('HKLM:\SOFTWARE\Microsoft\MSBuild\ToolsVersions\{0}' -f $ver)
        if(Test-Path $r)
        {
            $p = $r | Get-ItemProperty -Name 'MSBuildToolsPath' | Select-Object -ExpandProperty 'MSBuildToolsPath'
            return "$p\msbuild.exe"
        }
    }

{'fraction_non_alphanumeric': 0.19425444596443228, 'fraction_numerical': 0.018467852257181942, 'mean_word_length': 2.6758793969849246, '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': '1000359', 'n_tokens_mistral': 553, 'n_tokens_neox': 537, 'n_words': 101}