<commit_before>require File.expand_path('../boot', __FILE__)

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)

config_file = File.expand_path('../application.yml', __FILE__)
if File.exists?(config_file)
  CONFIG = YAML.load(File.read(config_file))
else
  CONFIG = {}
end

module GemsStatusWeb
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers<commit_msg>overwrite configuration with env variables if present<commit_after>require File.expand_path('../boot', __FILE__)

require 'rails/all'

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(:default, Rails.env)

config_file = File.expand_path('../application.yml', __FILE__)
if File.exists?(config_file)
  CONFIG = YAML.load(File.read(config_file))
else
  CONFIG = {}
end

CONFIG["GMAIL_USERNAME"] if ENV["GMAIL_USERNAME"]
CONFIG["GMAIL_PASSWORD"] if ENV["GMAIL_PASSWORD"]
CONFIG["MAILING_LISTS"] if ENV["MAILING_LISTS"]
CONFIG["MAX_RUBY_APP_BY_USER"] if ENV["MAX_RUBY_APP_BY_USER"]



module GemsStatusWeb
  class Application < Rails::Application
    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
{'fraction_non_alphanumeric': 0.10868124585818423, 'fraction_numerical': 0.0, 'mean_word_length': 5.741071428571429, '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': '5963882', 'n_tokens_mistral': 469, 'n_tokens_neox': 450, 'n_words': 127}