<commit_before>require 'fog'
require 'base64'
require_relative '../../../lib/yarddog_conf'

class EC2
    IMAGE = 'ami-0ca56064' # yarddog-base
    SUBNET = 'subnet-5e4f4236' # 10.42.3.0/24, us-east-1a
    YARDDOG_GROUP = 'sg-b3a4c4d6' # vpc-yarddog-test
    SSH_GROUP = 'sg-7440961b' # vpc-ssh
    SECURITY_GROUP_IDS = [YARDDOG_GROUP, SSH_GROUP]
    BREEDS = %w(beagle laborador terrier bulldog chihuahua
    shepherd hound spaniel retriever schnauzer shiba pinscher
    mastiff collie)
    PORT = 60086
    RATE_LIMIT = 60 #seconds

    attr_reader :compute

    # requires valid instance of Fog::Compute
    # initialization
    @conf = YarddogConf.new.parse_home_file['Server']
    @compute = Fog::Compute.new({
        provider: 'AWS',<commit_msg>bump subnet version<commit_after>require 'fog'
require 'base64'
require_relative '../../../lib/yarddog_conf'

class EC2
    IMAGE = 'ami-0ca56064' # yarddog-base
    SUBNET = 'subnet-244f424c' # 10.42.4.0/24, us-east-1a, internet-connected
    YARDDOG_GROUP = 'sg-b3a4c4d6' # vpc-yarddog-test
    SSH_GROUP = 'sg-7440961b' # vpc-ssh
    SECURITY_GROUP_IDS = [YARDDOG_GROUP, SSH_GROUP]
    BREEDS = %w(beagle laborador terrier bulldog chihuahua
    shepherd hound spaniel retriever schnauzer shiba pinscher
    mastiff collie)
    PORT = 60086
    RATE_LIMIT = 60 #seconds

    attr_reader :compute

    # requires valid instance of Fog::Compute
    # initialization
    @conf = YarddogConf.new.parse_home_file['Server']
    @compute = Fog::Compute.new({
        provider: 'AWS',
{'fraction_non_alphanumeric': 0.11241830065359477, 'fraction_numerical': 0.054901960784313725, 'mean_word_length': 3.4121037463976944, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '7357702', 'n_tokens_mistral': 637, 'n_tokens_neox': 582, 'n_words': 118}