<commit_before>require 'fog'
require 'base64'
require_relative '../../lib/yarddog-conf'

IMAGE = 'ami-d4bd46bc' # yarddog-base
SUBNET = 'subnet-5e4f4236' # 10.42.3.x/24, us-east-1a
SECURITY_GROUP_IDS = ['sg-7440961b', 'sg-b3a4c4d6']
BREEDS = %w(beagle laborador terrier bulldog chihuahua shepherd hound spaniel retriever schnauzer shiba pinscher mastiff collie)
PORT = 60086

class EC2Instance
    attr_reader :compute, :server

    # requires valid instance of Fog::Compute
    def initialize compute=nil
        @conf = YarddogConf.new.parse_home_file['Server']
        if compute
            @compute = compute
        else
            @compute = Fog::Compute.new({
                provider: 'AWS',<commit_msg>bump image version<commit_after>require 'fog'
require 'base64'
require_relative '../../lib/yarddog-conf'

IMAGE = 'ami-36cb305e' # yarddog-base
SUBNET = 'subnet-5e4f4236' # 10.42.3.x/24, us-east-1a
SECURITY_GROUP_IDS = ['sg-7440961b', 'sg-b3a4c4d6']
BREEDS = %w(beagle laborador terrier bulldog chihuahua shepherd hound spaniel retriever schnauzer shiba pinscher mastiff collie)
PORT = 60086

class EC2Instance
    attr_reader :compute, :server

    # requires valid instance of Fog::Compute
    def initialize compute=nil
        @conf = YarddogConf.new.parse_home_file['Server']
        if compute
            @compute = compute
        else
            @compute = Fog::Compute.new({
                provider: 'AWS',
{'fraction_non_alphanumeric': 0.1090146750524109, 'fraction_numerical': 0.0517120894479385, 'mean_word_length': 3.224188790560472, 'pattern_counts': {'":': 0, '<': 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': '1321382', 'n_tokens_mistral': 541, 'n_tokens_neox': 498, 'n_words': 115}