<commit_before>## languages.html
<%inherit file="base.html"/>
<div class="left inner">
    <h1>Summary</h1>
    <ul>
    %for language in articles_sorted_by_languages.keys():
        <li><a href="/#${language}">${language}</a>: ${sum(map(len, articles_sorted_by_languages[language].values()))} articles</li>
    %endfor
    </ul>
    %for language in articles_sorted_by_languages.keys():
        <h1 id="${language}">${language}</h1>
        %for feed_id in articles_sorted_by_languages[language]:
            <%
                feed = mongo.get_feed(feed_id)
            %>
            <h2>${feed["feed_title"]}</h2>
            %for article in articles_sorted_by_languages[language][feed_id][:10]:
                ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - <a href="/article/${feed['feed_id']}:${article['article_id']}" rel="noreferrer" target="_blank">${article["article_title"]}</a>
                <br />
            %endfor
            <br />
        %endfor
        <br />
    %endfor<commit_msg>minor bugfix in the anchors introduced previously.<commit_after>## languages.html
<%inherit file="base.html"/>
<div class="left inner">
    <h1>Summary</h1>
    <ul>
    %for language in articles_sorted_by_languages.keys():
        <li><a href="#${language}">${language}</a>: ${sum(map(len, articles_sorted_by_languages[language].values()))} articles</li>
    %endfor
    </ul>
    %for language in articles_sorted_by_languages.keys():
        <h1 id="${language}">${language}</h1>
        %for feed_id in articles_sorted_by_languages[language]:
            <%
                feed = mongo.get_feed(feed_id)
            %>
            <h2>${feed["feed_title"]}</h2>
            %for article in articles_sorted_by_languages[language][feed_id][:10]:
                ${article["article_date"].strftime('%Y-%m-%d %H:%M')} - <a href="/article/${feed['feed_id']}:${article['article_id']}" rel="noreferrer" target="_blank">${article["article_title"]}</a>
                <br />
            %endfor
            <br />
        %endfor
        <br />
    %endfor
{'fraction_non_alphanumeric': 0.18665377176015474, 'fraction_numerical': 0.007736943907156673, 'mean_word_length': 2.824399260628466, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, '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': '6936757', 'n_tokens_mistral': 687, 'n_tokens_neox': 670, 'n_words': 103}