<commit_before>- if !defined?(hide_remove)
  - hide_remove = false
  = "=>> #{hide_remove}"

.extra-data.nested-fields.fee-dates.fee-dates-from
  - if defined?(parent_model_prefix) && defined?(submodel_count)
    - error_prefix = "#{parent_model_prefix}_date_attended_#{submodel_count}"
  - else
    - error_prefix = "date_attended_0"

  = link_to_remove_association t(".remove"), f, {class: "date-action"}

  .fee-date-from.panel-margin-fix
    - if defined?(locale_scope)
      - locale_key = f.object.claim.case_type.name.split(' ').collect(&:capitalize).join.underscore

      - date_text = t(locale_key, scope: locale_scope)

    - else
      - date_text = t('.date_attended')

    = f.gov_uk_date_field :date, legend_text: date_text, legend_class: "form-label-bold", id: "#{error_prefix}_date", error_messages: gov_uk_date_field_error_messages(@error_presenter, "#{error_prefix}_date")<commit_msg>Removing debug<commit_after>- if !defined?(hide_remove)
  - hide_remove = false

.extra-data.nested-fields.fee-dates.fee-dates-from
  - if defined?(parent_model_prefix) && defined?(submodel_count)
    - error_prefix = "#{parent_model_prefix}_date_attended_#{submodel_count}"
  - else
    - error_prefix = "date_attended_0"

  = link_to_remove_association t(".remove"), f, {class: "date-action"}

  .fee-date-from.panel-margin-fix
    - if defined?(locale_scope)
      - locale_key = f.object.claim.case_type.name.split(' ').collect(&:capitalize).join.underscore

      - date_text = t(locale_key, scope: locale_scope)

    - else
      - date_text = t('.date_attended')

    = f.gov_uk_date_field :date, legend_text: date_text, legend_class: "form-label-bold", id: "#{error_prefix}_date", error_messages: gov_uk_date_field_error_messages(@error_presenter, "#{error_prefix}_date")
{'fraction_non_alphanumeric': 0.14870931537598203, 'fraction_numerical': 0.001122334455667789, 'mean_word_length': 4.624605678233438, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '6035511', 'n_tokens_mistral': 634, 'n_tokens_neox': 627, 'n_words': 87}