<commit_before>Feature: Feature generation
  In order to write features for my puppet manifest
  As a puppet manifest developer
  I want to create new features according to template

  Scenario: Create feature in base directory
    Given an uninitialized directory tree
    When I generate "feature foo bar"
    Then feature "bar" should exist in "features/modules/foo"
    And it should contain "Feature: bar"

  Scenario Outline: Create feature from several different places
    Given an uninitialized directory tree
    And a working directory of "<cwd>"
    When I generate "feature foo bar"
    Then feature "bar" should exist in "<destdir>"

    Examples:
      | cwd | destdir |
      | features | modules/foo |
      | features/modules | foo |
      | features/modules/foo | . |
      | modules | foo/features |
      | modules/foo | features |
      | modules/foo/features | . |
      | test | features/modules/foo |<commit_msg>destdir is now tested with spec for find_destdir<commit_after>Feature: Feature generation
  In order to write features for my puppet manifest
  As a puppet manifest developer
  I want to create new features according to template

  Scenario: Create feature from template
    Given an uninitialized directory tree
    When I generate "feature foo bar"
    Then feature "bar" should exist in "features/modules/foo"
    And it should contain "Feature: bar"
{'fraction_non_alphanumeric': 0.058992805755395686, 'fraction_numerical': 0.0, 'mean_word_length': 3.2408536585365852, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '4871295', 'n_tokens_mistral': 351, 'n_tokens_neox': 345, 'n_words': 165}