<commit_before>[
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/service-role/AWSQuickSightListIAM",
      "arn:aws:iam::451493790433:policy/aplPopulateUploadQueue",
      "arn:aws:iam::451493790433:policy/aplDeleteCuboid",
      "arn:aws:iam::451493790433:policy/aplResolutionHierarchy",
      "arn:aws:iam::aws:policy/AWSStepFunctionsFullAccess"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "activities",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "activities",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2008-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/AWSElasticBeanstalkWebTier",
      "arn:aws:iam::aws:policy/AWSElasticBeanstalkMulticontainerDocker",
      "arn:aws:iam::aws:policy/AWSElasticBeanstalkWorkerTier"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "aws-elasticbeanstalk-ec2-role",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "aws-elasticbeanstalk-ec2-role",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Condition": {
            "StringEquals": {
              "sts:ExternalId": "elasticbeanstalk"
            }
          },
          "Effect": "Allow",
          "Principal": {
            "Service": "elasticbeanstalk.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkEnhancedHealth",
      "arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkService"
    ],
    "InstanceProfileList": [],
    "Path": "/",
    "RoleName": "aws-elasticbeanstalk-service-role",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/AmazonSQSFullAccess",
      "arn:aws:iam::aws:policy/AWSLambdaFullAccess",
      "arn:aws:iam::aws:policy/AmazonS3FullAccess",
      "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess",
      "arn:aws:iam::aws:policy/AmazonSNSFullAccess"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "cachemanager",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "cachemanager",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/AmazonEC2ReadOnlyAccess",
      "arn:aws:iam::aws:policy/AmazonRoute53ReadOnlyAccess"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "consul",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "consul",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {<commit_msg>new role permissions from dev account<commit_after>[
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/service-role/AWSQuickSightListIAM",
      "arn:aws:iam::451493790433:policy/aplPopulateUploadQueue",
      "arn:aws:iam::451493790433:policy/aplDeleteCuboid",
      "arn:aws:iam::451493790433:policy/aplResolutionHierarchy",
      "arn:aws:iam::aws:policy/AWSStepFunctionsFullAccess"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "activities",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "activities",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2008-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/AWSElasticBeanstalkWebTier",
      "arn:aws:iam::aws:policy/AWSElasticBeanstalkMulticontainerDocker",
      "arn:aws:iam::aws:policy/AWSElasticBeanstalkWorkerTier"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "aws-elasticbeanstalk-ec2-role",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "aws-elasticbeanstalk-ec2-role",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Condition": {
            "StringEquals": {
              "sts:ExternalId": "elasticbeanstalk"
            }
          },
          "Effect": "Allow",
          "Principal": {
            "Service": "elasticbeanstalk.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkEnhancedHealth",
      "arn:aws:iam::aws:policy/service-role/AWSElasticBeanstalkService"
    ],
    "InstanceProfileList": [],
    "Path": "/",
    "RoleName": "aws-elasticbeanstalk-service-role",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "batch.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/service-role/AWSBatchServiceRole"
    ],
    "InstanceProfileList": [],
    "Path": "/service-role/",
    "RoleName": "AWSBatchServiceRole",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/AmazonSQSFullAccess",
      "arn:aws:iam::aws:policy/AWSLambdaFullAccess",
      "arn:aws:iam::aws:policy/AmazonS3FullAccess",
      "arn:aws:iam::aws:policy/AmazonDynamoDBFullAccess",
      "arn:aws:iam::aws:policy/AmazonSNSFullAccess"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "cachemanager",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "cachemanager",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/AmazonEC2ReadOnlyAccess",
      "arn:aws:iam::aws:policy/AmazonRoute53ReadOnlyAccess"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "consul",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "consul",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
            "Service": "ec2.amazonaws.com"
          }
        }
      ],
      "Version": "2012-10-17"
    },
    "AttachedManagedPolicies": [
      "arn:aws:iam::aws:policy/service-role/AmazonEC2ContainerServiceforEC2Role"
    ],
    "InstanceProfileList": [
      {
        "InstanceProfileName": "ecsInstanceRole",
        "Path": "/"
      }
    ],
    "Path": "/",
    "RoleName": "ecsInstanceRole",
    "RolePolicyList": []
  },
  {
    "AssumeRolePolicyDocument": {
      "Statement": [
        {
          "Action": "sts:AssumeRole",
          "Effect": "Allow",
          "Principal": {
{'fraction_non_alphanumeric': 0.1706768608050371, 'fraction_numerical': 0.02147515178772206, 'mean_word_length': 2.116678346180799, 'pattern_counts': {'":': 178, '<': 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': '5134042', 'n_tokens_mistral': 3066, 'n_tokens_neox': 2898, 'n_words': 297}