<commit_before>require 'rubygems'
require 'fog'

# create a connection
ec2 = Fog::Compute.new({
  :provider                 => 'AWS',
  :region                   => 'eu-west-1',
})

response = ec2.run_instances(
  'ami-fa74d689',
  1,
  1,
  'InstanceType'  => 'c3.xlarge',
  'SecurityGroup' => 'ssh',
  'KeyName'       => 'travis'
)

instance_id = response.body["instancesSet"].first["instanceId"]
instance = ec2.servers.get(instance_id)
instance.wait_for { ready? }
puts instance_id,':',instance.public_ip_address
<commit_msg>Bumped the instance type from c3.xlarge to c4.xlarge.<commit_after>require 'rubygems'
require 'fog'

# create a connection
ec2 = Fog::Compute.new({
  :provider                 => 'AWS',
  :region                   => 'eu-west-1',
})

response = ec2.run_instances(
  'ami-fa74d689',
  1,
  1,
  'InstanceType'  => 'c4.xlarge',
  'SecurityGroup' => 'ssh',
  'KeyName'       => 'travis'
)

instance_id = response.body["instancesSet"].first["instanceId"]
instance = ec2.servers.get(instance_id)
instance.wait_for { ready? }
puts instance_id,':',instance.public_ip_address

{'fraction_non_alphanumeric': 0.16149635036496351, 'fraction_numerical': 0.023722627737226276, 'mean_word_length': 3.4412955465587043, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '877008', 'n_tokens_mistral': 409, 'n_tokens_neox': 404, 'n_words': 71}