<commit_before>{% macro text(question_content, service_data, errors) -%}
  {%
    with
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    name=question_content.id,
    value=service_data[question_content.id],
    unit_in_full=question_content.unit_in_full,
    unit_position=question_content.unit_position,
    unit=question_content.unit,
    smaller=question_content.smaller,
    hidden=question_content.hidden,
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    message=kwargs.message
  %}
    {% include "toolkit/forms/textbox.html" %}
  {% endwith %}
{%- endmacro %}

{% macro textbox_large(question_content, service_data, errors) -%}
  {%
    with
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    name=question_content.id,
    value=service_data[question_content.id],
    large=True,
    max_length_in_words=question_content.max_length_in_words,
    hidden=question_content.hidden,
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    message=kwargs.message
  %}
    {% include "toolkit/forms/textbox.html" %}
  {% endwith %}
{%- endmacro %}

{% macro list(question_content, service_data, errors) -%}
  {%
    with
    name=question_content.id,
    number_of_items=10,
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    values=service_data[question_content.id],
    id=question_content.id,
    hidden=question_content.hidden,
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    message=kwargs.message
  %}
    {% include "toolkit/forms/list-entry.html" %}
  {% endwith %}
{%- endmacro %}

{% macro checkboxes(question_content, service_data, errors) -%}
  {%
    with
    name=question_content.id,
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    value=service_data[question_content.id],
    id=question_content.id,
    options=question_content.options,
    type='checkbox',
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    question_number=kwargs.question_number,
    hidden=question_content.hidden,
    followup=question_content.values_followup
    message=kwargs.message
  %}
    {% include "toolkit/forms/selection-buttons.html" %}
  {% endwith %}
{%- endmacro %}

{% macro radios(question_content, service_data, errors) -%}
  {%
    with
    name=question_content.id,
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    hint_underneath=(question_content.hint_underneath or False),
    optional=question_content.optional,
    value=service_data[question_content.id],
    id=question_content.id,
    options=question_content.options,
    type='radio',
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    question_number=kwargs.question_number,
    hidden=question_content.hidden,
    followup=question_content.values_followup
    message=kwargs.message
  %}
    {% include "toolkit/forms/selection-buttons.html" %}
  {% endwith %}
{%- endmacro %}

{% macro boolean(question_content, service_data, errors) -%}<commit_msg>Fix bad rebase<commit_after>{% macro text(question_content, service_data, errors) -%}
  {%
    with
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    name=question_content.id,
    value=service_data[question_content.id],
    unit_in_full=question_content.unit_in_full,
    unit_position=question_content.unit_position,
    unit=question_content.unit,
    smaller=question_content.smaller,
    hidden=question_content.hidden,
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    message=kwargs.message
  %}
    {% include "toolkit/forms/textbox.html" %}
  {% endwith %}
{%- endmacro %}

{% macro textbox_large(question_content, service_data, errors) -%}
  {%
    with
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    name=question_content.id,
    value=service_data[question_content.id],
    large=True,
    max_length_in_words=question_content.max_length_in_words,
    hidden=question_content.hidden,
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    message=kwargs.message
  %}
    {% include "toolkit/forms/textbox.html" %}
  {% endwith %}
{%- endmacro %}

{% macro list(question_content, service_data, errors) -%}
  {%
    with
    name=question_content.id,
    number_of_items=10,
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    values=service_data[question_content.id],
    id=question_content.id,
    hidden=question_content.hidden,
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    message=kwargs.message
  %}
    {% include "toolkit/forms/list-entry.html" %}
  {% endwith %}
{%- endmacro %}

{% macro checkboxes(question_content, service_data, errors) -%}
  {%
    with
    name=question_content.id,
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    optional=question_content.optional,
    value=service_data[question_content.id],
    id=question_content.id,
    options=question_content.options,
    type='checkbox',
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    question_number=kwargs.question_number,
    hidden=question_content.hidden,
    followup=question_content.values_followup,
    message=kwargs.message
  %}
    {% include "toolkit/forms/selection-buttons.html" %}
  {% endwith %}
{%- endmacro %}

{% macro radios(question_content, service_data, errors) -%}
  {%
    with
    name=question_content.id,
    question=question_content.question|question_references(kwargs.get_question),
    question_advice=question_content.question_advice,
    hint=(question_content.hint or '')|question_references(kwargs.get_question),
    hint_underneath=(question_content.hint_underneath or False),
    optional=question_content.optional,
    value=service_data[question_content.id],
    id=question_content.id,
    options=question_content.options,
    type='radio',
    error=errors.get(question_content.id)['message']|question_references(kwargs.get_question),
    question_number=kwargs.question_number,
    hidden=question_content.hidden,
    followup=question_content.values_followup,
    message=kwargs.message
  %}
    {% include "toolkit/forms/selection-buttons.html" %}
  {% endwith %}
{%- endmacro %}

{% macro boolean(question_content, service_data, errors) -%}
{'fraction_non_alphanumeric': 0.11857125322204493, 'fraction_numerical': 0.0004909782742113662, 'mean_word_length': 5.5975708502024295, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '397089', 'n_tokens_mistral': 2576, 'n_tokens_neox': 2482, 'n_words': 254}