{% extends 'bootstrap_base.html' %} {% from 'bootstrap/form.html' import render_field %} {% from 'bootstrap/form.html' import render_form %} {% block header %}

Task {{task_index | safe}} / {{task_total | safe}}

Given an image, you are asked to identify images which indicate potential skin cancer.

{% endblock %} {% block content %}

Task Description:

Please look at the image below, and decide whether it is malignant (harmful in effect) or benign (not harmful in effect).

Responsive image
{% macro _hz_form_wrap(horizontal_columns, form_type, add_group=False, required=False) %} {% if form_type == "horizontal" %} {% if add_group %}
{% endif %}
{% endif %} {{ caller() }} {% endmacro %} {% macro render_radio_field(field, form_type="basic", horizontal_columns=('lg', 2, 10), button_map={}, button_style='', button_size='') %} {% if field.flags.required and not required in kwargs %} {% set kwargs = dict(required=True, **kwargs) %} {% endif %} {% set extra_classes = ' ' + field.render_kw.class if field.render_kw.class else '' %}
{{ field.label(class="form-control-label")|safe }}
{#% call _hz_form_wrap(horizontal_columns, form_type, True, required=required) %#} {% for item in field -%}
{{ item(class_="form-check-input")|safe }} {{ item.label(class="form-check-label", for=item.id)|safe }}
{% endfor %} {#% endcall %#} {%- if field.errors %} {%- for error in field.errors %}
{{ error }}
{%- endfor %} {%- elif field.description -%} {{ field.description|safe }} {%- endif %}
{% endmacro %} {% if advice != 'None' %}

AI Advice with Explanations Using Analogies:

{{advice | safe}}

The analogies can be seen in the colored area under the explanations

Positive Evidence:

{% if positive_claim|length == 0 %}

None

{% elif positive_claim|length > 0 %}
    {% for item in positive_claim -%}
  • {{item.concept | safe}}: {{item.target_domain | safe}}
  • {% endfor %}
{% endif %}

Negative Evidence:

{% if negative_claim|length == 0 %}

None

{% elif negative_claim|length > 0 %}
    {% for item in negative_claim -%}
  • {{item.concept | safe}}: {{item.target_domain | safe}}
  • {% endfor %}
{% endif %}
{% endif %}
{{form.hidden_tag()}}

Task:

{{ render_field(form.question) }}

Confidence:

{{ render_field(form.confidence)}}
{% endblock %}