<commit_before><Module>
 <ModulePrefs title="Widget {{ widget_name }} of {{ lab_name }}">
    {% if widget_config.get('show_languages', False) %}
         {% if public_rlms %}
             <Locale messages="{{ url_for('.public_rlms_translations', rlms_identifier = rlms_identifier, lab_name = lab_name, lang='en', _external = True) }}"/>
             <Locale lang="en" messages="{{ url_for('.public_rlms_translations', rlms_identifier = rlms_identifier, lab_name = lab_name, lang='en', _external = True) }}"/>
             {% for lang in widget_config['translations'].get('translations', {}) %}
                {% if lang != "en" %}
                    <Locale lang="{{ lang }}" messages="{{ url_for('.public_rlms_translations', rlms_identifier = rlms_identifier, lab_name = lab_name, lang=lang, _external = True) }}"/>
                {% endif %}
             {% endfor %}
         {% elif public_lab %}
             <Locale messages="{{ url_for('.public_translations', lab_name = lab_name, _external = True, lang = 'en') }}"/>
             <Locale lang="en" messages="{{ url_for('.public_translations', lab_name = lab_name, _external = True, lang = 'en') }}"/>
             {% for lang in widget_config['translations'].get('translations', {}) %}
                {% if lang != "en" %}
                    <Locale lang="{{ lang }}" messages="{{ url_for('.public_translations', lab_name = lab_name, _external = True, lang = lang) }}"/>
                {% endif %}
             {% endfor %}
         {% else %}
             <Locale messages="{{ url_for('.translations', institution_id = institution_id, lab_name = lab_name, _external = True, lang = 'en') }}"/>
             <Locale lang="en" messages="{{ url_for('.translations', institution_id = institution_id, lab_name = lab_name, _external = True, lang = 'en') }}"/>
             {% for lang in widget_config['translations'].get('translations', {}) %}
                {% if lang != "en" %}
                    <Locale lang="{{ lang }}" messages="{{ url_for('.translations', institution_id = institution_id, lab_name = lab_name, _external = True, lang = lang) }}"/>
                {% endif %}
             {% endfor %}
         {% endif %}
    {% elif widget_config.get('show_empty_languages', False)  %}
        <Locale messages="{{ url_for('static', filename='opensocial/empty.xml', _external = True) }}"/>
        {% for lang in widget_config['translation_list'] %}
            <Locale lang="{{ lang }}" messages="{{ url_for('static', filename='opensocial/empty.xml', _external = True) }}"/>
        {% endif %}
    {% endif %}
     <Require feature="osapi" /><commit_msg>Fix the widget<commit_after><Module>
 <ModulePrefs title="Widget {{ widget_name }} of {{ lab_name }}">
    {% if widget_config.get('show_languages', False) %}
         {% if public_rlms %}
             <Locale messages="{{ url_for('.public_rlms_translations', rlms_identifier = rlms_identifier, lab_name = lab_name, lang='en', _external = True) }}"/>
             <Locale lang="en" messages="{{ url_for('.public_rlms_translations', rlms_identifier = rlms_identifier, lab_name = lab_name, lang='en', _external = True) }}"/>
             {% for lang in widget_config['translations'].get('translations', {}) %}
                {% if lang != "en" %}
                    <Locale lang="{{ lang }}" messages="{{ url_for('.public_rlms_translations', rlms_identifier = rlms_identifier, lab_name = lab_name, lang=lang, _external = True) }}"/>
                {% endif %}
             {% endfor %}
         {% elif public_lab %}
             <Locale messages="{{ url_for('.public_translations', lab_name = lab_name, _external = True, lang = 'en') }}"/>
             <Locale lang="en" messages="{{ url_for('.public_translations', lab_name = lab_name, _external = True, lang = 'en') }}"/>
             {% for lang in widget_config['translations'].get('translations', {}) %}
                {% if lang != "en" %}
                    <Locale lang="{{ lang }}" messages="{{ url_for('.public_translations', lab_name = lab_name, _external = True, lang = lang) }}"/>
                {% endif %}
             {% endfor %}
         {% else %}
             <Locale messages="{{ url_for('.translations', institution_id = institution_id, lab_name = lab_name, _external = True, lang = 'en') }}"/>
             <Locale lang="en" messages="{{ url_for('.translations', institution_id = institution_id, lab_name = lab_name, _external = True, lang = 'en') }}"/>
             {% for lang in widget_config['translations'].get('translations', {}) %}
                {% if lang != "en" %}
                    <Locale lang="{{ lang }}" messages="{{ url_for('.translations', institution_id = institution_id, lab_name = lab_name, _external = True, lang = lang) }}"/>
                {% endif %}
             {% endfor %}
         {% endif %}
    {% elif widget_config.get('show_empty_languages', False)  %}
        <Locale messages="{{ url_for('static', filename='opensocial/empty.xml', _external = True) }}"/>
        {% for lang in widget_config['translation_list'] %}
            <Locale lang="{{ lang }}" messages="{{ url_for('static', filename='opensocial/empty.xml', _external = True) }}"/>
        {% endfor %}
    {% endif %}
     <Require feature="osapi" />
{'fraction_non_alphanumeric': 0.17732115677321156, 'fraction_numerical': 0.0, 'mean_word_length': 2.757684060042888, 'pattern_counts': {'":': 0, '<': 31, '<?xml version=': 0, '>': 31, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '240710', 'n_tokens_mistral': 1547, 'n_tokens_neox': 1440, 'n_words': 334}