<commit_before><% if contact.contact_form_links.any? %>
  <div class="online-forms">
    <h2>Online forms</h2>
    <ul class="form-links">
      <%= render partial: "contact_form_link", collection: contact.contact_form_links %>
    </ul>
    <div class="govspeak">
      <%= raw contact.more_info_contact_form %>
    </div>
  </div>
<% end -%>

<% if contact.email_addresses.any? %>
  <h2 class="details-header">Email</h2>
  <div class="details">
    <p class="description"><%= contact.more_info_email_address.to_s %></p>
    <ul class="email">
      <%= render partial: "email_address", collection: contact.email_addresses %>
    </ul>
  </div>
<% end %>

<% if contact.phone_numbers.any? %>
  <h2 class="details-header">Phone</h2>
  <div class="details">
    <%= render partial: "phone_number", collection: contact.phone_numbers %>
  </div>
<% end %>

<% if contact.post_addresses.any? %>
  <h2 class="details-header">Post</h2>
  <div class="details">
    <%= render partial: "post_address", collection: contact.post_addresses %>
    <div class="govspeak"><commit_msg>Show more info for phone number <commit_after><% if contact.contact_form_links.any? %>
  <div class="online-forms">
    <h2>Online forms</h2>
    <ul class="form-links">
      <%= render partial: "contact_form_link", collection: contact.contact_form_links %>
    </ul>
    <div class="govspeak">
      <%= raw contact.more_info_contact_form %>
    </div>
  </div>
<% end -%>

<% if contact.email_addresses.any? %>
  <h2 class="details-header">Email</h2>
  <div class="details">
    <p class="description"><%= contact.more_info_email_address.to_s %></p>
    <ul class="email">
      <%= render partial: "email_address", collection: contact.email_addresses %>
    </ul>
  </div>
<% end %>

<% if contact.phone_numbers.any? %>
  <h2 class="details-header">Phone</h2>
  <div class="details">
    <%= render partial: "phone_number", collection: contact.phone_numbers %>
  <div class="govspeak">
      <%= raw contact.more_info_phone_number %>
    </div>
    </div>
<% end %>

<% if contact.post_addresses.any? %>
  <h2 class="details-header">Post</h2>
  <div class="details">
    <%= render partial: "post_address", collection: contact.post_addresses %>
    <div class="govspeak">
{'fraction_non_alphanumeric': 0.18530066815144766, 'fraction_numerical': 0.0071269487750556795, 'mean_word_length': 4.058558558558558, 'pattern_counts': {'":': 0, '<': 80, '<?xml version=': 0, '>': 80, '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': '4142765', 'n_tokens_mistral': 819, 'n_tokens_neox': 764, 'n_words': 146}