<commit_before>{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/",
  "Parameters":{
    "DBName":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "Engine":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "MultiAZ":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "VPCID":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "MasterUsername":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "MasterUserPassword":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "DBInstanceClass":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "AllocatedStorage":{
      "Description" : "Boo",
      "Type" : "String"
    }
  },
  "Resources": {
    "DBSubnet1": {
      "Type": "AWS::EC2::Subnet",
      "Properties": {
        "CidrBlock": "10.0.1.0/24",
        "Tags": [
          {
            "Name": "DBSubnet1",
            "Type": "db",
            "Group": "ITSA",
            "Env": "TEST"
          }
        ],
        "VpcId": "VPCID"
      }
    },
    "DBSubnet2": {
      "Type": "AWS::EC2::Subnet",
      "Properties": {
        "CidrBlock": "10.0.2.0/24",
        "Tags": [
          {
            "Name": "DBSubnet2",
            "Type": "db",
            "Group": "ITSA",
            "Env": "TEST"
          }
        ],
        "VpcId": "VPCID"
      }
    },
    "DBSubnetGroup": {
      "Type": "AWS::RDS::DBSubnetGroup",
      "Properties": {
        "DBSubnetGroupDescription": "DB Subnet Group",
        "SubnetIds": [
          {
            "Ref": "DBSubnet1"
          },
          {
            "Ref": "DBSubnet2"
          }
        ],
        "Tags": [
          {
            "Name": "DBSubnetGroup",
            "Type": "db",
            "Group": "ITSA",
            "Env": "TEST"
          }
        ]
      }
    },
    "DBInstance": {
      "Type": "AWS::RDS::DBInstance",
      "Properties": {
        "DBName": {"Ref":"DBName"},
        "Engine": "postgres",
        "MultiAZ": "true",
        "MasterUsername": "DBUser",
        "MasterUserPassword": "<PASSWORD>",
        "DBInstanceClass": "db.m3.medium",
        "AllocatedStorage": "5",
        "DBSubnetGroupName": {
          "Ref": "DBSubnetGroup"
        },
        "VPCSecurityGroups": [
          "sg-vpc-ID"
        ],
        "Tags": [
          {
            "Role": "Primary",
            "Service": "MySvc",
            "Group": "ITSA",
            "Env": "TEST"
          }
        ]
      }
    },
    "DBReadReplica": {
      "Type": "AWS::RDS::DBInstance",
      "Properties": {
        "SourceDBInstanceIdentifier": {
          "Ref": "DBInstance"
        },
        "DBInstanceClass": "db.m3.medium",
        "Tags": [
          {
            "Role": "ReadReplica1",
            "Service": "MySvc",
            "Group": "ITSA",
            "Env": "TEST"
          }
        ]
      }
    }
  }
}<commit_msg>fixed tagging in template<commit_after>{
  "AWSTemplateFormatVersion": "2010-09-09",
  "Description": "CoreOS on EC2: http://coreos.com/docs/running-coreos/cloud-providers/ec2/",
  "Parameters":{
    "DBName":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "Engine":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "MultiAZ":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "VPCID":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "MasterUsername":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "MasterUserPassword":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "DBInstanceClass":{
      "Description" : "Boo",
      "Type" : "String"
    },
    "AllocatedStorage":{
      "Description" : "Boo",
      "Type" : "String"
    }
  },
  "Resources": {
    "DBSubnet1": {
      "Type": "AWS::EC2::Subnet",
      "Properties": {
        "CidrBlock": "10.0.1.0/24",
        "Tags": [
          {
              {"Key":"Name", "Value":"DBSubnet1"},
              {"Key":"Type", "Value":"db"},
              {"Key":"Group", "Value":"ITSA"},
              {"Key":"Env", "Value":"TEST"}
          }
        ],
        "VpcId": "VPCID"
      }
    },
    "DBSubnet2": {
      "Type": "AWS::EC2::Subnet",
      "Properties": {
        "CidrBlock": "10.0.2.0/24",
        "Tags": [
          {
              {"Key":"Name", "Value":"DBSubnet2"},
              {"Key":"Type", "Value":"db"},
              {"Key":"Group", "Value":"ITSA"},
              {"Key":"Env", "Value":"TEST"}
          }
        ],
        "VpcId": "VPCID"
      }
    },
    "DBSubnetGroup": {
      "Type": "AWS::RDS::DBSubnetGroup",
      "Properties": {
        "DBSubnetGroupDescription": "DB Subnet Group",
        "SubnetIds": [
          {
            "Ref": "DBSubnet1"
          },
          {
            "Ref": "DBSubnet2"
          }
        ],
        "Tags": [
          {
              {"Key":"Name", "Value":"DBSubnetGroup"},
              {"Key":"Type", "Value":"db"},
              {"Key":"Group", "Value":"ITSA"},
              {"Key":"Env", "Value":"TEST"}
          }
        ]
      }
    },
    "DBInstance": {
      "Type": "AWS::RDS::DBInstance",
      "Properties": {
        "DBName": {"Ref":"DBName"},
        "Engine": "postgres",
        "MultiAZ": "true",
        "MasterUsername": "DBUser",
        "MasterUserPassword": "<PASSWORD>",
        "DBInstanceClass": "db.m3.medium",
        "AllocatedStorage": "5",
        "DBSubnetGroupName": {
          "Ref": "DBSubnetGroup"
        },
        "VPCSecurityGroups": [
          "sg-vpc-ID"
        ],
        "Tags": [
          {
              {"Key":"Role", "Value":"Primary"},
              {"Key":"Service", "Value":"MySvc"},
              {"Key":"Group", "Value":"ITSA"},
              {"Key":"Env", "Value":"TEST"}
          }
        ]
      }
    },
    "DBReadReplica": {
      "Type": "AWS::RDS::DBInstance",
      "Properties": {
        "SourceDBInstanceIdentifier": {
          "Ref": "DBInstance"
        },
        "DBInstanceClass": "db.m3.medium",
        "Tags": [
          {
              {"Key":"Role", "Value":"ReadReplica1"},
              {"Key":"Service", "Value":"MySvc"},
              {"Key":"Group", "Value":"ITSA"},
              {"Key":"Env", "Value":"TEST"}
          }
        ]
      }
    }
  }
}
{'fraction_non_alphanumeric': 0.20714509558132246, 'fraction_numerical': 0.011281729865246004, 'mean_word_length': 1.5189423835832676, 'pattern_counts': {'":': 168, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '211480', 'n_tokens_mistral': 2165, 'n_tokens_neox': 2152, 'n_words': 315}