<commit_before>Amazon::Ecs.configure do |options|
  c = Rails.application.secrets
  options[:AWS_access_key_id] = ENV["AWS_ACCESS_KEY_ID"] || c.aws_access_key_id
  options[:AWS_secret_key] = ENV["AWS_SECRET_KEY"] || c.aws_secret_key
  options[:associate_tag] = ENV["ASSOCIATE_TAG"] || c.associate_tag
  options[:country] = :jp
end

Amazon::Ecs::debug = true if Rails.env.development?
<commit_msg>change config to loading from ENV<commit_after>Amazon::Ecs.configure do |options|
  options[:AWS_access_key_id] = ENV["AWS_ACCESS_KEY_ID"]
  options[:AWS_secret_key] = ENV["AWS_SECRET_KEY"]
  options[:associate_tag] = ENV["ASSOCIATE_TAG"]
  options[:country] = :jp
end

Amazon::Ecs::debug = true if Rails.env.development?

{'fraction_non_alphanumeric': 0.14206128133704735, 'fraction_numerical': 0.0, 'mean_word_length': 7.170454545454546, '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': '5608173', 'n_tokens_mistral': 288, 'n_tokens_neox': 275, 'n_words': 42}