<commit_before># Stop script execution when a non-terminating error occurs
$ErrorActionPreference = "Stop"

$S3_SECRETS_HELPER_VERSION = "2.1.1"

Write-Output "Downloading s3-secrets-helper v${S3_SECRETS_HELPER_VERSION}..."
Invoke-WebRequest -OutFile C:\buildkite-agent\bin\s3secrets-helper.exe -Uri "https://github.com/buildkite/elastic-ci-stack-s3-secrets-hooks/releases/download/v${S3_SECRETS_HELPER_VERSION}/s3secrets-helper-windows-amd64"
s3-secrets-helper.exe
If ($lastexitcode -ne 0) { Exit $lastexitcode }
<commit_msg>Put this in the right place<commit_after># Stop script execution when a non-terminating error occurs
$ErrorActionPreference = "Stop"

$S3_SECRETS_HELPER_VERSION = "2.1.1"

Write-Output "Downloading s3-secrets-helper v${S3_SECRETS_HELPER_VERSION}..."
Invoke-WebRequest -OutFile C:\buildkite-agent\bin\s3secrets-helper.exe -Uri "https://github.com/buildkite/elastic-ci-stack-s3-secrets-hooks/releases/download/v${S3_SECRETS_HELPER_VERSION}/s3secrets-helper-windows-amd64"
s3secrets-helper.exe
If ($lastexitcode -ne 0) { Exit $lastexitcode }

{'fraction_non_alphanumeric': 0.12863849765258217, 'fraction_numerical': 0.02629107981220657, 'mean_word_length': 5.967320261437909, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6340093', 'n_tokens_mistral': 427, 'n_tokens_neox': 396, 'n_words': 63}