<commit_before># Put any overides here

Lint/AmbiguousBlockAssociation:
  Exclude:
    - 'spec/controllers/hyrax/monographs_controller_spec.rb'
    - 'spec/controllers/roles_controller_spec.rb'

Metrics/BlockLength:
  Enabled: true
  Max: 295 # default is 25

Metrics/ClassLength:
  Exclude:
    - 'app/controllers/catalog_controller.rb'
    - 'app/presenters/hyrax/file_set_presenter.rb'
    - 'lib/export/exporter.rb'

Metrics/CyclomaticComplexity:
  Exclude:
    - 'app/models/riiif/file.rb'
    - 'app/presenters/hyrax/monograph_presenter.rb'

Metrics/ModuleLength:
  Exclude:
    - 'app/helpers/press_helper.rb'
    - 'app/services/watermark/watermarkable.rb'

Metrics/PerceivedComplexity:
  Exclude:
    - 'app/models/riiif/file.rb'

Naming/HeredocDelimiterCase:
  Exclude:
    - 'spec/lib/export/exporter_spec.rb'
    - 'spec/lib/import/importer_spec.rb'

Naming/HeredocDelimiterNaming:
  Exclude:
    - 'app/presenters/concerns/embed_code_presenter.rb'
    - 'app/presenters/concerns/social_share_widget_presenter.rb'
    - 'lib/spec/e_pub/bridge_to_webgl_spec.rb'
    - 'lib/spec/e_pub/cfi_spec.rb'
    - 'lib/spec/e_pub/chapter_spec.rb'
    - 'lib/spec/e_pub/chapter_presenter_spec.rb'
    - 'lib/spec/e_pub/snippet_spec.rb'
    - 'spec/presenters/concerns/embed_code_presenter_spec.rb'
    - 'spec/presenters/concerns/social_share_widget_presenter_spec.rb'

Naming/MemoizedInstanceVariableName:
  Exclude:
    - 'app/forms/hyrax/forms/batch_upload_form.rb'
    - 'app/presenters/concerns/featured_representatives/file_set_presenter.rb'
    - 'app/presenters/concerns/featured_representatives/monograph_presenter.rb'
    - 'app/presenters/hyrax/file_set_presenter.rb'
    - 'app/presenters/hyrax/monograph_presenter.rb'

Performance/UnfreezeString:
  Exclude:
    - 'lib/export/exporter.rb'

Rails/Exit:
  Exclude:
    - 'lib/**/*'

Rails/HasManyOrHasOneDependent:
  Exclude:
    - 'app/models/component.rb'
    - 'app/models/lessee.rb'
    - 'app/models/press.rb'
    - 'app/models/product.rb'

Rails/HelperInstanceVariable:
  Exclude:
    - 'app/helpers/breadcrumbs_helper.rb'
    - 'app/helpers/press_helper.rb'
    - 'app/helpers/banner_helper.rb'

Rails/InverseOf:
  Exclude:
    - 'app/models/press.rb'

Rails/OutputSafety:
  Exclude:
    - 'spec/presenters/concerns/title_presenter_spec.rb'
    - 'config/initializers/explain_partials.rb'
    - 'app/services/markdown_service.rb'
    - 'app/helpers/markdown_helper.rb'
    - 'app/helpers/gallery_helper.rb'
    - 'app/renderers/hyrax/renderers/attribute_renderer.rb'
    - 'app/renderers/hyrax/renderers/markdown_attribute_renderer.rb'
    - 'app/views/shared/_brand_press_footer_block_b.html.erb'

Rails/SkipsModelValidations:
  Exclude:
    - 'spec/jobs/characterize_job_spec.rb'

RSpec/EmptyExampleGroup:
  Exclude:
    - 'spec/actors/hyrax/monograph_actor_spec.rb'

RSpec/ExampleLength:
  Enabled: true
  Max: 103 # default is 5

RSpec/LetSetup:
  Exclude:
    - 'spec/actors/featured_representative_actor_spec.rb'
    - 'spec/controllers/e_pubs_controller_spec.rb'
    - 'spec/controllers/hyrax/monographs_controller_spec.rb'
    - 'spec/controllers/webgls_controller_spec.rb'
    - 'spec/controllers/webgls_controller_spec.rb'
    - 'spec/features/create_external_resource_spec.rb'<commit_msg>Rails/UniqueValidationWithoutIndex: Excluded files added to rubocop_todo.yml<commit_after># Put any overides here

Lint/AmbiguousBlockAssociation:
  Exclude:
    - 'spec/controllers/hyrax/monographs_controller_spec.rb'
    - 'spec/controllers/roles_controller_spec.rb'

