<commit_before># Downloads the Visual Studio Online Build Agent, installs on the new machine, registers with the Visual
# Studio Online account, and adds to the specified build agent pool

[CmdletBinding()]
Param(
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $vstsAccount,
    
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $vstsUserPassword,
    
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $agentName,
    
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $poolname,

    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $windowsLogonAccount,

    [Parameter(Mandatory=$true)]
    [AllowEmptyString()]
    $windowsLogonPassword,
    
    [Parameter(Mandatory=$true)]
    [ValidatePattern("[c-zC-Z]")]
    [ValidateLength(1, 1)]
    $driveLetter,
    
    [Parameter(Mandatory=$true)]
    [AllowEmptyString()]
    $workDirectory
)
<commit_msg>Fix for validation error on driveLetter<commit_after># Downloads the Visual Studio Online Build Agent, installs on the new machine, registers with the Visual
# Studio Online account, and adds to the specified build agent pool

[CmdletBinding()]
Param(
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $vstsAccount,
    
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $vstsUserPassword,
    
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $agentName,
    
    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $poolname,

    [Parameter(Mandatory=$true)]
    [ValidateNotNullOrEmpty()]
    $windowsLogonAccount,

    [Parameter(Mandatory=$true)]
    [AllowEmptyString()]
    $windowsLogonPassword,
    
    [Parameter(Mandatory=$true)]
    [ValidatePattern("[c-zC-Z]")]
    [ValidateLength(1, 1)]
    [String]$driveLetter,
    
    [Parameter(Mandatory=$true)]
    [AllowEmptyString()]
    $workDirectory
)

{'fraction_non_alphanumeric': 0.12551867219917012, 'fraction_numerical': 0.002074688796680498, 'mean_word_length': 4.049738219895288, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7657006', 'n_tokens_mistral': 590, 'n_tokens_neox': 612, 'n_words': 117}