<commit_before>module EasyType
	module Mungers
		module Integer

		  ##
		  #
		  #
			def munge(value)
				Integer(value)
      end

		end

		module Size

			def munge(size)
        case size
        when /^\d+(K|k)$/ then size.chop.to_i * 1024
        when /^\d+(M|m)$/ then size.chop.to_i * 1024 * 1024
        when /^\d+$/ then size.to_i
        else
          fail("invalid size")
        end
      end
    end

    module Upcase
      def munge(string)
        string.upcase
      end
    end

    module Downcase
      def munge(string)
        string.downcase
      end
    end

	end<commit_msg>Add support for G in size munger<commit_after>module EasyType
	module Mungers
		module Integer

		  ##
		  #
		  #
			def munge(value)
				Integer(value)
      end

		end

		module Size

			def munge(size)
        case size
        when /^\d+(K|k)$/ then size.chop.to_i * 1024
        when /^\d+(M|m)$/ then size.chop.to_i * 1024 * 1024
        when /^\d+(G|g)$/ then size.chop.to_i * 1024 * 1024 * 1024
        when /^\d+$/ then size.to_i
        else
          fail("invalid size")
        end
      end
    end

    module Upcase
      def munge(string)
        string.upcase
      end
    end

    module Downcase
      def munge(string)
        string.downcase
      end
    end

	end
{'fraction_non_alphanumeric': 0.09597523219814241, 'fraction_numerical': 0.02786377708978328, 'mean_word_length': 1.525390625, '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': '1040102', 'n_tokens_mistral': 520, 'n_tokens_neox': 434, 'n_words': 118}