<commit_before>#encoding: utf-8
# frozen_string_literal: true


module BCD
  class ParseError < Exception
    def initialize(msg = 'Invalid positive integer value'); end
  end

  class ConvertError < Exception
    def initialize(msg = 'Invalid number has given'); end
  end

  def to_i
    res = 0
    mul = 1
    self.each_byte do |c|
      def pow(value, mul)
        if value >= 10
          raise ConvertError
        end
<commit_msg>Auto corrected by following Lint Ruby Lint/InheritException<commit_after>#encoding: utf-8
# frozen_string_literal: true


module BCD
  class ParseError < RuntimeError
    def initialize(msg = 'Invalid positive integer value'); end
  end

  class ConvertError < RuntimeError
    def initialize(msg = 'Invalid number has given'); end
  end

  def to_i
    res = 0
    mul = 1
    self.each_byte do |c|
      def pow(value, mul)
        if value >= 10
          raise ConvertError
        end

{'fraction_non_alphanumeric': 0.07004310344827586, 'fraction_numerical': 0.010775862068965518, 'mean_word_length': 2.6865079365079363, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 5, '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': '6389438', 'n_tokens_mistral': 284, 'n_tokens_neox': 269, 'n_words': 98}