{% set current_theme = current_theme() %} {% set config = config() %} {{ current_theme.headertags() }} Resultado de Evaluación {{ current_theme.local_style() }} {{ current_theme.navbar() }}
{{ current_theme.notify() }}

{{ attempt.evaluation.title }}

Resultado del intento {% if attempt.passed %} APROBADO {% else %} NO APROBADO {% endif %}

{{ "%.1f"|format(attempt.score) }}%

Puntuación obtenida

{{ attempt.evaluation.passing_score }}%

Puntuación mínima

{{ attempt.submitted_at.strftime('%d/%m/%Y %H:%M') }}

Fecha de envío

{% if attempt.was_late %}
Este intento fue enviado después de la fecha límite y se aplicó una penalización.
{% endif %}
Detalles de respuestas
{% for answer in attempt.answers %} {% set question = answer.question %}
Pregunta {{ loop.index }}

{{ question.text }}

{% if question.type == "boolean" %} {% if answer.selected_option_ids %} {% set selected_ids = answer.selected_option_ids | fromjson %} {% for option_id in selected_ids %} {% set option = question.options | selectattr("id", "equalto", option_id) | first %}

Tu respuesta: {{ option.text }}

{% endfor %} {% endif %} {% elif question.type == "multiple" %} {% if answer.selected_option_ids %} {% set selected_ids = answer.selected_option_ids | fromjson %}

Tus respuestas:

    {% for option_id in selected_ids %} {% set option = question.options | selectattr("id", "equalto", option_id) | first %}
  • {{ option.text }}
  • {% endfor %}
{% endif %} {% endif %}

Respuestas correctas:

    {% for option in question.options %} {% if option.is_correct %}
  • {{ option.text }}
  • {% endif %} {% endfor %}
{% if question.explanation %}

Explicación:

{{ question.explanation }}

{% endif %}
{% set is_correct = false %} {% if answer.selected_option_ids %} {% set selected_ids = answer.selected_option_ids | fromjson %} {% set correct_ids = question.options | selectattr("is_correct", "equalto", true) | map(attribute="id") | list %} {% if selected_ids | sort == correct_ids | sort %} {% set is_correct = true %} {% endif %} {% endif %} {% if is_correct %} Correcta {% else %} Incorrecta {% endif %}
{% endfor %}