<commit_before>"""Library to test documentation formatting.

*bold* or <b>bold</b> http://example.com
"""

def keyword():
    """*bold* or <b>bold</b> http://example.com"""

def link():
    """Link to `Keyword`."""

def rest():
    """Let's see *how well* reST__ works.

    This documentation is mainly used for manually verifying reST output.
    This link to \\`Keyword\\` is also automatically tested.

    ====  =====
    My    table
    two   rows
    ====  =====

    - list
    - here

    Preformatted::

        def example():
            pass

    __ http://docutils.sourceforge.net
    """<commit_msg>libdoc tests: DocFormat library is now a class and not a module<commit_after>class DocFormat:
    """Library to test documentation formatting.

    *bold* or <b>bold</b> http://example.com
    """

    def keyword(self):
        """*bold* or <b>bold</b> http://example.com"""

    def link(self):
        """Link to `Keyword`."""

    def rest(self):
        """Let's see *how well* reST__ works.

        This documentation is mainly used for manually verifying reST output.
        This link to \\`Keyword\\` is also automatically tested.

        ====  =====
        My    table
        two   rows
        ====  =====

        - list
        - here

        Preformatted::

            def example():
                pass

        __ http://docutils.sourceforge.net
        """
{'fraction_non_alphanumeric': 0.1507537688442211, 'fraction_numerical': 0.0, 'mean_word_length': 2.0043103448275863, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '2344295', 'n_tokens_mistral': 421, 'n_tokens_neox': 391, 'n_words': 127}