<commit_before>{% extends "checker/base.html" %}

{% set title = _('Summary of your answers') %}

{% import "macros/review.html" as Review %}

{% block inner_content %}
  <h1>{{ title }}</h1>

  <form method="POST" class="answers-summary">
    {% if session.checker.scope_answers %}
      <section id="step-scope">
        <header>
          <h2>{{ _('You problem area') }}</h2>
          <a class="button-secondary button-small" href="{{ url_for('scope.diagnosis') }}">
            {{ _('Change answers') }}
          </a>
        </header>
        <ul class="answers">
          {% for item in session.checker.scope_answers %}
            <li class="answers-item">
              <div class="question">{{ item.question }}</div>
              <div class="answer">
                <strong>{{ item.answer }}</strong>
              </div>
            </li>
          {% endfor %}
        </ul>
      </section>
    {% endif %}

    {% for step in steps %}
      {% set answers = step.completed_fields() %}
      {% with step_title = step.form_class.title %}
        <section id="step-{{ step.name }}">
          <header>
            <h2>{{ step_title }}</h2>
            <a class="button-secondary button-small" href="{{ url_for('checker.wizard', step=step.name) }}">
              {% if step.name in ['property', 'income'] or answers|length > 1 %}
                {{ _('Change answers') }}
              {% else %}
                {{ _('Change answer') }}
              {% endif %}
            </a>
          </header>
          <ul class="answers">
            {% for field in answers %}
              {{ Review.render_field(field, step_title) }}
            {% endfor %}
          </ul>
        </section>
      {% endwith %}
    {% endfor %}

    {{ form.csrf_token }}
    {{ Form.honeypot(form) }}
    {{ Form.actions(_('Confirm')) }}
  </form>
{% endblock %}
<commit_msg>"you problem area" typo on review page<commit_after>{% extends "checker/base.html" %}

{% set title = _('Summary of your answers') %}

{% import "macros/review.html" as Review %}

{% block inner_content %}
  <h1>{{ title }}</h1>

  <form method="POST" class="answers-summary">
    {% if session.checker.scope_answers %}
      <section id="step-scope">
        <header>
          <h2>{{ _('Your problem area') }}</h2>
          <a class="button-secondary button-small" href="{{ url_for('scope.diagnosis') }}">
            {{ _('Change answers') }}
          </a>
        </header>
        <ul class="answers">
          {% for item in session.checker.scope_answers %}
            <li class="answers-item">
              <div class="question">{{ item.question }}</div>
              <div class="answer">
                <strong>{{ item.answer }}</strong>
              </div>
            </li>
          {% endfor %}
        </ul>
      </section>
    {% endif %}

    {% for step in steps %}
      {% set answers = step.completed_fields() %}
      {% with step_title = step.form_class.title %}
        <section id="step-{{ step.name }}">
          <header>
            <h2>{{ step_title }}</h2>
            <a class="button-secondary button-small" href="{{ url_for('checker.wizard', step=step.name) }}">
              {% if step.name in ['property', 'income'] or answers|length > 1 %}
                {{ _('Change answers') }}
              {% else %}
                {{ _('Change answer') }}
              {% endif %}
            </a>
          </header>
          <ul class="answers">
            {% for field in answers %}
              {{ Review.render_field(field, step_title) }}
            {% endfor %}
          </ul>
        </section>
      {% endwith %}
    {% endfor %}

    {{ form.csrf_token }}
    {{ Form.honeypot(form) }}
    {{ Form.actions(_('Confirm')) }}
  </form>
{% endblock %}

{'fraction_non_alphanumeric': 0.18441971383147854, 'fraction_numerical': 0.0037095919448860626, 'mean_word_length': 1.7859778597785978, 'pattern_counts': {'":': 0, '<': 67, '<?xml version=': 0, '>': 69, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '355055', 'n_tokens_mistral': 1217, 'n_tokens_neox': 1096, 'n_words': 246}