<commit_before>module Valle
  module AbstractAdapter
    class ByteLimitedColumn < AbstractColumn

      def maximum
        # TODO [AK] implement
      end

      def minimum
        # TODO [AK] implement
      end
    end
  end
end
<commit_msg>implemented min and max byte limited methods<commit_after>module Valle
  module AbstractAdapter
    class ByteLimitedColumn < AbstractColumn

      def maximum
        case limit
        when 1; 127
        when 2; 32767
        when 3; 8388607
        when 4; 2147483647
        when 8; 9223372036854775807
        end
      end

      def minimum
        case limit
        when 1; -128
        when 2; -32768
        when 3; -8388608
        when 4; -2147483648
        when 8; -9223372036854775808
        end
      end
    end
  end
end

{'fraction_non_alphanumeric': 0.03680203045685279, 'fraction_numerical': 0.12436548223350254, 'mean_word_length': 1.683673469387755, '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': '4223219', 'n_tokens_mistral': 298, 'n_tokens_neox': 229, 'n_words': 80}