<commit_before>#!/usr/bin/env python

from post import Post
from webblog import Webblog

if __name__ == "__main__":
    wb = Webblog("_posts", "source")
    wb.render_posts()
    wb.render_latest_posts(2)
    wb.render_archive()<commit_msg>show 3 latest news posts in the main page<commit_after>#!/usr/bin/env python

from post import Post
from webblog import Webblog

if __name__ == "__main__":
    wb = Webblog("_posts", "source")
    wb.render_posts()
    wb.render_latest_posts(3)
    wb.render_archive()
{'fraction_non_alphanumeric': 0.11811023622047244, 'fraction_numerical': 0.005905511811023622, 'mean_word_length': 4.247422680412371, 'pattern_counts': {'":': 2, '<': 3, '<?xml version=': 0, '>': 3, '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': '7441135', 'n_tokens_mistral': 182, 'n_tokens_neox': 172, 'n_words': 45}