<commit_before># vim: tabstop=4 expandtab shiftwidth=2 softtabstop=2
Feature: Configurable notifications
  As a lone programmer
  I want notification settings to be extracted from code
  So that I could easily change them to suit my needs

  Scenario: Default schedule
    Given the service is running
     Then notification schedule is:
      | message | interval |
      | Ping    | 300      |<commit_msg>Notifications should actually be shown on schedule<commit_after># vim: tabstop=4 expandtab shiftwidth=2 softtabstop=2
Feature: Configurable notifications
  As a lone programmer
  I want notification settings to be extracted from code
  So that I could easily change them to suit my needs

  Scenario: Default schedule
    Given the service is running
     Then notification schedule is:
      | message | interval |
      | Ping    | 300      |

  @wip
  Scenario Outline: Custom message/interval
    Given the notification schedule is:
        | message   | interval   |
        | <message> | <interval> |
      And the service is running
     Then next notification will appear in less than <interval> seconds
     When <interval> seconds passes
     Then '<message>' message is shown

    Examples: Custom message:
      | message     | interval  |
      | Howdy       | 300       |
      | Missed me?  | 300       |

    Examples: Custom interval:
      | message     | interval  |
      | Ping        | 180       |
      | Ping        | 240       |
      | Ping        | 750       |

    Examples: Custom both:
      | message         | interval  |
      | Howdy           | 350       |
      | Go get some tea | 600       |
{'fraction_non_alphanumeric': 0.05684596577017115, 'fraction_numerical': 0.020171149144254278, 'mean_word_length': 2.130019120458891, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6019325', 'n_tokens_mistral': 452, 'n_tokens_neox': 411, 'n_words': 175}