<commit_before>class IntellectualObjectMetadata < ActiveFedora::RdfxmlRDFDatastream
  map_predicates do |map|
    map.title(in: RDF::DC) do |index|
      index.as :stored_searchable, :sortable
    end
    map.description(in: RDF::DC) do |index|
      index.as :stored_searchable
    end
    map.identifier(in: RDF::DC, to: 'identifier') do |index|
      index.as :symbol, :stored_searchable
    end
    map.alt_identifier(in: RDF::DC, to: 'relation') do |index|
      index.as :stored_searchable
    end
    map.access(in: RDF::DC, to: 'rights') do |index|
      index.as :facetable
    end
  end

  accepts_nested_attributes_for :events
end<commit_msg>fixed identifier mapping<commit_after>class IntellectualObjectMetadata < ActiveFedora::RdfxmlRDFDatastream
  map_predicates do |map|
    map.title(in: RDF::DC) do |index|
      index.as :stored_searchable, :sortable
    end
    map.description(in: RDF::DC) do |index|
      index.as :stored_searchable
    end
    map.identifier(in: RDF::DC, to: 'identifier') do |index|
      index.as :symbol, :stored_searchable
    end
    map.alt_identifier(in: RDF::DC11, to: 'identifier') do |index|
      index.as :stored_searchable
    end
    map.access(in: RDF::DC, to: 'rights') do |index|
      index.as :facetable
    end
  end

  accepts_nested_attributes_for :events
end
{'fraction_non_alphanumeric': 0.11355034065102196, 'fraction_numerical': 0.001514004542013626, 'mean_word_length': 3.6713780918727914, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1884873', 'n_tokens_mistral': 471, 'n_tokens_neox': 463, 'n_words': 107}