<commit_before>{% import "bootstrap_wtf.html" as wtf %}
<form class="form form-horizontal comment-form {% if not item_page or edit %}comment-inline{% endif %}"method="post" action="{{url_for('item', id=item.id)}}" data-pjax>
  {{ form.hidden_tag() }}
  {{ wtf.form_errors(form, "only") }}
  
  {% if not item_page %}
  {{ wtf.comment_field(form.text, autofocus=autofocus) }}
  {% else %}
  {{ wtf.comment_field(form.text) }}
  {% endif %}
  {{ wtf.inline_field(form.kind) }}
  {{ wtf.inline_field(form.parent_id, value=item.id) }}
  {% if edit %}
  {{ wtf.inline_field(form.edit, value=True) }}
  {% endif %}
  <div class="form-group submit">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
      <button type="submit" class="btn btn-default btn-xs">submit</button>
    </div>
  </div>
</form><commit_msg>remove duplicate errors.<commit_after>{% import "bootstrap_wtf.html" as wtf %}
<form class="form form-horizontal comment-form {% if not item_page or edit %}comment-inline{% endif %}"method="post" action="{{url_for('item', id=item.id)}}" data-pjax>
  {{ form.hidden_tag() }}
  
  {% if not item_page %}
  {{ wtf.comment_field(form.text, autofocus=autofocus) }}
  {% else %}
  {{ wtf.comment_field(form.text) }}
  {% endif %}
  {{ wtf.inline_field(form.kind) }}
  {{ wtf.inline_field(form.parent_id, value=item.id) }}
  {% if edit %}
  {{ wtf.inline_field(form.edit, value=True) }}
  {% endif %}
  <div class="form-group submit">
    <div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
      <button type="submit" class="btn btn-default btn-xs">submit</button>
    </div>
  </div>
</form>
{'fraction_non_alphanumeric': 0.2052401746724891, 'fraction_numerical': 0.009981285090455396, 'mean_word_length': 4.092063492063492, 'pattern_counts': {'":': 0, '<': 19, '<?xml version=': 0, '>': 19, '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': '6704304', 'n_tokens_mistral': 630, 'n_tokens_neox': 587, 'n_words': 109}