<commit_before>if "%APPVEYOR_REPO_TAG%" == "true" (
  if "%APPVEYOR_REPO_TAG_NAME%" == "prod" (  
    echo "Deploying to Production";
    powershell ./src/arm/Deploy-AzureResourceGroup.ps1 -ResourceGroupName "%AZ_RG_PROD%" -ResourceGroupLocation "%AZ_LOCATION%" -OtherParams @{ resourcePrefix = "%AZ_RG_PROD%"; branch = "%PROD_BRANCH_NAME%"; includeSourceControlDeployment = "no" } -UploadArtifacts -StorageAccountName "%AZ_ARM_STORAGE_ACCOUNT_NAME%"
    git checkout .;
    git checkout %PROD_BRANCH_NAME%;
    git merge master;
    git push origin %PROD_BRANCH_NAME%;
    powershell ./src/arm/Update-VersionSetting.ps1 -ResourceGroupName "%AZ_RG_PROD%" -AppServiceName "%AZ_RG_PROD%-APP" -VersionNumber "%VERSION%%APPVEYOR_BUILD_NUMBER%"
  )
) else (
  if "%APPVEYOR_REPO_TAG%" == "false" ( 
    echo "Deploying to Dev";
    powershell ./src/arm/Deploy-AzureResourceGroup.ps1 -ResourceGroupName "%AZ_RG_DEV%" -ResourceGroupLocation "%AZ_LOCATION%" -OtherParams @{ resourcePrefix = "%AZ_RG_DEV%"; branch = "%DEV_BRANCH_NAME%"; includeSourceControlDeployment = "no" } -UploadArtifacts -StorageAccountName "%AZ_ARM_STORAGE_ACCOUNT_NAME%";
    git checkout .;
    git checkout %DEV_BRANCH_NAME%;
    git merge master;
    git push origin %DEV_BRANCH_NAME%;
    powershell ./src/arm/Update-VersionSetting.ps1 -ResourceGroupName "%AZ_RG_DEV%" -AppServiceName "%AZ_RG_DEV%-APP" -VersionNumber "%VERSION%%APPVEYOR_BUILD_NUMBER%"
  ) else ( 
    echo "Non-Prod tagged commit, skipping deployment.";
  )
)<commit_msg>Attempt to fix script errors<commit_after>if "%APPVEYOR_REPO_TAG%" == "true" (
  if "%APPVEYOR_REPO_TAG_NAME%" == "prod" (  
    echo "Deploying to Production";
    powershell "./src/arm/Deploy-AzureResourceGroup.ps1 -ResourceGroupName '%AZ_RG_PROD%' -ResourceGroupLocation '%AZ_LOCATION%' -OtherParams @{ resourcePrefix = '%AZ_RG_PROD%'; branch = '%PROD_BRANCH_NAME%'; includeSourceControlDeployment = 'no' } -UploadArtifacts -StorageAccountName '%AZ_ARM_STORAGE_ACCOUNT_NAME%'"
    git checkout .;
    git checkout %PROD_BRANCH_NAME%;
    git merge master;
    git push origin %PROD_BRANCH_NAME%;
    powershell "./src/arm/Update-VersionSetting.ps1 -ResourceGroupName '%AZ_RG_PROD%' -AppServiceName '%AZ_RG_PROD%-APP' -VersionNumber '%VERSION%%APPVEYOR_BUILD_NUMBER%'
  )
) else (
  if "%APPVEYOR_REPO_TAG%" == "false" ( 
    echo "Deploying to Dev";
    powershell "./src/arm/Deploy-AzureResourceGroup.ps1 -ResourceGroupName '%AZ_RG_DEV%' -ResourceGroupLocation '%AZ_LOCATION%' -OtherParams @{ resourcePrefix = '%AZ_RG_DEV%'; branch = '%DEV_BRANCH_NAME%'; includeSourceControlDeployment = 'no' } -UploadArtifacts -StorageAccountName '%AZ_ARM_STORAGE_ACCOUNT_NAME%'
    git checkout .;
    git checkout %DEV_BRANCH_NAME%;
    git merge master;
    git push origin %DEV_BRANCH_NAME%;
    powershell "./src/arm/Update-VersionSetting.ps1 -ResourceGroupName '%AZ_RG_DEV%' -AppServiceName '%AZ_RG_DEV%-APP' -VersionNumber '%VERSION%%APPVEYOR_BUILD_NUMBER%'
  ) else ( 
    echo "Non-Prod tagged commit, skipping deployment.";
  )
)
{'fraction_non_alphanumeric': 0.1317089232795522, 'fraction_numerical': 0.0026341784655910436, 'mean_word_length': 5.238193018480493, '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': '4581880', 'n_tokens_mistral': 1088, 'n_tokens_neox': 1036, 'n_words': 198}