{% set g = subject.guidance %}

Fix guidance

{% if subject.guidance_from == "final" %}

From the final labels.

{% elif subject.guidance_from == "own" %}

From your review.

{% endif %} {% if not g %}

{% if subject.guidance_from == "final" %}No region is rated Major in the final labels, so no fix is listed.{% elif reviewing %}Fix guidance appears here for every problem you mark in a region rated Major.{% else %}Fix guidance is shown here once a problem is marked in a region rated Major.{% endif %}

{% else %} {% if g.warning %}

{{ g.warning }}

{% endif %} {% if g.edited %}

This subject has already been edited: {{ g.evidence | join("; ") }}.

{% endif %} {% for p in g.problems %}

{{ p.region_title }}: {{ p.kind_label }}

{% if p.reviewer %}Marked by {{ p.reviewer }}. {% endif %}{% if p.where %}At surface coordinate {{ p.where }}. {% endif %}{% if p.note %}{{ p.note }}{% endif %}

{% if p.region_note %}

{{ p.region_note }}

{% endif %} {% if not p.steps %}

There is no recipe for this problem.

{% endif %}
    {% for s in p.steps %}
  1. {{ s.text }} {{ s.paint }}

    {% if s["copy"] %}

    Create the file to edit (an existing one is kept):

    {{ s["copy"] }}
    {% endif %}

    Open it at the marked place:

    {{ s.freeview }}

    {{ s.rerun.label }}:

    {{ s.rerun.command }}
  2. {% endfor %}
{% endfor %} {% if g.rerun_note %}

{{ g.rerun_note }}

{% endif %} {% if g.never_edit %}

Do not edit: {{ g.never_edit | join(", ") }}. {{ g.never_edit_note }}

{% endif %} {% if g.cautions %}{% endif %} {% if g.docs %}

Editing documentation: {{ g.docs }}

{% endif %}

After the rerun, run surfaceqa build again; the subject then needs a new review.

{% endif %}