<commit_before>module Xray

  def self.config
    @@config ||= Config.new
  end

  class Config
    attr_accessor :editor

    CONFIG_FILE = ".xrayconfig"

    def default_editor
      ENV['GEM_EDITOR'] ||
        ENV['VISUAL'] ||<commit_msg>:warning: method redefined; discarding old editor, editor=<commit_after>module Xray

  def self.config
    @@config ||= Config.new
  end

  class Config
    CONFIG_FILE = ".xrayconfig"

    def default_editor
      ENV['GEM_EDITOR'] ||
        ENV['VISUAL'] ||
{'fraction_non_alphanumeric': 0.11553784860557768, 'fraction_numerical': 0.0, 'mean_word_length': 2.992063492063492, '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': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6299535', 'n_tokens_mistral': 172, 'n_tokens_neox': 158, 'n_words': 38}