<commit_before>class DescriptionObject < ActiveFedora::Base

  include Hydra::ModelMixins::RightsMetadata

  has_metadata "rightsMetadata", type: Hydra::Datastream::RightsMetadata
  has_metadata 'descMetadata', type: Datastream::DescriptionObjectMetadata

  belongs_to :institution, property: :is_part_of

  delegate :title, to: 'descMetadata', unique: true
  delegate :dpn_status, to: 'descMetadata', unique: true
  # delegate :institution_name, to: 'descMetadata', unique: true

  validates :title, :dpn_status, presence: true

end<commit_msg>Remove commented out line in DescriptionObject model<commit_after>class DescriptionObject < ActiveFedora::Base

  include Hydra::ModelMixins::RightsMetadata

  has_metadata "rightsMetadata", type: Hydra::Datastream::RightsMetadata
  has_metadata 'descMetadata', type: Datastream::DescriptionObjectMetadata

  belongs_to :institution, property: :is_part_of

  delegate :title, to: 'descMetadata', unique: true
  delegate :dpn_status, to: 'descMetadata', unique: true

  validates :title, :dpn_status, presence: true

end
{'fraction_non_alphanumeric': 0.09586466165413533, 'fraction_numerical': 0.0, 'mean_word_length': 7.4523809523809526, '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': '3495332', 'n_tokens_mistral': 321, 'n_tokens_neox': 304, 'n_words': 81}