<commit_before>Feature: process add-file-request

  As the git_transactor
  I want to process an 'add-file' request
  So that the file is added to the repository

  Scenario: add-file request
    Given that the git repository exists
    And   the request queue exists
    And   a source-file directory exists
    And   a source-file named "apple/peaches.txt" exists
    And   the file "apple/peaches.txt" does not exist in the repository
    And   there is an "add" request for "apple/peaches.txt" in the queue
    When  I process the queue
    Then  I should see "apple/peaches.txt" in the repository
    And   I should see "Updating file apple/peaches.txt" in the commit log


  Scenario: add-file request to existing repo sudbdirectory
    Given that the git repository exists
    And   the request queue exists
    And   a source-file directory exists
    And   a source-file named "apple/peaches.txt" exists
    And   the file "apple/peaches.txt" does not exist in the repository
    And   there is an "add" request for "apple/peaches.txt" in the queue
    And   a source-file named "apple/pears.txt" exists
    And   the file "apple/pears.txt" does not exist in the repository
    And   there is an "add" request for "apple/pears.txt" in the queue
    When  I process the queue
    Then  I should see "apple/peaches.txt" in the repository
    And   I should see "Updating file apple/peaches.txt, Updating file apple/pears.txt" in the commit log<commit_msg>add scenario<commit_after>Feature: process add-file-request

  As the git_transactor
  I want to process an 'add-file' request
  So that the file is added to the repository

  Scenario: add-file request
    Given that the git repository exists
    And   the request queue exists
    And   a source-file directory exists
    And   a source-file named "apple/peaches.txt" exists
    And   the file "apple/peaches.txt" does not exist in the repository
    And   there is an "add" request for "apple/peaches.txt" in the queue
    When  I process the queue
    Then  I should see "apple/peaches.txt" in the repository
    And   I should see "Updating file apple/peaches.txt" in the commit log


  Scenario: add-file request to existing repo subdirectory
    Given that the git repository exists
    And   the request queue exists
    And   a source-file directory exists
    And   a source-file named "apple/peaches.txt" exists
    And   the file "apple/peaches.txt" does not exist in the repository
    And   there is an "add" request for "apple/peaches.txt" in the queue
    And   a source-file named "apple/pears.txt" exists
    And   the file "apple/pears.txt" does not exist in the repository
    And   there is an "add" request for "apple/pears.txt" in the queue
    When  I process the queue
    Then  I should see "apple/peaches.txt" in the repository
    And   I should see "Updating file apple/peaches.txt, Updating file apple/pears.txt" in the commit log
{'fraction_non_alphanumeric': 0.054072553045859, 'fraction_numerical': 0.0, 'mean_word_length': 2.9931693989071038, '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': '6870713', 'n_tokens_mistral': 835, 'n_tokens_neox': 826, 'n_words': 392}