Metrics/BlockLength:
  Enabled: true
  Max: 295 # default is 25

Metrics/ClassLength:
  Exclude:
    - 'app/controllers/catalog_controller.rb'
    - 'app/presenters/hyrax/file_set_presenter.rb'
    - 'lib/export/exporter.rb'

Metrics/CyclomaticComplexity:
  Exclude:
    - 'app/models/riiif/file.rb'
    - 'app/presenters/hyrax/monograph_presenter.rb'

Metrics/ModuleLength:
  Exclude:
    - 'app/helpers/press_helper.rb'
    - 'app/services/watermark/watermarkable.rb'

Metrics/PerceivedComplexity:
  Exclude:
    - 'app/models/riiif/file.rb'

Naming/HeredocDelimiterCase:
  Exclude:
    - 'spec/lib/export/exporter_spec.rb'
    - 'spec/lib/import/importer_spec.rb'

Naming/HeredocDelimiterNaming:
  Exclude:
    - 'app/presenters/concerns/embed_code_presenter.rb'
    - 'app/presenters/concerns/social_share_widget_presenter.rb'
    - 'lib/spec/e_pub/bridge_to_webgl_spec.rb'
    - 'lib/spec/e_pub/cfi_spec.rb'
    - 'lib/spec/e_pub/chapter_spec.rb'
    - 'lib/spec/e_pub/chapter_presenter_spec.rb'
    - 'lib/spec/e_pub/snippet_spec.rb'
    - 'spec/presenters/concerns/embed_code_presenter_spec.rb'
    - 'spec/presenters/concerns/social_share_widget_presenter_spec.rb'

Naming/MemoizedInstanceVariableName:
  Exclude:
    - 'app/forms/hyrax/forms/batch_upload_form.rb'
    - 'app/presenters/concerns/featured_representatives/file_set_presenter.rb'
    - 'app/presenters/concerns/featured_representatives/monograph_presenter.rb'
    - 'app/presenters/hyrax/file_set_presenter.rb'
    - 'app/presenters/hyrax/monograph_presenter.rb'

Performance/UnfreezeString:
  Exclude:
    - 'lib/export/exporter.rb'

Rails/Exit:
  Exclude:
    - 'lib/**/*'

Rails/HasManyOrHasOneDependent:
  Exclude:
    - 'app/models/component.rb'
    - 'app/models/lessee.rb'
    - 'app/models/press.rb'
    - 'app/models/product.rb'

Rails/HelperInstanceVariable:
  Exclude:
    - 'app/helpers/breadcrumbs_helper.rb'
    - 'app/helpers/press_helper.rb'
    - 'app/helpers/banner_helper.rb'

Rails/InverseOf:
  Exclude:
    - 'app/models/press.rb'

Rails/OutputSafety:
  Exclude:
    - 'spec/presenters/concerns/title_presenter_spec.rb'
    - 'config/initializers/explain_partials.rb'
    - 'app/services/markdown_service.rb'
    - 'app/helpers/markdown_helper.rb'
    - 'app/helpers/gallery_helper.rb'
    - 'app/renderers/hyrax/renderers/attribute_renderer.rb'
    - 'app/renderers/hyrax/renderers/markdown_attribute_renderer.rb'
    - 'app/views/shared/_brand_press_footer_block_b.html.erb'

Rails/SkipsModelValidations:
  Exclude:
    - 'spec/jobs/characterize_job_spec.rb'

Rails/UniqueValidationWithoutIndex:
  Exclude:
    - 'app/models/ebook_table_of_contents_cache.rb'
    - 'app/models/featured_representative.rb'
    - 'app/models/google_analytics_history.rb'
    - 'app/models/press.rb'

RSpec/EmptyExampleGroup:
  Exclude:
    - 'spec/actors/hyrax/monograph_actor_spec.rb'

RSpec/ExampleLength:
  Enabled: true
  Max: 103 # default is 5

RSpec/LetSetup:
  Exclude:
    - 'spec/actors/featured_representative_actor_spec.rb'
    - 'spec/controllers/e_pubs_controller_spec.rb'
    - 'spec/controllers/hyrax/monographs_controller_spec.rb'
    - 'spec/controllers/webgls_controller_spec.rb'
    - 'spec/controllers/webgls_controller_spec.rb'
    - 'spec/features/create_external_resource_spec.rb'
{'fraction_non_alphanumeric': 0.1255868544600939, 'fraction_numerical': 0.002640845070422535, 'mean_word_length': 3.7604748603351954, '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': '5151183', 'n_tokens_mistral': 2695, 'n_tokens_neox': 2636, 'n_words': 224}