<commit_before>module CassandraObject
  module Batches
    extend ActiveSupport::Concern

    module ClassMethods
      def find_each
        connection.each(column_family) do |k, v|
          yield instantiate(k, v)
        end
      end
<commit_msg>1) updated find_each to request 500 columns instead of 100<commit_after>module CassandraObject
  module Batches
    extend ActiveSupport::Concern

    module ClassMethods
      def find_each
        connection.each(column_family, {:count => 500}) do |k, v|
          yield instantiate(k, v)
        end
      end

{'fraction_non_alphanumeric': 0.06205673758865248, 'fraction_numerical': 0.01773049645390071, 'mean_word_length': 2.7417218543046356, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, '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': '7367843', 'n_tokens_mistral': 172, 'n_tokens_neox': 155, 'n_words': 49}