<commit_before>{
  "$schema": "https://ryancrawcour.blob.core.windows.net/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "databaseAccountName": {
      "type": "string",
      "metadata": {
        "description": "The DocumentDB database account name."
      }
    },
    "consistencyLevel": {
      "type": "string",
      "allowedValues": [
        "Eventual",
        "Strong",
        "Session",
        "BoundedStaleness"
      ],
      "defaultValue": "Session",
      "metadata": {
        "description": "The DocumentDB deault consistency level for this account."
      }
    },
    "maxStalenessPrefix": {
      "type": "int",
      "minValue": 10,
      "maxValue": 1000,
      "defaultValue": null,
      "metadata": {
        "description": "When consistencyLevel is set to BoundedStaleness, then this value is required, else it can be ignored."
      }
    },
    "maxIntervalInSeconds": {
      "type": "int",
      "minValue": 5,
      "maxValue": 600,
      "defaultValue": null,
      "metadata": {
        "description": "When consistencyLevel is set to BoundedStaleness, then this value is required, else it can be ignored."
      }
    }
  },
  "variables": {
    "offerType": "Standard"
  },
  "resources": [
    {
      "apiVersion": "2015-04-08",
      "type": "Microsoft.DocumentDB/databaseAccounts",
      "name": "[parameters('databaseAccountName')]",
      "location": "[resourceGroup().location]",
      "properties": {
        "name": "[parameters('databaseAccountName')]",
        "databaseAccountOfferType": "[variables('offerType')]",
        "consistencyPolicy": {
          "defaultConsistencyLevel": "[parameters('consistencyLevel')]",
          "maxStalenessPrefix": [ "parameters('maxStalenessPrefix')" ],
          "maxIntervalInSeconds": [ "parameters('maxIntervalInSeconds')" ]
        }
      }
    }
  ]
}<commit_msg>fixed bug in the parameters for consistency policy<commit_after>{
  "$schema": "https://ryancrawcour.blob.core.windows.net/schemas/2015-01-01/deploymentTemplate.json#",
  "contentVersion": "1.0.0.0",
  "parameters": {
    "databaseAccountName": {
      "type": "string",
      "metadata": {
        "description": "The DocumentDB database account name."
      }
    },
    "consistencyLevel": {
      "type": "string",
      "allowedValues": [
        "Eventual",
        "Strong",
        "Session",
        "BoundedStaleness"
      ],
      "defaultValue": "Session",
      "metadata": {
        "description": "The DocumentDB deault consistency level for this account."
      }
    },
    "maxStalenessPrefix": {
      "type": "int",
      "minValue": 10,
      "maxValue": 1000,
      "defaultValue": null,
      "metadata": {
        "description": "When consistencyLevel is set to BoundedStaleness, then this value is required, else it can be ignored."
      }
    },
    "maxIntervalInSeconds": {
      "type": "int",
      "minValue": 5,
      "maxValue": 600,
      "defaultValue": null,
      "metadata": {
        "description": "When consistencyLevel is set to BoundedStaleness, then this value is required, else it can be ignored."
      }
    }
  },
  "variables": {
    "offerType": "Standard"
  },
  "resources": [
    {
      "apiVersion": "2015-04-08",
      "type": "Microsoft.DocumentDB/databaseAccounts",
      "name": "[parameters('databaseAccountName')]",
      "location": "[resourceGroup().location]",
      "properties": {
        "name": "[parameters('databaseAccountName')]",
        "databaseAccountOfferType": "[variables('offerType')]",
        "consistencyPolicy": {
          "defaultConsistencyLevel": "[parameters('consistencyLevel')]",
          "maxStalenessPrefix": "[parameters('maxStalenessPrefix')]",
          "maxIntervalInSeconds": "[parameters('maxIntervalInSeconds')]"
        }
      }
    }
  ]
}
{'fraction_non_alphanumeric': 0.16031128404669262, 'fraction_numerical': 0.01556420233463035, 'mean_word_length': 2.6934865900383143, 'pattern_counts': {'":': 82, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '3864703', 'n_tokens_mistral': 1181, 'n_tokens_neox': 1122, 'n_words': 235}