<commit_before>AWSTemplateFormatVersion: "2010-09-09"
Description: "Small Test App Example Template"
Parameters:
  vpcID:
    Description: "VPC ID"
    Type: "AWS::EC2::VPC::Id"
  subnetID:
    Description: "VPC Subnet IDs"
    Type: "AWS::EC2::Subnet::Id"
  appVersion:
    Description: "Application version"
    Type: "String"
  updateQueueUrl:
    Description: "SQS Queue URL"
    Type: "String"
Resources:
  jobQueue:
    Type: "AWS::SQS::Queue"
  secGroup:
    Type: "AWS::EC2::SecurityGroup"
    Properties:
      GroupDescription: "Test Group"
      VpcId:
        Ref:
          vpcID
  WebServerInstance:
    Type: "AWS::EC2::Instance"
    Properties:
      ImageId: "ami-6e7bd919"
      SecurityGroupIds:
        - "|ref|secGroup"
      SubnetId: "|ref|subnetID"
      InstanceType: "t2.micro"
      "@TaupageUserData@":
        application_id: "|REF|AWS::StackName"
        application_version: "|Ref|appVersion"
        environment:
          JOB_QUEUE: "|ref|jobQueue"
          UPDATE_QUEUE: "|ref|updateQueueUrl"
<commit_msg>fix example template<commit_after>AWSTemplateFormatVersion: "2010-09-09"
Description: "Small Test App Example Template"
Parameters:
  vpcID:
    Description: "VPC ID"
    Type: "AWS::EC2::VPC::Id"
  subnetID:
    Description: "VPC Subnet IDs"
    Type: "AWS::EC2::Subnet::Id"
  appVersion:
    Description: "Application version"
    Type: "String"
  updateQueueUrl:
    Description: "SQS Queue URL"
    Type: "String"
Resources:
  jobQueue:
    Type: "AWS::SQS::Queue"
  secGroup:
    Type: "AWS::EC2::SecurityGroup"
    Properties:
      GroupDescription: "Test Group"
      VpcId:
        Ref: vpcID
  WebServerInstance:
    Type: "AWS::EC2::Instance"
    Properties:
      ImageId: "ami-6e7bd919"
      SecurityGroupIds:
        - "Fn::GetAtt":
            - secGroup
            - GroupId
      SubnetId:
        Ref: subnetID
      InstanceType: "t2.micro"
      "@TaupageUserData@":
        application_id: "|REF|AWS::StackName"
        application_version: "|Ref|appVersion"
        environment:
          JOB_QUEUE: "|ref|jobQueue"
          UPDATE_QUEUE: "|ref|updateQueueUrl"

{'fraction_non_alphanumeric': 0.12323612417685795, 'fraction_numerical': 0.016933207902163686, 'mean_word_length': 2.9243542435424352, 'pattern_counts': {'":': 3, '<': 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': '3518896', 'n_tokens_mistral': 759, 'n_tokens_neox': 738, 'n_words': 147}