<commit_before>{% block datagrid_column_type_fsi_file_cell %}
{% spaceless %}
<td>
    <div>
        {% endspaceless %}
        {% for val in cell.value %}
            {% if val is not empty %}
                <a href="{{ fsi_file_url(val) }}" target="_blank">{{ val|fsi_file_basename }}</a>
            {% endif %}
        {% endfor %}
        {% spaceless %}
    </div>
</td>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_type_fsi_image_cell %}
{% spaceless %}
<td>
    <div>
        {% endspaceless %}
        {% for val in cell.value %}
            {% if val is not empty %}
                <img src="{{ fsi_file_url(val) }}" style="width: {{ cell.attributes.width }}px" />
            {% endif %}
        {% endfor %}
        {% spaceless %}
    </div>
</td>
{% endspaceless %}
{% endblock %}<commit_msg>Check if file is really uploaded before displaying it<commit_after>{% block datagrid_column_type_fsi_file_cell %}
{% spaceless %}
<td>
    <div>
        {% endspaceless %}
        {% for val in cell.value %}
            {% if is_fsi_file(val) %}
                <a href="{{ fsi_file_url(val) }}" target="_blank">{{ val|fsi_file_basename }}</a>
            {% endif %}
        {% endfor %}
        {% spaceless %}
    </div>
</td>
{% endspaceless %}
{% endblock %}

{% block datagrid_column_type_fsi_image_cell %}
{% spaceless %}
<td>
    <div>
        {% endspaceless %}
        {% for val in cell.value %}
            {% if is_fsi_file(val) %}
                <img src="{{ fsi_file_url(val) }}" style="width: {{ cell.attributes.width }}px" />
            {% endif %}
        {% endfor %}
        {% spaceless %}
    </div>
</td>
{% endspaceless %}
{% endblock %}
{'fraction_non_alphanumeric': 0.17912218268090155, 'fraction_numerical': 0.0, 'mean_word_length': 2.1068139963167587, 'pattern_counts': {'":': 0, '<': 25, '<?xml version=': 0, '>': 25, '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': '5552680', 'n_tokens_mistral': 651, 'n_tokens_neox': 554, 'n_words': 116}