<commit_before>{% regroup items by section as groups %}
{% for data in groups %}<h2>{{ data.grouper.title }}</h2>
<ul>
{% for item in data.list%}
<li>{% if item.language = 'en' %} <img src="http://habrastorage.org/storage3/298/0c0/2a7/2980c02a72bd945cb3cbba4528c8ee06.gif"/>{% endif %} <a href="{{ item.link }}">{{ item.title }}</a>
{% if item.description %}<p>{{ item.description|default:''|safe }}</p>{% endif %}</li>
{% endfor %}
</ul>
{% endfor %}<commit_msg>Извенен рендерер для хабры<commit_after>{% regroup items by section as groups %}
{% for data in groups %}<h2>{{ data.grouper.title }}</h2>
<ul>
{% for item in data.list%}
<li>{% if item.language = 'ru' %} <img src="http://habr.habrastorage.org/post_images/893/6b3/cdf/8936b3cdf907df5d4a1ff64c9b4aaf29.jpg"/>{% endif %} <a href="{{ item.link }}">{{ item.title }}</a>
{% if item.description %}<p>{{ item.description|default:''|safe }}</p>{% endif %}</li>
{% endfor %}
</ul>
{% endfor %}
{'fraction_non_alphanumeric': 0.24392819429778248, 'fraction_numerical': 0.0559662090813094, 'mean_word_length': 5.116129032258065, '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': '961673', 'n_tokens_mistral': 430, 'n_tokens_neox': 376, 'n_words': 85}