<commit_before>[String]$File_x86 = "<%= @curl_build_path %>\*i686-curl*.xz"
[String]$File_x64 = "<%= @curl_build_path %>\*x86_64-curl*.xz"
[Int]$MaxRetries = 720

$Retries = 0
$Found = $false

Start-Process "c:\msys64\msys2_shell.cmd" "-mingw64 -where <%= @cache_dir %> -no-start -f curl-bash-builder.sh" -Wait -PassThru -NoNewWindow
Start-Sleep 5

while (-not $Found) {
  if (Test-Path -Path $File_x64) {
    $Found = $true
  }
  else {
    if ($Retries -ge $MaxRetries) {
      throw "Failed to detect curl x64 build completion!"
    }
    else {
      Start-Sleep 5
      $Retries++
    }
  }
}

$Retries = 0
$Found = $false

while (-not $Found) {
  if (Test-Path -Path $File_x86) {
    $Found = $true
  }
  else {
    if ($Retries -ge $MaxRetries) {
      throw "Failed to detect curl x86 build completion!"
    }
    else {
      Start-Sleep 5
      $Retries++
    }
  }
}

Start-Sleep 120<commit_msg>Remove post build pause on curl packages<commit_after>[String]$File_x86 = "<%= @curl_build_path %>\*i686-curl*.xz"
[String]$File_x64 = "<%= @curl_build_path %>\*x86_64-curl*.xz"
[Int]$MaxRetries = 720

$Retries = 0
$Found = $false

Start-Process "c:\msys64\msys2_shell.cmd" "-mingw64 -where <%= @cache_dir %> -no-start -f curl-bash-builder.sh" -Wait -PassThru -NoNewWindow
Start-Sleep 5

while (-not $Found) {
  if (Test-Path -Path $File_x64) {
    $Found = $true
  }
  else {
    if ($Retries -ge $MaxRetries) {
      throw "Failed to detect curl x64 build completion!"
    }
    else {
      Start-Sleep 5
      $Retries++
    }
  }
}

$Retries = 0
$Found = $false

while (-not $Found) {
  if (Test-Path -Path $File_x86) {
    $Found = $true
  }
  else {
    if ($Retries -ge $MaxRetries) {
      throw "Failed to detect curl x86 build completion!"
    }
    else {
      Start-Sleep 5
      $Retries++
    }
  }
}
{'fraction_non_alphanumeric': 0.16081229418221735, 'fraction_numerical': 0.03677277716794731, 'mean_word_length': 2.682828282828283, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '681411', 'n_tokens_mistral': 777, 'n_tokens_neox': 696, 'n_words': 169}