<commit_before><div class='row' style='margin-left:5px;'>
  <div class='col-md-9'>
    <strong>
      <%= link_to "#{activity.event.humanize}", edit_community_admin_friend_activity_path(current_community.slug, friend, activity), remote: true, class: 'open_activity_modal' %>
      <%= activity.occur_at.strftime("-- %I:%M %p, %A, %B %-d, %Y") %>
    </strong><br>
    <% if activity.location.present? %>
      <strong>Location:  </strong><%= activity.location.name %><br>
    <% end %>
    <% if activity.judge.present? %>
      <strong>Judge:  </strong><%= activity.judge.name %><br>
    <% end %>
    <% if activity.notes.present? %>
      <strong>Notes:  </strong><%= activity.notes %><br>
    <% end %>
    <% if activity.accompaniment_leader_accompaniments.present? %>
      <strong>Accompaniment Leaders:  </strong>
      <%= render 'shared/scoped_activity_users_details', activity: activity, scope: 'accompaniment_leader' %>
    <% end %>
    <% if activity.volunteer_accompaniments.present? %>
      <strong>Volunteers:  </strong>
      <%= render 'shared/scoped_activity_users_details', activity: activity, scope: 'volunteer' %>
    <% end %>
    <% if activity.accompaniment_reports.present? %>
      <% activity.accompaniment_reports.each do |report| %>
        <strong>Accompaniment Leader Notes <%= "by #{report.user.name}" if report.user.present? %>:</strong>
        <%= report.notes %>
        <br>
      <% end %>
    <% end %>
    <strong>
      <%= link_to 'Remove', community_admin_friend_activity_path(current_community.slug, friend, activity), method: :delete, :data => {:confirm => 'Are you sure you want to remove this activity?'}, remote: true, style: 'color: #b30000 !important; font-style: italic;' %>
    </strong>
  </div><commit_msg>use new hash syntax<commit_after><div class='row' style='margin-left:5px;'>
  <div class='col-md-9'>
    <strong>
      <%= link_to "#{activity.event.humanize}", edit_community_admin_friend_activity_path(current_community.slug, friend, activity), remote: true, class: 'open_activity_modal' %>
      <%= activity.occur_at.strftime("-- %I:%M %p, %A, %B %-d, %Y") %>
    </strong><br>
    <% if activity.location.present? %>
      <strong>Location:  </strong><%= activity.location.name %><br>
    <% end %>
    <% if activity.judge.present? %>
      <strong>Judge:  </strong><%= activity.judge.name %><br>
    <% end %>
    <% if activity.notes.present? %>
      <strong>Notes:  </strong><%= activity.notes %><br>
    <% end %>
    <% if activity.accompaniment_leader_accompaniments.present? %>
      <strong>Accompaniment Leaders:  </strong>
      <%= render 'shared/scoped_activity_users_details', activity: activity, scope: 'accompaniment_leader' %>
    <% end %>
    <% if activity.volunteer_accompaniments.present? %>
      <strong>Volunteers:  </strong>
      <%= render 'shared/scoped_activity_users_details', activity: activity, scope: 'volunteer' %>
    <% end %>
    <% if activity.accompaniment_reports.present? %>
      <% activity.accompaniment_reports.each do |report| %>
        <strong>Accompaniment Leader Notes <%= "by #{report.user.name}" if report.user.present? %>:</strong>
        <%= report.notes %>
        <br>
      <% end %>
    <% end %>
    <strong>
      <%= link_to 'Remove', community_admin_friend_activity_path(current_community.slug, friend, activity), method: :delete, data: { confirm: 'Are you sure you want to remove this activity?' }, remote: true, style: 'color: #b30000 !important; font-style: italic;' %>
    </strong>
  </div>
{'fraction_non_alphanumeric': 0.17857142857142858, 'fraction_numerical': 0.003968253968253968, 'mean_word_length': 3.7179144385026737, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 101, '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': '5446478', 'n_tokens_mistral': 1253, 'n_tokens_neox': 1119, 'n_words': 228}