<commit_before>require 'crichton/representor'

class DrdsDecorator
  puts "OVER HERE"
  puts Crichton.inspect
  puts Crichton::Representor.inspect
  include Crichton::Representor::Factory

  attr_reader :collection, :controller

  def initialize(collection, controller)
    @controller = controller
    @collection = collection
  end

  def value
    drds_collection = { items: collection, total_count: collection.size }

    build_state_representor(drds_collection, :drds, options )
  end

  def state
    controller.params[:search] ? :navigation : :collection
  end<commit_msg>add more prints<commit_after>require 'crichton/representor'

class DrdsDecorator
  puts "OVER HERE"
  puts Crichton.inspect
  puts Crichton::Representor.inspect
  puts Crichton::Representor::Factory.inspect
  puts Crichton
  puts Crichton::Representor
  puts Crichton::Representor::Factory
  puts "NOT HERE"
  include Crichton::Representor::Factory

  attr_reader :collection, :controller

  def initialize(collection, controller)
    @controller = controller
    @collection = collection
  end

  def value
    drds_collection = { items: collection, total_count: collection.size }

    build_state_representor(drds_collection, :drds, options )
  end

  def state
    controller.params[:search] ? :navigation : :collection
  end
{'fraction_non_alphanumeric': 0.08033664881407804, 'fraction_numerical': 0.0, 'mean_word_length': 4.762114537444934, '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': '3308871', 'n_tokens_mistral': 408, 'n_tokens_neox': 392, 'n_words': 94}