<commit_before>@focus
Feature: Default values
  In order to make Writeme even easier to use
  the Writeme library
  should be able to read default values from a ~/.writeme.yml config file

  Scenario: Generating a README
    When I generate a README
    Then the stdout should contain "Generating README"

  Scenario: Generating a README without specifying creator
    Given I have a config file with:
      """
      ---
      :defaults:
        :creators:
          :authors: "<NAME>"
        :legal:
          :copyright: "2010 <NAME>"
          :license: "See LICENSE for details"
      """
    When I generate a README without specifying a creator
    Then the README file should contain "<NAME>"<commit_msg>cleanup defaults feature a bit<commit_after>Feature: Default values
  In order to make Writeme even easier to use
  the Writeme library
  should be able to read default values from a ~/.writeme.yml config file

  Scenario: Using defaults from a config file
    Given I have a config file with:
      """
      ---
      :defaults:
        :creators:
          :authors: "<NAME>"
        :legal:
          :copyright: "2010 <NAME>"
          :license: "See LICENSE for details"
      """
    When I generate a README without specifying a creator
    Then the README file should contain "<NAME>"
{'fraction_non_alphanumeric': 0.07197549770290965, 'fraction_numerical': 0.006125574272588055, 'mean_word_length': 2.522911051212938, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5363252', 'n_tokens_mistral': 353, 'n_tokens_neox': 337, 'n_words': 160}