<commit_before>module Mutant
  class Mutator
    class Util

      # Mutators that mutates symbol inputs
      class Symbol < self

        handle(::Symbol)

      private

        # Emit mutations
        #
        # @return [undefined]
        #
        # @api private
        #
        def dispatch
          emit_new { :"s#{Random.hex_string}" } unless ignore?
        end

        # Test if symbol is ignored
        #
        # @return [true]
        #   if symbol begins with an underscore
        #
        # @return [false]
        #   otherwise
        #
        # @api private
        #
        def ignore?
          input.to_s[0] == '_'
        end

      end
    end
  end
end
<commit_msg>Do not ugnore underscored symbols in util mutator<commit_after>module Mutant
  class Mutator
    class Util

      # Mutators that mutates symbol inputs
      class Symbol < self

        handle(::Symbol)

      private

        # Emit mutations
        #
        # @return [undefined]
        #
        # @api private
        #
        def dispatch
          emit_new { :"s#{Random.hex_string}" } 
        end

      end # Symbol
    end # Util
  end # Mutator
end # Mutant

{'fraction_non_alphanumeric': 0.07306711979609176, 'fraction_numerical': 0.0008496176720475786, 'mean_word_length': 1.3797979797979798, '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': '6417872', 'n_tokens_mistral': 341, 'n_tokens_neox': 327, 'n_words': 97}