<commit_before>*** Settings ***
Documentation   Shared setup and teardown routines
Library         eucaops.Eucaops  credpath=${credpath}  config_file=${config_file}  password=${password}
Library         Collections

*** Variables ***
${credpath}     /Users/viglesias/Dropbox/creds/test-creds/
${password}     ${None}
${config_file}  ${None}
${image_id}     mi-

*** Keywords ***
Prepare EC2 Resources
  Set Log Level  TRACE
  ${test_id}=  ID generator  ${12}
  ${image}=  get_emi  root_device_type=instance-store  emi=${image_id}
  ${keypair}=  Add Keypair  key_name=${test_id}
  ${group}=  Add Group  group_name=${test_id}
  Authorize Group  ${group}  port=22
  Authorize Group  ${group}  port=-1  protocol=icmp
  @{instances}=  Run Image  image=${image}  keypair=${test_id}  group=${test_id}
  @{zones}=  Get Zones
  ${volume}=  Create Volume  @{zones}[0]
  Set Global Variable  ${image}  ${image}
  Set Global Variable  ${keypair}  ${keypair}<commit_msg>No default credpath<commit_after>*** Settings ***
Documentation   Shared setup and teardown routines
Library         eucaops.Eucaops  credpath=${credpath}  config_file=${config_file}  password=${password}
Library         Collections

*** Variables ***
${credpath}     ${None}
${password}     ${<PASSWORD>}
${config_file}  ${None}
${image_id}     mi-

*** Keywords ***
Prepare EC2 Resources
  Set Log Level  TRACE
  ${test_id}=  ID generator  ${12}
  ${image}=  get_emi  root_device_type=instance-store  emi=${image_id}
  ${keypair}=  Add Keypair  key_name=${test_id}
  ${group}=  Add Group  group_name=${test_id}
  Authorize Group  ${group}  port=22
  Authorize Group  ${group}  port=-1  protocol=icmp
  @{instances}=  Run Image  image=${image}  keypair=${test_id}  group=${test_id}
  @{zones}=  Get Zones
  ${volume}=  Create Volume  @{zones}[0]
  Set Global Variable  ${image}  ${image}
  Set Global Variable  ${keypair}  ${keypair}
{'fraction_non_alphanumeric': 0.15124272871496564, 'fraction_numerical': 0.007403490216816499, 'mean_word_length': 4.284916201117318, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '114593', 'n_tokens_mistral': 673, 'n_tokens_neox': 633, 'n_words': 161}