<commit_before>{% if news is not null %}
    <h2 class="block-title">НОВОСТИ</h2>
    <div class="">
        <img
            class="img-responsive"
            src="{{ getImage(news.imageName, 'article') | imagine_filter('news_sidebar') }}"
        />
        <div class="caption">
            <h3><a href="{{ path('app_core_bundle_article_news_item', {id: news.id}) }}">{{ news.title }}</a></h3>
            <div>
                {{ news.content|length > 150 ? news.content|slice(0, 150) ~ ' ...' : news.content }}
            </div>
            <br />
            <p>
                <a href="{{ path('app_core_bundle_article_news_item', {id: news.id}) }}" class="btn btn-primary" role="button">Подробней</a>
            </p>
        </div>
    </div>
{% endif %}<commit_msg>fix bug<commit_after>{% if news is not null %}
    <h2 class="block-title">НОВОСТИ</h2>
    <div>
        {% if news.imageName is not null %}
            <img
                class="img-responsive"
                src="{{ getImage(news.imageName, 'article') | imagine_filter('news_sidebar') }}"
            />
        {% endif %}
        <div class="caption">
            <h3><a href="{{ path('app_core_bundle_article_news_item', {id: news.id}) }}">{{ news.title }}</a></h3>
            <div>
                {{ news.content|length > 150 ? news.content|slice(0, 150) ~ ' ...' : news.content }}
            </div>
            <br />
            <p>
                <a href="{{ path('app_core_bundle_article_news_item', {id: news.id}) }}" class="btn btn-primary" role="button">Подробней</a>
            </p>
        </div>
    </div>
{% endif %}
{'fraction_non_alphanumeric': 0.19370758790869833, 'fraction_numerical': 0.013571869216533004, 'mean_word_length': 1.906810035842294, 'pattern_counts': {'":': 0, '<': 39, '<?xml version=': 0, '>': 41, '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': '4628550', 'n_tokens_mistral': 554, 'n_tokens_neox': 523, 'n_words': 98}