<commit_before>= content_for :title do
  = "#{t(event_search_using_staged_message)} #{h(@staged_message.id)} / #{h(@staged_message.patient.patient_name)}"

= link_to h(t('back_to', :name => t('staged_messages'))), staged_messages_path

%fieldset.form
  %legend=t 'message_details'
  %table.list
    %tr
      %td
        = render @staged_message

%br
- if defined? @results
  -if @results.empty?
    %b=t('no_results')
  -else
    %table#search_results.list
      %tr
        %th=t 'name'
        %th=t 'birth_date'
        %th=t 'gender'
        %th=t 'event_type'
        %th=t 'jurisdiction'<commit_msg>EVENT SEARCH USING STAGED MESSAGE 1 / SMOKER, STEVE is not translated in Spanish<commit_after>= content_for :title do
  = "#{t('event_search_using_staged_message')} #{h(@staged_message.id)} / #{h(@staged_message.patient.patient_name)}"

= link_to h(t('back_to', :name => t('staged_messages'))), staged_messages_path

%fieldset.form
  %legend=t 'message_details'
  %table.list
    %tr
      %td
        = render @staged_message

%br
- if defined? @results
  -if @results.empty?
    %b=t('no_results')
  -else
    %table#search_results.list
      %tr
        %th=t 'name'
        %th=t 'birth_date'
        %th=t 'gender'
        %th=t 'event_type'
        %th=t 'jurisdiction'
{'fraction_non_alphanumeric': 0.15300546448087432, 'fraction_numerical': 0.00078064012490242, 'mean_word_length': 3.3164983164983166, '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': '3223672', 'n_tokens_mistral': 493, 'n_tokens_neox': 482, 'n_words': 91}