<commit_before>module Edurange
  class Runtime
    # ==== Attributes
    # 
    # * +config_filename+ - Takes a YAML configuration file.
    #
    # === Usage
    #
    #   Edurange::Runtime.init(yaml_file)
    def self.start(config_filename)

      # Gets name of key file in use from config.yml, depends on line number 
      # keyname = IO.readlines(File.expand_path('~/.edurange/config.yml'))[0].gsub("ec2_key:", "").strip
      keyname = Settings.ec2_key
      puts keyname
      return
      
      # Parse the configuration file, extract list of nodes
      nodes = Edurange::Parser.parse_yaml(config_filename, keyname) # format: nodes[node_name, ami_id, users, firewall_rules, packages]
    end
  end
end<commit_msg>Oops, don't terminate immediately<commit_after>module Edurange
  class Runtime
    # ==== Attributes
    # 
    # * +config_filename+ - Takes a YAML configuration file.
    #
    # === Usage
    #
    #   Edurange::Runtime.init(yaml_file)
    def self.start(config_filename)

      # Gets name of key file in use from config.yml, depends on line number 
      # keyname = IO.readlines(File.expand_path('~/.edurange/config.yml'))[0].gsub("ec2_key:", "").strip
      keyname = Settings.ec2_key
      
      # Parse the configuration file, extract list of nodes
      nodes = Edurange::Parser.parse_yaml(config_filename, keyname) # format: nodes[node_name, ami_id, users, firewall_rules, packages]
    end
  end
end
{'fraction_non_alphanumeric': 0.11142061281337047, 'fraction_numerical': 0.004178272980501393, 'mean_word_length': 3.0708215297450425, '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': '7451336', 'n_tokens_mistral': 469, 'n_tokens_neox': 458, 'n_words': 111}