<commit_before>- if claim.certification.present?
  = render partial: 'shared/certification', locals: { claim: claim }

%h3.heading-medium
  = "Claim and case type"
%table.table-summary
  %caption
    %span.table-caption.visuallyhidden
      = "This section contains details of the case"
  %tbody
    - unless claim.providers_ref.blank?
      %tr
        %th{ scope: 'row' }
          = 'Provider reference number'
        %td
          = claim.providers_ref

    - unless claim.draft?
      %tr
        %th{ scope: 'row' }
          = "Claim submitted on"
        %td
          = claim.submitted_at

    - if claim.case_workers.any? && current_user_is_caseworker? && current_user.persona.admin?
      %tr
        %th{ scope: 'row' }
          = t ('.assignee')
        %td
          = claim.case_worker_names

    - if @claim.lgfs?
      %tr
        %th{ scope: 'row' }
          = t('common.external_user.claim_creator')
        %td
          = claim.creator.name

    - if @claim.agfs?
      %tr
        %th{ scope: 'row' }
          = t("common.external_user.#{@claim.external_user_type}")
        %td
          = claim.external_user.name
      %tr
        %th{ scope: 'row' }
          = t("common.external_user.category.#{@claim.external_user_type}")
        %td
          = claim.advocate_category

    %tr
      %th{ scope: 'row' }
        = t("common.external_user.account_number.#{@claim.external_user_type}")
      %td
        = claim.supplier_number

    %tr
      %th{ scope: 'row' }
        = t('common.crown_court')
      %td
        = claim.court.name if claim.court

    %tr
      %th{ scope: 'row' }
        =t('.case_num')
      %td
        = claim.case_number
        %span.unique-id-small
          = claim.unique_id

    - if claim.transfer_court.present?
      %tr
        %th{ scope: 'row' }
          = t('common.transfer_court')
        %td
          = claim.transfer_court.name

      %tr
        %th{ scope: 'row' }
          = t('common.transfer_case_number')
        %td
          = claim.transfer_case_number

    - if claim.case_stage
      %tr
        %th{ scope: 'row' }
          = t('.case_stage')
        %td
          = claim.case_stage&.description

    - if claim.display_case_type?
      %tr
        %th{ scope: 'row' }
          = t('.case_type')
        %td
          = claim.case_type&.name

    - if claim.agfs? && claim.case_type.present? && claim.requires_cracked_dates?
      = render partial: 'shared/claim_cracked_trial_details', locals: { claim: claim }

    - if claim.case_type && claim.case_concluded_at
      = render partial: 'shared/claim_case_concluded_at_details', locals: { claim: claim }

    - if claim.lgfs? && claim.interim? && !claim.interim_fee.nil?
      = render partial: 'shared/claim_interim_details', locals: { claim: claim }

    - if claim.transfer?
      = render partial: 'shared/claim_transfer_details', locals: { claim: claim }

    - if claim&.requires_trial_dates?
      = render partial: 'shared/claim_trial_details', locals: { claim: claim }

    - if claim&.requires_retrial_dates?
      = render partial: 'shared/claim_retrial_details', locals: { claim: claim }
<commit_msg>Add "evidence served?"" answer to shared claim summary<commit_after>- if claim.certification.present?
  = render partial: 'shared/certification', locals: { claim: claim }

%h3.heading-medium
  = "Claim and case type"
%table.table-summary
  %caption
    %span.table-caption.visuallyhidden
      = "This section contains details of the case"
  %tbody
    - unless claim.providers_ref.blank?
      %tr
        %th{ scope: 'row' }
          = 'Provider reference number'
        %td
          = claim.providers_ref

    - unless claim.draft?
      %tr
        %th{ scope: 'row' }
          = "Claim submitted on"
        %td
          = claim.submitted_at

    - if claim.case_workers.any? && current_user_is_caseworker? && current_user.persona.admin?
      %tr
        %th{ scope: 'row' }
          = t ('.assignee')
        %td
          = claim.case_worker_names

    - if @claim.lgfs?
      %tr
        %th{ scope: 'row' }
          = t('common.external_user.claim_creator')
        %td
          = claim.creator.name

    - if @claim.agfs?
      %tr
        %th{ scope: 'row' }
          = t("common.external_user.#{@claim.external_user_type}")
        %td
          = claim.external_user.name
      %tr
        %th{ scope: 'row' }
          = t("common.external_user.category.#{@claim.external_user_type}")
        %td
          = claim.advocate_category

    %tr
      %th{ scope: 'row' }
        = t("common.external_user.account_number.#{@claim.external_user_type}")
      %td
        = claim.supplier_number

    %tr
      %th{ scope: 'row' }
        = t('common.crown_court')
      %td
        = claim.court.name if claim.court

    %tr
      %th{ scope: 'row' }
        =t('.case_num')
      %td
        = claim.case_number
        %span.unique-id-small
          = claim.unique_id

    - if claim.transfer_court.present?
      %tr
        %th{ scope: 'row' }
          = t('common.transfer_court')
        %td
          = claim.transfer_court.name

      %tr
        %th{ scope: 'row' }
          = t('common.transfer_case_number')
        %td
          = claim.transfer_case_number

    - if claim.case_stage
      %tr
        %th{ scope: 'row' }
          = t('.case_stage')
        %td
          = claim.case_stage&.description

    - if claim.display_case_type?
      %tr
        %th{ scope: 'row' }
          = t('.case_type')
        %td
          = claim.case_type&.name

    - if claim.discontinuance?
      %tr
        %th{ scope: 'row' }
          = t('common.prosecution_evidence')
        %td
          = t(claim.prosecution_evidence?.class)

    - if claim.agfs? && claim.case_type.present? && claim.requires_cracked_dates?
      = render partial: 'shared/claim_cracked_trial_details', locals: { claim: claim }

    - if claim.case_type && claim.case_concluded_at
      = render partial: 'shared/claim_case_concluded_at_details', locals: { claim: claim }

    - if claim.lgfs? && claim.interim? && !claim.interim_fee.nil?
      = render partial: 'shared/claim_interim_details', locals: { claim: claim }

    - if claim.transfer?
      = render partial: 'shared/claim_transfer_details', locals: { claim: claim }

    - if claim&.requires_trial_dates?
      = render partial: 'shared/claim_trial_details', locals: { claim: claim }

    - if claim&.requires_retrial_dates?
      = render partial: 'shared/claim_retrial_details', locals: { claim: claim }

{'fraction_non_alphanumeric': 0.12972890182263747, 'fraction_numerical': 0.00030632562413845916, 'mean_word_length': 2.0273528048215113, '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': '501450', 'n_tokens_mistral': 2149, 'n_tokens_neox': 2105, 'n_words': 408}