<commit_before>shared_examples 'has_dc_metadata' do

  # Single-valued fields
  it { should have_unique_field(:created) }
  it { should have_unique_field(:description) }
  it { should have_unique_field(:date_uploaded) }
  it { should have_unique_field(:date_modified) }

  # Multivalued fields
  it { should have_multivalue_field(:content_format) }
  it { should have_multivalue_field(:identifier) }
  it { should have_multivalue_field(:publisher) }
  # it { should have_multivalue_field(:bibliographic_citation) }
  it { should have_multivalue_field(:source) }
  it { should have_multivalue_field(:language) }
  it { should have_multivalue_field(:extent) }
  it { should have_multivalue_field(:requires) }
  it { should have_multivalue_field(:subject) }

end<commit_msg>Remove extent and requires from required fields<commit_after>shared_examples 'has_dc_metadata' do

  # Single-valued fields
  it { should have_unique_field(:created) }
  it { should have_unique_field(:description) }
  it { should have_unique_field(:date_uploaded) }
  it { should have_unique_field(:date_modified) }

  # Multivalued fields
  it { should have_multivalue_field(:content_format) }
  it { should have_multivalue_field(:identifier) }
  it { should have_multivalue_field(:publisher) }
  it { should have_multivalue_field(:source) }
  it { should have_multivalue_field(:language) }
  it { should have_multivalue_field(:subject) }

end
{'fraction_non_alphanumeric': 0.09328621908127209, 'fraction_numerical': 0.0, 'mean_word_length': 5.975369458128079, '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': '3310711', 'n_tokens_mistral': 463, 'n_tokens_neox': 452, 'n_words': 90}