<commit_before>[CmdletBinding(DefaultParameterSetName = 'None')]
param
(
    [String] [Parameter(Mandatory = $true)]
    $ConnectedServiceName,

    [String] [Parameter(Mandatory = $true)]
    $ScriptPath,

    [String] [Parameter(Mandatory = $false)]
    $ScriptArguments
)

Write-Verbose "Entering script RunAzurePowerShell.ps1"

#ENSURE: We pass arguments verbatim on the command line to the custom script
Write-Verbose "ScriptArguments= " $ScriptArguments
Write-Verbose "ScriptPath= " $ScriptPath

$scriptCommand = "& `"$ScriptPath`" $scriptArguments"
Write-Verbose "scriptCommand=" $scriptCommand
Invoke-Expression -Command $scriptCommand

Write-Verbose "Leaving script RunAzurePowerShell.ps1"<commit_msg>Fixed (cosmetic) bug writing verbose output.<commit_after>[CmdletBinding(DefaultParameterSetName = 'None')]
param
(
    [String] [Parameter(Mandatory = $true)]
    $ConnectedServiceName,

    [String] [Parameter(Mandatory = $true)]
    $ScriptPath,

    [String] [Parameter(Mandatory = $false)]
    $ScriptArguments
)

Write-Verbose "Entering script RunAzurePowerShell.ps1"

#ENSURE: We pass arguments verbatim on the command line to the custom script
Write-Verbose "ScriptArguments= $ScriptArguments"
Write-Verbose "ScriptPath= $ScriptPath"

$scriptCommand = "& `"$ScriptPath`" $scriptArguments"
Write-Verbose "scriptCommand= $scriptCommand"
Invoke-Expression -Command $scriptCommand

Write-Verbose "Leaving script RunAzurePowerShell.ps1"
{'fraction_non_alphanumeric': 0.11249137336093858, 'fraction_numerical': 0.0027605244996549345, 'mean_word_length': 6.142857142857143, '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': '3215484', 'n_tokens_mistral': 455, 'n_tokens_neox': 446, 'n_words': 106}