<commit_before><div class="alert alert-info">
  <p><%= @resource.latest_status_action(Action::REQUEST_REVIEW).requester.name %> has requested this edition be reviewed</p>

  <% if @resource.latest_status_action.requester == current_user %>
    <p>That&rsquo;s you! You'll get an email when it has been reviewed.</p>
  <% else %>
    <div class="workflow_buttons">
      <%= review_buttons(@resource)%>
    </div>
    <%= review_forms(@resource)%>
  <% end %>
</div><commit_msg>Provide a fallback when we can't retrieve actions.<commit_after><div class="alert alert-info">
  <% if @resource.latest_status_action(Action::REQUEST_REVIEW) %>
    <p><%= @resource.latest_status_action(Action::REQUEST_REVIEW).requester.name %> has requested this edition be reviewed.</p>
    <% if @resource.latest_status_action.requester == current_user %>
      <p>That&rsquo;s you! You'll get an email when it has been reviewed.</p>
    <% else %>
      <div class="workflow_buttons">
        <%= review_buttons(@resource)%>
      </div>
      <%= review_forms(@resource)%>
    <% end %>
  <% else %>
    <p>We're having trouble accessing the action data. This Edition has been requested to be reviewed.</p>
    <div class="workflow_buttons">
      <%= review_buttons(@resource)%>
    </div>
    <%= review_forms(@resource)%>
  <% end %>
</div>
{'fraction_non_alphanumeric': 0.16226415094339622, 'fraction_numerical': 0.0, 'mean_word_length': 4.1, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, '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': '3505198', 'n_tokens_mistral': 446, 'n_tokens_neox': 407, 'n_words': 96}