<commit_before><div {% if attr is not empty -%}{%- for key, attribute in attr -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else -%}class="modal{%- if fade %} fade{%- endif -%}" id="{{- id -}}" tabindex="-1" role="dialog" aria-labelledby="{{- id -}}-label"{%- endif -%}>
    <div class="modal-dialog{%- if size == 'small' %} modal-sm{%- elseif size == 'large' %} modal-lg{%- endif -%}" role="document">
        <div class="modal-content">
            {% if title is not empty %}
                <div class="modal-header">
                    {{ dismiss_button|raw }}
                    <{{ title_markup }} class="modal-title" id="{{- id -}}-label">
                        {%- if escape_title -%}
                            {%- if translate_title -%}
                                {{- title|trans(title_translation_parameters, title_translation_domain) -}}
                            {%- else -%}
                                {{- title -}}
                            {%- endif -%}
                        {%- else -%}
                            {%- if translate_title -%}
                                {{- title|trans(title_translation_parameters, title_translation_domain)|raw -}}
                            {%- else -%}
                                {{- title|raw -}}
                            {%- endif -%}
                        {%- endif -%}
                    </{{ title_markup }}>
                </div>
            {% endif %}
            <div class="modal-body">
                {%- if escape_body -%}
                    {%- if translate_body -%}
                        {{- body|trans(body_translation_parameters, body_translation_domain) -}}
                    {%- else -%}
                        {{- body -}}
                    {%- endif -%}
                {%- else -%}
                    {%- if translate_body -%}
                        {{- body|trans(body_translation_parameters, body_translation_domain)|raw -}}
                    {%- else -%}
                        {{- body|raw -}}
                    {%- endif -%}
                {%- endif -%}
            </div>
            {%- if footer_buttons|length > 0 or footer_raw_prepend is not empty or footer_raw_append is not empty -%}
                <div class="modal-footer">
                    {{ footer_raw_prepend|raw }}
                    {%- for button in footer_buttons -%}
                        {%- if button['escape'] -%}
                            {%- if button['translate'] -%}
                                {% set label = button['label']|trans(button['translation_parameters'], button['translation_domain']) %}
                            {%- else -%}
                                {% set label = button['label'] %}
                            {%- endif -%}
                        {%- else -%}
                            {%- if button['translate'] -%}
                                {% set label = button['label']|trans(button['translation_parameters'], button['translation_domain'])|raw %}
                            {%- else -%}
                                {% set label = button['label']|raw %}
                            {%- endif -%}
                        {%- endif -%}
                        {%- if button['url'] is defined and button['url'] is not empty -%}
                            <a href="{{- button['url'] -}}"{% if button['attr'] is defined and button['attr'] is not empty -%} {%- for key, attribute in button['attr'] -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else -%}class="btn btn-{{- button['context'] -}}"{%- if button['dismiss'] -%} data-dismiss="modal"{%- endif -%}{% endif %}>{{- label -}}</a>
                        {%- else -%}
                            <button type="button"{% if button['attr'] is defined and button['attr'] is not empty -%} {%- for key, attribute in button['attr'] -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else -%}class="btn btn-{{- button['context'] -}}"{%- if button['dismiss'] is defined and button['dismiss'] -%} data-dismiss="modal"{%- endif -%}{% endif %}>{{- label -}}</button><commit_msg>Fix some spaces for dismiss button<commit_after><div {% if attr is not empty -%}{%- for key, attribute in attr -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else -%}class="modal{%- if fade %} fade{%- endif -%}" id="{{- id -}}" tabindex="-1" role="dialog" aria-labelledby="{{- id -}}-label"{%- endif -%}>
    <div class="modal-dialog{%- if size == 'small' %} modal-sm{%- elseif size == 'large' %} modal-lg{%- endif -%}" role="document">
        <div class="modal-content">
            {% if title is not empty %}
                <div class="modal-header">
                    {{ dismiss_button|raw }}
                    <{{ title_markup }} class="modal-title" id="{{- id -}}-label">
                        {%- if escape_title -%}
                            {%- if translate_title -%}
                                {{- title|trans(title_translation_parameters, title_translation_domain) -}}
                            {%- else -%}
                                {{- title -}}
                            {%- endif -%}
                        {%- else -%}
                            {%- if translate_title -%}
                                {{- title|trans(title_translation_parameters, title_translation_domain)|raw -}}
                            {%- else -%}
                                {{- title|raw -}}
                            {%- endif -%}
                        {%- endif -%}
                    </{{ title_markup }}>
                </div>
            {% endif %}
            <div class="modal-body">
                {%- if escape_body -%}
                    {%- if translate_body -%}
                        {{- body|trans(body_translation_parameters, body_translation_domain) -}}
                    {%- else -%}
                        {{- body -}}
                    {%- endif -%}
                {%- else -%}
                    {%- if translate_body -%}
                        {{- body|trans(body_translation_parameters, body_translation_domain)|raw -}}
                    {%- else -%}
                        {{- body|raw -}}
                    {%- endif -%}
                {%- endif -%}
            </div>
            {%- if footer_buttons|length > 0 or footer_raw_prepend is not empty or footer_raw_append is not empty -%}
                <div class="modal-footer">
                    {{ footer_raw_prepend|raw }}
                    {%- for button in footer_buttons -%}
                        {%- if button['escape'] -%}
                            {%- if button['translate'] -%}
                                {% set label = button['label']|trans(button['translation_parameters'], button['translation_domain']) %}
                            {%- else -%}
                                {% set label = button['label'] %}
                            {%- endif -%}
                        {%- else -%}
                            {%- if button['translate'] -%}
                                {% set label = button['label']|trans(button['translation_parameters'], button['translation_domain'])|raw %}
                            {%- else -%}
                                {% set label = button['label']|raw %}
                            {%- endif -%}
                        {%- endif -%}
                        {%- if button['url'] is defined and button['url'] is not empty -%}
                            <a href="{{- button['url'] -}}"{% if button['attr'] is defined and button['attr'] is not empty -%} {%- for key, attribute in button['attr'] -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else %} class="btn btn-{{- button['context'] -}}"{%- if button['dismiss'] %} data-dismiss="modal"{%- endif -%}{% endif %}>{{- label -}}</a>
                        {%- else -%}
                            <button type="button"{% if button['attr'] is defined and button['attr'] is not empty -%} {%- for key, attribute in button['attr'] -%}{{- key -}}="{{- attribute -}}"{%- if not loop.first or not loop.last %} {% endif -%}{%- endfor -%}{%- else %} class="btn btn-{{- button['context'] -}}"{%- if button['dismiss'] is defined and button['dismiss'] %} data-dismiss="modal"{%- endif -%}{% endif %}>{{- label -}}</button>
{'fraction_non_alphanumeric': 0.1858666354154459, 'fraction_numerical': 0.0004687683112621587, 'mean_word_length': 1.258867125463208, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 33, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3373476', 'n_tokens_mistral': 2477, 'n_tokens_neox': 2174, 'n_words': 482}