<commit_before>module Neo4j::Shared
  module Property
    extend ActiveSupport::Concern

    include Neo4j::Shared::MassAssignment
    include Neo4j::Shared::TypecastedAttributes
    include ActiveModel::Dirty

    class UndefinedPropertyError < Neo4j::Error; end
    class MultiparameterAssignmentError < Neo4j::Error; end

    attr_reader :_persisted_obj

    def inspect
      attribute_descriptions = inspect_attributes.map do |key, value|
        "#{Neo4j::ANSI::CYAN}#{key}: #{Neo4j::ANSI::CLEAR}#{value.inspect}"
      end.join(', ')

      separator = ' ' unless attribute_descriptions.empty?
      "#<#{Neo4j::ANSI::YELLOW}#{self.class.name}#{Neo4j::ANSI::CLEAR}#{separator}#{attribute_descriptions}>"
    end

    def initialize(attributes = nil)
      attributes = process_attributes(attributes)
      @relationship_props = self.class.extract_association_attributes!(attributes)
      modded_attributes = inject_defaults!(attributes)
      validate_attributes!(modded_attributes)
      writer_method_props = extract_writer_methods!(modded_attributes)
      send_props(writer_method_props)
      @_persisted_obj = nil
    end
<commit_msg>Disable @relationship_props.  This should all be taken care of by the Unpersisted module now<commit_after>module Neo4j::Shared
  module Property
    extend ActiveSupport::Concern

    include Neo4j::Shared::MassAssignment
    include Neo4j::Shared::TypecastedAttributes
    include ActiveModel::Dirty

    class UndefinedPropertyError < Neo4j::Error; end
    class MultiparameterAssignmentError < Neo4j::Error; end

    attr_reader :_persisted_obj

    def inspect
      attribute_descriptions = inspect_attributes.map do |key, value|
        "#{Neo4j::ANSI::CYAN}#{key}: #{Neo4j::ANSI::CLEAR}#{value.inspect}"
      end.join(', ')

      separator = ' ' unless attribute_descriptions.empty?
      "#<#{Neo4j::ANSI::YELLOW}#{self.class.name}#{Neo4j::ANSI::CLEAR}#{separator}#{attribute_descriptions}>"
    end

    def initialize(attributes = nil)
      attributes = process_attributes(attributes)
      @relationship_props = {}#self.class.extract_association_attributes!(attributes)
      modded_attributes = inject_defaults!(attributes)
      validate_attributes!(modded_attributes)
      writer_method_props = extract_writer_methods!(modded_attributes)
      send_props(writer_method_props)
      @_persisted_obj = nil
    end

{'fraction_non_alphanumeric': 0.1063919259882254, 'fraction_numerical': 0.007569386038687973, 'mean_word_length': 4.71875, 'pattern_counts': {'":': 0, '<': 9, '<?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': '2733950', 'n_tokens_mistral': 730, 'n_tokens_neox': 718, 'n_words': 119}