<commit_before><% form_for task, :html => {:class => 'task_form', :id => nil, :'data-remote' => true} do |form| %>
  <%= form.error_messages %>
  <%= form.label :text, t(:'.text') %>
  <%= form.text_area :text, :cols => nil, :rows => nil %>
  <%= form.label :responsible_party_id, t(:'.responsible_party') %><br>
  <%= form.select :responsible_party_id, [['---------------' , '']] + @project.users.map {|p| [p.full_name, p.id]} %><br>
  <% if form.object.new_record? %>
    <%= form.submit t(:'tasks.form.create') %> | 
    <input type="button" value="<%=t :'tasks.form.stop' %>" class="cancel">
  <% else %>
    <%= form.submit t(:'tasks.form.update') %> | 
    <%= link_to t(:'tasks.form.cancel'), task, :class => "cancel", "data-remote" => true %>
  <% end %>
  <%= form.hidden_field :insert_after %>
<% end %><commit_msg>insert after field needed only on create<commit_after><% form_for task, :html => {:class => 'task_form', :id => nil, :'data-remote' => true} do |form| %>
  <%= form.error_messages %>
  <%= form.label :text, t(:'.text') %>
  <%= form.text_area :text, :cols => nil, :rows => nil %>
  <%= form.label :responsible_party_id, t(:'.responsible_party') %><br>
  <%= form.select :responsible_party_id, [['---------------' , '']] + @project.users.map {|p| [p.full_name, p.id]} %><br>
  <% if form.object.new_record? %>
    <%= form.submit t(:'tasks.form.create') %> | 
    <input type="button" value="<%=t :'tasks.form.stop' %>" class="cancel">
    <%= form.hidden_field :insert_after %>
  <% else %>
    <%= form.submit t(:'tasks.form.update') %> | 
    <%= link_to t(:'tasks.form.cancel'), task, :class => "cancel", "data-remote" => true %>
  <% end %>
<% end %>
{'fraction_non_alphanumeric': 0.2727814175104229, 'fraction_numerical': 0.0, 'mean_word_length': 3.7592067988668556, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 55, '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': '4479235', 'n_tokens_mistral': 672, 'n_tokens_neox': 606, 'n_words': 118}