<commit_before><!--[form:name_description]-->

<%= render(:partial => 'shared/form_description',
           :locals => { :form => form }) %>

<label><%= :DESCRIPTION.t %>:</label><br/>
<%= render(:partial => 'shared/textilize_help') %>
<br/>

<% rank = rank_as_lower_string(@description.parent.rank) %>
<% for f in NameDescription.all_note_fields %>
  <% if (f != :classification) or @description.parent.above_species? %>
    <p>
      <label for="description_<%= f %>"><%= :"form_names_#{f}".t %>:</label>
      <span class="HelpNote"><%= :"form_names_#{f}_help".l(:rank => rank) %></span><br/>
      <%= form.text_area(f, :cols => 80) %>
    </p>
  <% end %>
<% end %>

<!--[eoform:name_description]--><commit_msg>Re-enabled editing Taxonomic classification below the genus level.<commit_after><!--[form:name_description]-->

<%= render(:partial => 'shared/form_description',
           :locals => { :form => form }) %>

<label><%= :DESCRIPTION.t %>:</label><br/>
<%= render(:partial => 'shared/textilize_help') %>
<br/>

<% rank = rank_as_lower_string(@description.parent.rank) %>
<% for f in NameDescription.all_note_fields %>
  <p>
    <label for="description_<%= f %>"><%= :"form_names_#{f}".t %>:</label>
    <span class="HelpNote"><%= :"form_names_#{f}_help".l(:rank => rank) %></span><br/>
    <%= form.text_area(f, :cols => 80) %>
  </p>
<% end %>

<!--[eoform:name_description]-->
{'fraction_non_alphanumeric': 0.2537742631200575, 'fraction_numerical': 0.002875629043853343, 'mean_word_length': 4.374517374517374, 'pattern_counts': {'":': 0, '<': 51, '<?xml version=': 0, '>': 63, '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': '3214664', 'n_tokens_mistral': 535, 'n_tokens_neox': 485, 'n_words': 82}