<commit_before>json.set! '@context', 'http://iiif.io/api/presentation/2/context.json'
json.set! '@id', iiif_manifest_url(@entity, format: :json)
json.set! '@type', 'sc:Manifest'

json.label 'blub'
json.description 'bla'
json.metadata [0] do
  json.label 'filename'
  json.value @entity.medium.original.original_filename
end

json.sequences [0] do
  json.set! '@id', iiif_sequence_url(@entity, format: :json)
  json.set! '@type', 'sc:Sequence'
  json.label 'the only sequence'

  json.canvases [0] do
    json.set! '@id', iiif_canvas_url(@entity, format: :json)<commit_msg>removes 'blub' & 'bla' from iiif manifests<commit_after>json.set! '@context', 'http://iiif.io/api/presentation/2/context.json'
json.set! '@id', iiif_manifest_url(@entity, format: :json)
json.set! '@type', 'sc:Manifest'

json.label "#{I18n.t 'activerecord.models.entity', count: 1} #{@entity.1}"
json.description '-'
json.metadata [0] do
  json.label 'filename'
  json.value @entity.medium.original.original_filename
end

json.sequences [0] do
  json.set! '@id', iiif_sequence_url(@entity, format: :json)
  json.set! '@type', 'sc:Sequence'
  json.label 'the only sequence'

  json.canvases [0] do
    json.set! '@id', iiif_canvas_url(@entity, format: :json)
{'fraction_non_alphanumeric': 0.17996742671009772, 'fraction_numerical': 0.009771986970684038, 'mean_word_length': 5.335051546391752, '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': '5925884', 'n_tokens_mistral': 463, 'n_tokens_neox': 448, 'n_words': 99}