<commit_before>module DeepCover
  class Config
    DEFAULTS = {
      ignore_uncovered: [],
      paths: %w[./app ./lib],
      allow_partial: false,
    }

    def initialize(**options)
      @options = copy(DEFAULTS.merge(options))
    end

    def to_hash
      copy(@options)
    end
    alias_method :to_h, :to_hash

    def ignore_uncovered(*keywords)
      check_uncovered(keywords)
      @options[:ignore_uncovered] += keywords
      self
    end<commit_msg>Fix trivial bug<commit_after>module DeepCover
  class Config
    DEFAULTS = {
      ignore_uncovered: [],
      paths: %w[./app ./lib],
      allow_partial: false,
    }

    def initialize(**options)
      @options = copy(DEFAULTS.merge(options))
    end

    def to_hash
      copy(@options)
    end
    alias_method :to_h, :to_hash

    def ignore_uncovered(*keywords)
      check_uncovered(keywords)
      @options[:ignore_uncovered] |= keywords
      self
    end
{'fraction_non_alphanumeric': 0.10492505353319058, 'fraction_numerical': 0.0, 'mean_word_length': 2.582375478927203, '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': '2065766', 'n_tokens_mistral': 301, 'n_tokens_neox': 290, 'n_words': 61}