<commit_before>Hello <%= @user.first_name %>,

This is a weekly digest of your pending items on digitalsocial.eu

<% if @organisation.pending_project_invites.any? %>
<%= @organisation.name %> has pending invites to the following activities:

<% @organisation.pending_project_invites.each do |inv| %>
* <%= inv.project_resource.name %>
<% end %>
<% end %>

<% if @organisation.pending_project_requests_by_others.any? %>
The following organisations have requested to join <%= @organisation.name %>'s activities:

<% @organisation.pending_project_requests_by_others.each do |req| %>
* <%= req.requestor_organisation_resource.name %> (<%= req.project_resource.name %>)
<% end %>
<% end %>

<% if @organisation.respondable_user_requests.any? %>
The following users have requested to join your organisation:

<% @organisation.respondable_user_requests.each do |request| %>
* <%= request.user.first_name %> (<%= request.user.email %>)<commit_msg>digest text tweak<commit_after>Hello <%= @user.first_name %>,

This is a summary of your pending items on digitalsocial.eu

<% if @organisation.pending_project_invites.any? %>
<%= @organisation.name %> has pending invites to the following activities:

<% @organisation.pending_project_invites.each do |inv| %>
* <%= inv.project_resource.name %>
<% end %>
<% end %>

<% if @organisation.pending_project_requests_by_others.any? %>
The following organisations have requested to join <%= @organisation.name %>'s activities:

<% @organisation.pending_project_requests_by_others.each do |req| %>
* <%= req.requestor_organisation_resource.name %> (<%= req.project_resource.name %>)
<% end %>
<% end %>

<% if @organisation.respondable_user_requests.any? %>
The following users have requested to join your organisation:

<% @organisation.respondable_user_requests.each do |request| %>
* <%= request.user.first_name %> (<%= request.user.email %>)
{'fraction_non_alphanumeric': 0.14818763326226012, 'fraction_numerical': 0.0, 'mean_word_length': 5.951851851851852, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 39, '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': '2883225', 'n_tokens_mistral': 634, 'n_tokens_neox': 550, 'n_words': 129}