<commit_before>module Judge
  module Controller
    class Properties
      delegate :logger, :to => Rails
      attr_reader :controller
      attr_accessor :model_name
      attr_accessor :associations
      attr_accessor :new_actions
      attr_accessor :member_actions
      attr_accessor :collection_actions
      
      def initialize(controller)
        @controller = controller
        @associations = []
        @new_actions = [:new, :create]
        @member_actions = [:show, :edit, :update, :destroy]
        @collection_actions = [:index]
      end

      class << self
        def instantiate(controller)
          if controller.superclass.respond_to?(:properties) 
            object = controller.superclass.properties.clone
            object.instace_variable_set(:@controller, controller)
          else
            object = new(controller)<commit_msg>knut is typing so fast the keys can't follow<commit_after>module Judge
  module Controller
    class Properties
      delegate :logger, :to => Rails
      attr_reader :controller
      attr_accessor :model_name
      attr_accessor :associations
      attr_accessor :new_actions
      attr_accessor :member_actions
      attr_accessor :collection_actions
      
      def initialize(controller)
        @controller = controller
        @associations = []
        @new_actions = [:new, :create]
        @member_actions = [:show, :edit, :update, :destroy]
        @collection_actions = [:index]
      end

      class << self
        def instantiate(controller)
          if controller.superclass.respond_to?(:properties) 
            object = controller.superclass.properties.clone
            object.instance_variable_set(:@controller, controller)
          else
            object = new(controller)
{'fraction_non_alphanumeric': 0.07766439909297052, 'fraction_numerical': 0.0, 'mean_word_length': 2.5370741482965933, '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': '5267098', 'n_tokens_mistral': 461, 'n_tokens_neox': 450, 'n_words': 109}