<commit_before>function Assert-ScriptBlockParametersEqual {
    param (
        [ScriptBlock]$x,
        [ScriptBlock]$y,
        [Switch]$AssertNamesMatch
    )

    if($x -eq $null -or $y -eq $null) {
        throw (New-Object ParametersNotEquivalentException('X or Y is Null'))
    }

    $xParams = @(?: {$x.Ast.ParamBlock -ne $null} {$x.Ast.ParamBlock.Parameters} {})
    $yParams = @(?: {$y.Ast.ParamBlock -ne $null} {$y.Ast.ParamBlock.Parameters} {})
    if($xParams.Count -ne $yParams.Count) {
        throw (New-Object ParametersNotEquivalentException(('Param count mismatch. x: {0} y: {1}' -f $xParams.Count, $yParams.Count)))
    }

    for($i = 0; $i -lt $xParams.Count; $i++) {<commit_msg>resolves #3<commit_after>function Assert-ScriptBlockParametersEqual {
    param (
        [ScriptBlock]$x,
        [ScriptBlock]$y,
        [Switch]$AssertNamesMatch,
        [Switch]$Strict
    )

    if($x -eq $null -or $y -eq $null) {
        throw (New-Object ParametersNotEquivalentException('X or Y is Null'))
    }

    $xParams = @(?: {$x.Ast.ParamBlock -ne $null} {$x.Ast.ParamBlock.Parameters} {})
    $yParams = @(?: {$y.Ast.ParamBlock -ne $null} {$y.Ast.ParamBlock.Parameters} {})
    if($Strict -and $xParams.Count -ne $yParams.Count) {
        throw (New-Object ParametersNotEquivalentException(('Param count mismatch. x: {0} y: {1}' -f $xParams.Count, $yParams.Count)))
    }

    for($i = 0; $i -lt $xParams.Count; $i++) {
{'fraction_non_alphanumeric': 0.17847222222222223, 'fraction_numerical': 0.004861111111111111, 'mean_word_length': 3.047752808988764, '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': '521216', 'n_tokens_mistral': 503, 'n_tokens_neox': 488, 'n_words': 106}