<commit_before>
# Versions
$duktape_version="1.4.0"

# Global variables
$current_directory = (Get-Location).ToString()

# Duktape download
$dependencies_folder_relative = "\dependencies"
$dependencies_folder = $current_directory + $dependencies_folder_relative

$duktape_archive_url = "https://github.com/svaarala/duktape-releases/archive/v" + $duktape_version + ".zip"
$duktape_archive_destination = $dependencies_folder + "\duktape-" + $duktape_version + ".zip"
$duktape_final_directory = dependencies_folder + "\duktape-" + $duktape_version
$duktape_intermediary_directory = dependencies_folder + "\duktape-releases-" + $duktape_version

Invoke-WebRequest $duktape_archive_url -OutFile $duktape_archive_destination
[System.Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem')
if (Test-Path $duktape_final_directory) {
    Remove-Item $duktape_final_directory -Force -Recurse
}
[System.IO.Compression.ZipFile]::ExtractToDirectory(duktape_archive_destination, $dependencies_folder)
Move-Item $duktape_intermediary_directory $duktape_final_directory
Remove-Item $duktape_archive_destination -Force<commit_msg>Added missing $ in fetch_dependencies.ps1<commit_after>
# Versions
$duktape_version="1.4.0"

# Global variables
$current_directory = (Get-Location).ToString()

# Duktape download
$dependencies_folder_relative = "\dependencies"
$dependencies_folder = $current_directory + $dependencies_folder_relative

$duktape_archive_url = "https://github.com/svaarala/duktape-releases/archive/v" + $duktape_version + ".zip"
$duktape_archive_destination = $dependencies_folder + "\duktape-" + $duktape_version + ".zip"
$duktape_final_directory = dependencies_folder + "\duktape-" + $duktape_version
$duktape_intermediary_directory = dependencies_folder + "\duktape-releases-" + $duktape_version

Invoke-WebRequest $duktape_archive_url -OutFile $duktape_archive_destination
[System.Reflection.Assembly]::LoadWithPartialName('System.IO.Compression.FileSystem')
if (Test-Path $duktape_final_directory) {
    Remove-Item $duktape_final_directory -Force -Recurse
}
[System.IO.Compression.ZipFile]::ExtractToDirectory($duktape_archive_destination, $dependencies_folder)
Move-Item $duktape_intermediary_directory $duktape_final_directory
Remove-Item $duktape_archive_destination -Force
{'fraction_non_alphanumeric': 0.1110143665650849, 'fraction_numerical': 0.0030474531998258597, 'mean_word_length': 8.418032786885245, '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': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7301783', 'n_tokens_mistral': 763, 'n_tokens_neox': 777, 'n_words': 104}