← Back to Articles

{{ article.title or article.article_title }}

{{ article.description or article.article_description }}

Published: {{ article.date_publish or article.article_publish_date }} {% if article.date_modify or article.article_modify_date %}
Modified: {{ article.date_modify or article.article_modify_date }} {% endif %} {% if article.date_download or article.article_download_date %}
Downloaded: {{ article.date_download or article.article_download_date }} {% endif %}

Article Content
{{ article.maintext or article.article_maintext }}
{% set has_direct_fields = article.question_title and article.background %}

Final Question{% if is_freeq %} (Free-form){% else %} (Multiple Choice){% endif %}

{% if has_direct_fields %}
Direct Format {% if is_freeq %}Free-form{% else %}MCQ{% endif %}
{{ article.question_title }}
{% if article.background %}
Background Information:

{{ article.background }}

{% endif %} {% if article.resolution_criteria %}
Resolution Criteria:
{{ article.resolution_criteria|safe }}
{% endif %} {% if article.answer_type %}
Answer Type: {{ article.answer_type }}
{% endif %} {% if article.answer %}
Answer: {{ article.answer }}
{% endif %} {% if article.resolution_date or article.question_start_date %} {% endif %}
{% elif article.final_question %}
{% else %} {% endif %} {% if not has_direct_fields %}

Processing Details

{% if article.generated_questions %}
{{ article.generated_questions }}
{% endif %} {% set has_individual_validation = article.q1 or article.q2 or article.q3 %} {% if has_individual_validation %}
{% set ns = namespace(valid_count=0, total_count=0) %} {% for i in range(1, 4) %} {% if article["q" + i|string] %} {% set ns.total_count = ns.total_count + 1 %} {% if article["q" + i|string + "_valid"] == 1 %} {% set ns.valid_count = ns.valid_count + 1 %} {% endif %} {% endif %} {% endfor %} {{ ns.valid_count }}/{{ ns.total_count }} Valid
{% for i in range(1, 4) %} {% set q_field = "q" + i|string %} {% set q_valid_field = "q" + i|string + "_valid" %} {% set q_validation_response_field = "q" + i|string + "_validation_response" %} {% if article[q_field] %}
Question {{ i }} {% if article[q_valid_field] is defined %} {% if article[q_valid_field] == 1 %} ✓ Valid {% else %} ✗ Invalid {% endif %} {% else %} Unknown {% endif %}
{% if article[q_validation_response_field] %}
{{ article[q_validation_response_field] }}
{% endif %}
{% endif %} {% endfor %}
{% if ns.total_count == 0 %}
No Individual Questions Found

Individual questions haven't been extracted yet. This step occurs after question generation in the pipeline.

{% endif %}
{% endif %} {% if article.choose_best_response %}
{{ article.choose_best_response }}
{% endif %} {% if article.leakage_check_response %}
{{ article.leakage_check_response }}
{% endif %} {% if article.validate_questions_response %}
{% if article.final_question_valid is defined %} {% if article.final_question_valid == 1 %} ✓ Valid Question {% else %} ✗ Invalid Question {% endif %} {% else %} Validation Status Unknown {% endif %}
{% if article.final_question_valid is defined %}
{% if article.final_question_valid == 1 %} ✓ Question Validation: PASSED {% else %} ✗ Question Validation: FAILED {% endif %}
{% if article.final_question_valid == 1 %} The final question is faithful to the article content and meets validation criteria. {% else %} The final question contains inaccuracies or is not properly grounded in the article content. {% endif %}
{% endif %}
{{ article.validate_questions_response }}
{% endif %} {% set has_any_processing_data = article.generated_questions or article.q1 or article.q2 or article.q3 or article.choose_best_response or article.leakage_check_response or article.validate_questions_response %} {% if not has_any_processing_data %} {% endif %}
{% endif %} {% if has_direct_fields and article.final_question %}

Raw Data

{{ article.final_question }}
{% endif %}