<commit_before>{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
        "storageAccountPrefix": {
            "type": "string",
            "metadata": {
                "description": "Storage account naming prefix"
            }
        },
        "storageAccountType": {
            "type": "string",
            "defaultValue": "Standard_LRS",
            "allowedValues": [
                "Standard_LRS",
                "Standard_GRS"
            ],
            "metadata": {
                "description": "Storage account type"
            }
        },
        "fileShareName": {
            "type": "string",
            "defaultValue": "sftpfileshare",
            "metadata": {
                "description": "Name of file share to be created"
            }
        },
        "sftpUser": {
            "type": "string",
            "defaultValue": "sftp",
            "metadata": {
                "description": "Username to use for SFTP access"
            }
        },
        "sftpPassword": {
            "type": "securestring",
            "metadata": {
                "description": "Password to use for SFTP access"
            }
        }
    },
    "variables": {
        "cliContainerName": "create-share",
        "cliContainerGroupName": "create-share-group",
        "cliContainerImage": "microsoft/azure-cli:latest",
        "sftpContainerName": "sftp",
        "sftpContainerGroupName": "sftp-group",
        "sftpContainerImage": "atmoz/sftp:latest",
        "sftpEnvVariable": "[concat(parameters('sftpUser'), ':', parameters('sftpPassword'), ':1001')]",
        "storageAccountName": "[concat(parameters('storageAccountPrefix'), uniqueString(resourceGroup().id))]"
    },
    "resources": [
        {
            "type": "Microsoft.Resources/deployments",
            "name": "18f281fe-d1e1-502c-8b87-d945383dc75b",
            "apiVersion": "2015-01-01",
            "properties": {
                "mode": "Incremental",
                "template": {
                    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
                    "contentVersion": "1.0.0.0",
                    "resources": []
                }
            }
        },
        {
            "type": "Microsoft.Resources/deployments",
            "name": "create-share-deployment",
            "apiVersion": "2015-01-01",
            "properties": {
                "mode": "Incremental",
                "templateLink": {
                    "uri": "[uri(deployment().properties.templateLink.uri), 'nested/createFileShare.json')]",
                    "contentVersion": "1.0.0.0"
                },
                "parameters": {
                    "storageAccountName": {
                        "value": "[variables('storageAccountName')]"
                    },
                    "storageAccountType": {
                        "value": "[parameters('storageAccountType')]"
                    },
                    "fileShareName": {
                        "value": "[parameters('fileShareName')]"
                    }
                }
            }
        },
        {
            "type": "Microsoft.ContainerInstance/containerGroups",
            "name": "[variables('sftpContainerGroupName')]",
            "apiVersion": "2018-04-01",<commit_msg>fixed reference to nested template<commit_after>{
    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
    "contentVersion": "1.0.0.0",
    "parameters": {
        "storageAccountPrefix": {
            "type": "string",
            "metadata": {
                "description": "Storage account naming prefix"
            }
        },
        "storageAccountType": {
            "type": "string",
            "defaultValue": "Standard_LRS",
            "allowedValues": [
                "Standard_LRS",
                "Standard_GRS"
            ],
            "metadata": {
                "description": "Storage account type"
            }
        },
        "fileShareName": {
            "type": "string",
            "defaultValue": "sftpfileshare",
            "metadata": {
                "description": "Name of file share to be created"
            }
        },
        "sftpUser": {
            "type": "string",
            "defaultValue": "sftp",
            "metadata": {
                "description": "Username to use for SFTP access"
            }
        },
        "sftpPassword": {
            "type": "securestring",
            "metadata": {
                "description": "Password to use for SFTP access"
            }
        }
    },
    "variables": {
        "cliContainerName": "create-share",
        "cliContainerGroupName": "create-share-group",
        "cliContainerImage": "microsoft/azure-cli:latest",
        "sftpContainerName": "sftp",
        "sftpContainerGroupName": "sftp-group",
        "sftpContainerImage": "atmoz/sftp:latest",
        "sftpEnvVariable": "[concat(parameters('sftpUser'), ':', parameters('sftpPassword'), ':1001')]",
        "storageAccountName": "[concat(parameters('storageAccountPrefix'), uniqueString(resourceGroup().id))]"
    },
    "resources": [
        {
            "type": "Microsoft.Resources/deployments",
            "name": "18f281fe-d1e1-502c-8b87-d945383dc75b",
            "apiVersion": "2015-01-01",
            "properties": {
                "mode": "Incremental",
                "template": {
                    "$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
                    "contentVersion": "1.0.0.0",
                    "resources": []
                }
            }
        },
        {
            "type": "Microsoft.Resources/deployments",
            "name": "create-share-deployment",
            "apiVersion": "2015-01-01",
            "properties": {
                "mode": "Incremental",
                "templateLink": {
                    "uri": "[uri(deployment().properties.templateLink.uri), 'nestedtemplates/createFileShare.json')]",
                    "contentVersion": "1.0.0.0"
                },
                "parameters": {
                    "storageAccountName": {
                        "value": "[variables('storageAccountName')]"
                    },
                    "storageAccountType": {
                        "value": "[parameters('storageAccountType')]"
                    },
                    "fileShareName": {
                        "value": "[parameters('fileShareName')]"
                    }
                }
            }
        },
        {
            "type": "Microsoft.ContainerInstance/containerGroups",
            "name": "[variables('sftpContainerGroupName')]",
            "apiVersion": "2018-04-01",
{'fraction_non_alphanumeric': 0.1494186046511628, 'fraction_numerical': 0.022383720930232557, 'mean_word_length': 1.4814280562567617, 'pattern_counts': {'":': 128, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '5545238', 'n_tokens_mistral': 1926, 'n_tokens_neox': 1743, 'n_words': 269}