{% extends "_base.html" %} {% block header_javascripts %} {% endblock %} {% block content %}

Iteration ({{status.iteration_id}}): Texts synthesis

{% set number_of_remaining_texts = (texts.values() | selectattr("is_deleted", "equalto", false) | list | length) %} {% set number_of_deleted_texts = (texts.values() | selectattr("is_deleted", "equalto", true) | list | length) %} {% set number_of_texts = (number_of_remaining_texts + number_of_deleted_texts) %} {% set number_of_MUST_LINK_constraints = (constraints.values() | selectattr("is_hidden", "equalto", false) | selectattr("constraint_type", "equalto", "MUST_LINK") | list | length) %} {% set number_of_CANNOT_LINK_constraints = (constraints.values() | selectattr("is_hidden", "equalto", false) | selectattr("constraint_type", "equalto", "CANNOT_LINK") | list | length) %} {% set number_of_SKIP_constraints = (constraints.values() | selectattr("is_hidden", "equalto", false) | selectattr("constraint_type", "equalto", none) | list | length) %} {% set number_of_constraints = (number_of_MUST_LINK_constraints + number_of_CANNOT_LINK_constraints) %} {% set number_of_constraints_to_annotate = (constraints.values() | selectattr("is_hidden", "equalto", false) | selectattr("to_annotate", "equalto", true) | list | length) %} {% set number_of_constraints_to_review = (constraints.values() | selectattr("is_hidden", "equalto", false) | selectattr("to_review", "equalto", true) | list | length) %} {% set number_of_constraints_to_fix = (constraints.values() | selectattr("is_hidden", "equalto", false) | selectattr("to_fix_conflict", "equalto", true) | list | length) %} {% if status.state_details.step == "ANNOTATION" %} {% set modelization_disabled = (status.state not in ["ANNOTATION_WITH_OUTDATED_MODELIZATION_WITHOUT_CONFLICTS", "ANNOTATION_WITH_OUTDATED_MODELIZATION_WITH_CONFLICTS"]) %} {% endif %}
The ID of the project: {{project_id}}
Number of texts: {{ number_of_remaining_texts }} texts info
Number of constraints: {% if number_of_constraints==0 %} No constraint {% else %} {{ number_of_constraints }} constraints {% endif %} {% if status.state_details.step == "ANNOTATION" %}
and {{ number_of_constraints_to_annotate }} need your annotation. {% endif %} info
Modelization state: {% if (status.state_details.modelization_status == "TODO") %} warning Modelization is empty. Please run modelization update. {% elif (status.state_details.modelization_status == "UPTODATE") %} done Modelization is up to date. Any modification will lead to an outdated modelization. {% elif (status.state_details.modelization_status == "OUTDATED") %} warning Modelization is outdated{% if status.state_details.conflict_status == "TRUE" %} with some conflits{% endif %}. Please run modelization update after your modifications to check project consistency and constraints conflicts. {% elif (status.state_details.modelization_status in ["PENDING", "WORKING"]) %} update Modelization update is in progress. Page will reload in a few moments. {% else %} error An unexpected modelization error occurred. Please check your project. {% endif %}
{% if status.state_details.step != "ANNOTATION" %} Annotation step is locked: Please follow the project steps to unlock it. {% elif status.state_details.step == "ANNOTATION" %} {% set has_conflicts = (status.state_details.conflict_status == "TRUE") %} {% if has_conflicts %} There are conflicts in constraints: Please run modelization update to check project consistency. {% endif %} {% endif %}

List of texts

{% set modification_disabled = (status.state not in ["ANNOTATION_WITH_UPTODATE_MODELIZATION", "ANNOTATION_WITH_OUTDATED_MODELIZATION_WITHOUT_CONFLICTS", "ANNOTATION_WITH_OUTDATED_MODELIZATION_WITH_CONFLICTS"]) %}
Sort by:
{% for text_id, text in texts.items() %} {% endfor %}
Preprocess text Current text Deleted
« {{ text.text_preprocessed }} »
« {{ text.text }} »
delete
{% endblock %}