<commit_before>Feature: DayOne Ingetration

    Scenario: Loading a DayOne Journal
        Given we use the config "dayone.json"
        When we run "jrnl -until now"
        Then we should get no error
        and the output should be
            """
            2013-05-17 11:39 This entry has tags!

            2013-06-17 20:38 This entry has a location.

            2013-07-17 11:38 This entry is starred!

            2013-08-17 11:37 This is a DayOne entry.
            """
<commit_msg>Tests for DayOne Tagging<commit_after>Feature: DayOne Ingetration

    Scenario: Loading a DayOne Journal
        Given we use the config "dayone.json"
        When we run "jrnl -until now"
        Then we should get no error
        and the output should be
            """
            2013-05-17 11:39 This entry has tags!

            2013-06-17 20:38 This entry has a location.

            2013-07-17 11:38 This entry is starred!

            2013-08-17 11:37 This is a DayOne entry.
            """

    Scenario: Writing into Dayone
        Given we use the config "dayone.json"
        When we run "jrnl 01 may 1979: Being born hurts."
        and we run "jrnl -until 1980"
        Then the output should be
            """
            1979-05-01 09:00 Being born hurts.
            """

    Scenario: Loading tags from a DayOne Journal
        Given we use the config "dayone.json"
        When we run "jrnl --tags"
        Then the output should be
            """
            work                 : 1
            play                 : 1
            """

    Scenario: Saving tags from a DayOne Journal
        Given we use the config "dayone.json"
        When we run "jrnl A hard day at @work"
        and we run "jrnl --tags"
        Then the output should be
            """
            work                 : 2
            play                 : 1
            """
{'fraction_non_alphanumeric': 0.06513614522156967, 'fraction_numerical': 0.06513614522156967, 'mean_word_length': 1.3751584283903675, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7451153', 'n_tokens_mistral': 603, 'n_tokens_neox': 496, 'n_words': 216}