<commit_before><p id="notice"><%= notice %></p>

<p>
  <strong>Date:</strong>
  <%= @grant.application_date %>
</p>

<p>
  <strong>Details:</strong>
  <%= @grant.details %>
</p>

<%= link_to 'Edit', edit_grant_path(@grant) %> |
<%= link_to 'Back', grants_path %>

<%= react_component('GrantControls',
                      grant: @grant,
                      payee: @grant_payee,
                      statuses: @grant_statuses) if current_user.admin? %>
<commit_msg>Fix a bug when there is no Payee record yet<commit_after><p id="notice"><%= notice %></p>

<p>
  <strong>Date:</strong>
  <%= @grant.application_date %>
</p>

<p>
  <strong>Details:</strong>
  <%= @grant.details %>
</p>

<%= link_to 'Edit', edit_grant_path(@grant) %> |
<%= link_to 'Back', grants_path %>

<%= react_component('GrantControls',
                      grant: @grant,
                      payee: @grant_payee || {},
                      statuses: @grant_statuses) if current_user.admin? %>

{'fraction_non_alphanumeric': 0.1934156378600823, 'fraction_numerical': 0.0, 'mean_word_length': 2.7423076923076923, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '6620775', 'n_tokens_mistral': 370, 'n_tokens_neox': 325, 'n_words': 63}