<commit_before><%= error_messages_for 'public_body' %>

<!--[form:public_body]-->
<p><label for="public_body_name">Name</label><br/>
<%= text_field 'public_body', 'name', :size => 60  %></p>
<p><label for="public_body_short_name">Short name (also used to make URL, leave blank for same as name. Don't worry about breaking URLs through renaming, as the history is used to redirect)</label><br/>
<%= text_field 'public_body', 'short_name', :size => 60  %></p>
<p><label for="public_body_tag_string">Tags (space separated:
    <% for category, description in PublicBody.categories_by_tag %>
        <% if category != "other" %>
            <strong><%= category %></strong>=<%= description %>;
        <% end %>
    <% end %>
)</label><br/>
<%= text_field 'public_body', 'tag_string', :size => 80  %></p>


<p><label for="public_body_request_email">Request email</label><br/>
<%= text_field 'public_body', 'request_email', :size => 40  %></p>

<p><label for="public_body_complaint_email">Complaint email</label><br/>
<%= text_field 'public_body', 'complaint_email', :size => 40  %></p>
<commit_msg>Better help text<commit_after><%= error_messages_for 'public_body' %>

<!--[form:public_body]-->
<p><label for="public_body_name">Name</label><br/>
<%= text_field 'public_body', 'name', :size => 60  %></p>
<p><label for="public_body_short_name">Short name (only put in abbreviations which are really used, otherwise leave blank. Short or long name is used in the URL - don't worry about breaking URLs through renaming, as the history is used to redirect)</label><br/>
<%= text_field 'public_body', 'short_name', :size => 60  %></p>
<p><label for="public_body_tag_string">Tags (space separated:
    <% for category, description in PublicBody.categories_by_tag %>
        <% if category != "other" %>
            <strong><%= category %></strong>=<%= description %>;
        <% end %>
    <% end %>
)</label><br/>
<%= text_field 'public_body', 'tag_string', :size => 80  %></p>


<p><label for="public_body_request_email">Request email</label><br/>
<%= text_field 'public_body', 'request_email', :size => 40  %></p>

<p><label for="public_body_complaint_email">Complaint email</label><br/>
<%= text_field 'public_body', 'complaint_email', :size => 40  %></p>

{'fraction_non_alphanumeric': 0.1942222222222222, 'fraction_numerical': 0.008888888888888889, 'mean_word_length': 5.116847826086956, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 93, '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': '3817808', 'n_tokens_mistral': 793, 'n_tokens_neox': 719, 'n_words': 189}