<commit_before>require "rails_team_logo/version"
require "yaml"

module RailsTeamLogo

  class MyRailtie < Rails::Railtie

    #Dir.chdir('config')
    #if File.exist?('logo.yml')
    begin
      params = YAML.load_file("config/logo.yml")

      config.after_initialize do
        params.each do |key,value|
          puts '#'*100
          puts value
        end
      end
    rescue
      puts 'Error'
    end
    #else
    #
    #end
  end



end<commit_msg>working<commit_after>require "rails_team_logo/version"
require "yaml"

module RailsTeamLogo

  class MyRailtie < Rails::Railtie

    begin
      params = YAML.load_file("config/logo.yml")

      config.after_initialize do
        params.each do |key,value|
          puts '#'*100
          puts value
        end
      end
    rescue
      puts 'creating...'
    end

  end



end
{'fraction_non_alphanumeric': 0.09512485136741974, 'fraction_numerical': 0.007134363852556481, 'mean_word_length': 2.0955882352941178, 'pattern_counts': {'":': 0, '<': 5, '<?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': '774235', 'n_tokens_mistral': 298, 'n_tokens_neox': 273, 'n_words': 62}