<commit_before>Dear <%= @recipients_list %>,

<% if @submission.has_enough_reports? %>
All reports commissioned for "<%= @submission.title %>" are now complete. Please enter a decision within <%= JournalSettings.days_after_reports_completed_to_submit_decision %> days.
<% else %>
The <%= 'report'.pluralize @submission.number_of_complete_reports %> commissioned for "<%= @submission.title %>" <%= is_are @submission.number_of_complete_reports %> now complete. Unless you choose to reject this submission, please secure at least <%= humanize @submission.number_of_reports_still_needed %> more <%= 'report'.pluralize @submission.number_of_reports_still_needed %>.

(From the editorial guide: "should one negative report be received before a second can be successfully commissioned, the area editor may decide to reject the submission on the basis of the one report. Otherwise, at least two reports are required for a decision." <%= guide_url %>)
<% end %>

<% if @submission.area_editor %>
You can access the submission here: <%= one_click_edit_url(@submission.auth_token) %>

<% end %>
<%= render 'email_footer' %><commit_msg>Fix text of 'All Reports Complete' email for R&Rs: don't instruct the AE to get a second report.<commit_after>Dear <%= @recipients_list %>,

<% if @submission.has_enough_reports? || @submission.revision_number > 0 %>
All reports commissioned for "<%= @submission.title %>" are now complete. Please enter a decision within <%= JournalSettings.days_after_reports_completed_to_submit_decision %> days.
<% else %>
The <%= 'report'.pluralize @submission.number_of_complete_reports %> commissioned for "<%= @submission.title %>" <%= is_are @submission.number_of_complete_reports %> now complete. Unless you choose to reject this submission, please secure at least <%= humanize @submission.number_of_reports_still_needed %> more <%= 'report'.pluralize @submission.number_of_reports_still_needed %>.

(From the editorial guide: "should one negative report be received before a second can be successfully commissioned, the area editor may decide to reject the submission on the basis of the one report. Otherwise, at least two reports are required for a decision." <%= guide_url %>)
<% end %>

<% if @submission.area_editor %>
You can access the submission here: <%= one_click_edit_url(@submission.auth_token) %>

<% end %>
<%= render 'email_footer' %>
{'fraction_non_alphanumeric': 0.11359797297297297, 'fraction_numerical': 0.0004222972972972973, 'mean_word_length': 6.050595238095238, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 36, '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': '5832550', 'n_tokens_mistral': 731, 'n_tokens_neox': 626, 'n_words': 225}