<commit_before><% self.class.send :include, SubjectsHelper, NotificationsHelper, ActionView::Helpers::TextHelper %>
<% locale_as @receiver.subject %>
<%= t('notification.hello', :receiver => @receiver.name)%>

<% if @notification.notified_object.verb == 'join' %>
      <%= render :partial => "notifications/activities/join_#{ @notification.notified_object.direct_object.class.to_s.underscore }", 
                           :locals =>{:activity => @notification.notified_object} %>
<% else %>
  <%= render :partial => "notifications/activities/#{ @notification.notified_object.verb }", 
                     :locals =>{:activity => @notification.notified_object}%>
<% end %>

-----------------------------------------------
<%= raw t('notification.visit', :url=> notifications_url)%><commit_msg>Fix join partial<commit_after><% self.class.send :include, SubjectsHelper, NotificationsHelper, ActionView::Helpers::TextHelper %>
<% locale_as @receiver.subject %>
<%= t('notification.hello', :receiver => @receiver.name)%>

<%= render partial: "notifications/activities/#{ @notification.notified_object.verb }",
           locals: { activity: @notification.notified_object } %>

-----------------------------------------------
<%= raw t('notification.visit', :url=> notifications_url)%>
{'fraction_non_alphanumeric': 0.23616523772408418, 'fraction_numerical': 0.0, 'mean_word_length': 3.4123711340206184, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 27, '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': '3020093', 'n_tokens_mistral': 378, 'n_tokens_neox': 351, 'n_words': 57}