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

{% block title %}Updated prefixes{% endblock %}

{% block content %}
<h1>Updated
{% if prefixes %}{{ prefixes|length }} prefixes starting with{% endif %}
{% if suffixes %}{{ suffixes|length }} suffixes ending with{% endif %}
{{ prefix }} {{ suffix }}
</h1>

{% if prefixes %}
<table>
{% if previous %}
<tr class="row2">
<td>{{ previous.length }}</td>
<td>{{ previous.key.name }}</td>
<td>{{ previous.count }}</td>
<td>{{ previous.com }}</td>
<td>{{ previous.percentage|floatformat:1 }}%</td>
<td>{{ previous.resume }}</td>
<td>{{ previous.timestamp|timesince }}</td>
</tr>
{% endif %}
{% for prefix in prefixes %}
<tr class="{% cycle 'row1' 'row2' %}">
<td>{{ prefix.length }}</td>
<td>{{ prefix.key.name }}</td>
<td>{{ prefix.count }}</td>
<td>{{ prefix.com }}</td>
<td>{{ prefix.percentage|floatformat:1 }}%</td>
<td>{{ prefix.resume }}</td>
<td>{{ prefix.timestamp|timesince }}</td>
</tr>
{% endfor %}
</table><commit_msg>Replaced overloaded names prefix and suffix (meaning string values) with chars.<commit_after>{% extends "base.html" %}

{% block title %}Updated prefixes{% endblock %}

{% block content %}
<h1>Updated
{% if prefixes %}{{ prefixes|length }} prefixes starting with{% endif %}
{% if suffixes %}{{ suffixes|length }} suffixes ending with{% endif %}
{{ chars }}
</h1>

{% if prefixes %}
<table>
{% if previous %}
<tr class="row2">
<td>{{ previous.length }}</td>
<td>{{ previous.key.name }}</td>
<td>{{ previous.count }}</td>
<td>{{ previous.com }}</td>
<td>{{ previous.percentage|floatformat:1 }}%</td>
<td>{{ previous.resume }}</td>
<td>{{ previous.timestamp|timesince }}</td>
</tr>
{% endif %}
{% for prefix in prefixes %}
<tr class="{% cycle 'row1' 'row2' %}">
<td>{{ prefix.length }}</td>
<td>{{ prefix.key.name }}</td>
<td>{{ prefix.count }}</td>
<td>{{ prefix.com }}</td>
<td>{{ prefix.percentage|floatformat:1 }}%</td>
<td>{{ prefix.resume }}</td>
<td>{{ prefix.timestamp|timesince }}</td>
</tr>
{% endfor %}
</table>
{'fraction_non_alphanumeric': 0.26132930513595165, 'fraction_numerical': 0.007049345417925478, 'mean_word_length': 5.190031152647975, 'pattern_counts': {'":': 0, '<': 75, '<?xml version=': 0, '>': 75, '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': '1181008', 'n_tokens_mistral': 789, 'n_tokens_neox': 700, 'n_words': 190}