<commit_before>$directoryRoot = $args[0]
$directoryPath = $directoryRoot + "Build\job"

Write-Host $directoryRoot
Write-Host $directoryPath

New-Item -ItemType Directory -Force -Path $directoryPath

$dllPath = $directoryRoot + "King.Azure.Imaging.WebJob\bin\Release\*.dll"
$exePath = $directoryRoot + "King.Azure.Imaging.WebJob\bin\Release\*.exe"
$configPath = $directoryRoot + "King.Azure.Imaging.WebJob\bin\Release\*.config"

Write-Host $dllPath
Write-Host $exePath
Write-Host $configPath

Copy-Item $dllPath $directoryPath
Copy-Item $exePath $directoryPath
Copy-Item $configPath $directoryPath

$zipPath = $directoryRoot + "Build\King.Azure.Imaging.zip"

Write-Host $zipPath

If (Test-Path $zipPath){
	Remove-Item $zipPath
}

Add-Type -A System.IO.Compression.FileSystem
[IO.Compression.ZipFile]::CreateFromDirectory($directorypath, $zipPath)<commit_msg>clean output<commit_after>$directoryRoot = $args[0]
$directoryPath = $directoryRoot + "Build\job"
<#
Write-Host $directoryRoot
Write-Host $directoryPath
#>
New-Item -ItemType Directory -Force -Path $directoryPath

$dllPath = $directoryRoot + "King.Azure.Imaging.WebJob\bin\Release\*.dll"
$exePath = $directoryRoot + "King.Azure.Imaging.WebJob\bin\Release\*.exe"
$configPath = $directoryRoot + "King.Azure.Imaging.WebJob\bin\Release\*.config"
<#
Write-Host $dllPath
Write-Host $exePath
Write-Host $configPath
#>
Copy-Item $dllPath $directoryPath
Copy-Item $exePath $directoryPath
Copy-Item $configPath $directoryPath

$zipPath = $directoryRoot + "Build\King.Azure.Imaging.zip"
<#
Write-Host $zipPath
#>
If (Test-Path $zipPath){
	Remove-Item $zipPath
}

Add-Type -A System.IO.Compression.FileSystem
[IO.Compression.ZipFile]::CreateFromDirectory($directorypath, $zipPath)
{'fraction_non_alphanumeric': 0.1426086956521739, 'fraction_numerical': 0.0011594202898550724, 'mean_word_length': 5.959677419354839, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '991590', 'n_tokens_mistral': 606, 'n_tokens_neox': 582, 'n_words': 108}