<commit_before>{% extends "project/base.html" %}

{% block content %}
<div class="alert alert-success">
 <strong>Splitting done!</strong> 
 <ul>
 {% if form_data.remove_from_all_sets or form_data.remove_from_sets %}
    <li>
    The article was removed from the following sets:
    <ul>
    {% if form_data.remove_from_all_sets %}
       {% for set in all_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
       {% endfor %}
    {% else %}
       {% for set in form_data.remove_from_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
       {% endfor %}
    {% endif %}
      </ul>
    </li>
 {% endif %}

 {% if new_splitted_set %}
  <li>The original article added to new set <a href="{% url "article set-details" project.id new_splitted_set.id %}">{{new_splitted_set.name}} ({{new_splitted_set.id}})</a></li>
 {% endif %}

 {% if new_set %}
  <li>The new articles were added to new set <a href="{% url "article set-details" project.id new_set.id %}">{{new_set.name}} ({{new_set.id}})</a></li>
 {% endif %}

 {% if form_data.add_splitted_to_sets %}
   <li>Splitted articles were added to the following sets:</li>
   <ul>
   {% for set in form_data.add_splitted_to_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
   {% endfor %}
   </ul>
   </li>
 {% endif %}

 {% if form_data.add_to_sets %}
   <li>Original article added to the following sets:</li>
   <ul>
   {% for set in form_data.add_to_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
   {% endfor %}
   </ul>
   </li>
 {% endif %}

 {% if form_data.add_splitted_to_all %}<commit_msg>Corrected messages in article_split_done.html<commit_after>{% extends "project/base.html" %}

{% block content %}
<div class="alert alert-success">
 <strong>Splitting done!</strong> 
 <ul>
 {% if form_data.remove_from_all_sets or form_data.remove_from_sets %}
    <li>
    The article was removed from the following sets:
    <ul>
    {% if form_data.remove_from_all_sets %}
       {% for set in all_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
       {% endfor %}
    {% else %}
       {% for set in form_data.remove_from_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
       {% endfor %}
    {% endif %}
      </ul>
    </li>
 {% endif %}

 {% if new_splitted_set %}
     <li>The new articles were added to new set <a href="{% url "article set-details" project.id new_set.id %}">{{new_set.name}} ({{new_set.id}})</a></li>
 {% endif %}

 {% if new_set %}
     <li>The original article added to new set <a href="{% url "article set-details" project.id new_splitted_set.id %}">{{new_splitted_set.name}} ({{new_splitted_set.id}})</a></li>
 {% endif %}

 {% if form_data.add_splitted_to_sets %}
   <li>Splitted articles were added to the following sets:</li>
   <ul>
   {% for set in form_data.add_splitted_to_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
   {% endfor %}
   </ul>
   </li>
 {% endif %}

 {% if form_data.add_to_sets %}
   <li>Original article added to the following sets:</li>
   <ul>
   {% for set in form_data.add_to_sets %}
        <li><a href="{% url "article set-details" project.id set.id %}">{{set.name}} ({{set.id}})</a></li>
   {% endfor %}
   </ul>
   </li>
 {% endif %}

 {% if form_data.add_splitted_to_all %}
{'fraction_non_alphanumeric': 0.20268787712561712, 'fraction_numerical': 0.0, 'mean_word_length': 3.2956419316843344, 'pattern_counts': {'":': 0, '<': 87, '<?xml version=': 0, '>': 87, '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': '2975001', 'n_tokens_mistral': 1434, 'n_tokens_neox': 1286, 'n_words': 315}