<commit_before>import os
from git import Repo


COMMITS_TO_PRINT = 5


def print_commit(commit):
    print('----')
    print(str(commit.hexsha))
    print("\"{}\" by {} ({})".format(commit.summary,
                                     commit.author.name,
                                     commit.author.email))
    print(str(commit.authored_datetime))
    print(str("count: {} and size: {}".format(commit.count(),
                                              commit.size)))
    print(str(commit.size))


def print_repository(repo):
    print('Repo active branch is {}'.format(repo.active_branch))
    print('Repo description: {}'.format(repo.description))<commit_msg>update read_repo file for latest blog post<commit_after>import os
from git import Repo


COMMITS_TO_PRINT = 5


def print_commit(commit):
    print('----')
    print(str(commit.hexsha))
    print("\"{}\" by {} ({})".format(commit.summary,
                                     commit.author.name,
                                     commit.author.email))
    print(str(commit.authored_datetime))
    print(str("count: {} and size: {}".format(commit.count(),
                                              commit.size)))


def print_repository(repo):
    print('Repo active branch is {}'.format(repo.active_branch))
    print('Repo description: {}'.format(repo.description))
{'fraction_non_alphanumeric': 0.14519731943410275, 'fraction_numerical': 0.0014892032762472078, 'mean_word_length': 2.1039260969976907, 'pattern_counts': {'":': 0, '<': 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': 8, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '108289', 'n_tokens_mistral': 369, 'n_tokens_neox': 358, 'n_words': 72}