<commit_before>Feature: Managing Clients

  Scenario: Adding, Updating, and Removing a Client
    Given I am using the credentials from "./support/harvest_credentials.yml"
    When I create a client with the following:
    | name    | API Widgets Inc.                        |
    | details | Building API Widgets across the country |
    Then there should be a client with the name "API Widgets Inc."
    And I should be able to retrieve the client named "API Widgets Inc." by id
    When I update the client named "API Widgets Inc." with the following:
    | name    | API Widgets 2000                    |
    | details | Building API Widgets in the Midwest |
    Then the client named "API Widgets 2000" should have the following attributes:
    | details | Building API Widgets in the Midwest |
    When I delete the client named "API Widgets 2000"
    Then there should not be a client with the name "API Widgets 2000"


  Scenario: Activating and Deactivating a Client
    Given I am using the credentials from "./support/harvest_credentials.yml"
    When I create a client with the following:
    | name    | API Widgets Inc.                        |
    | details | Building API Widgets across the country |
    Then the client named "API Widgets Inc." should be activated
    When I deactivate the client named "API Widgets Inc."
    Then the client named "API Widgets Inc." should be deactivated
    When I activate the client named "API Widgets Inc."
    Then the client named "API Widgets Inc." should be activated
    <commit_msg>Adding a cleanup step to the client<commit_after>Feature: Managing Clients

  Scenario: Adding, Updating, and Removing a Client
    Given I am using the credentials from "./support/harvest_credentials.yml"
    When I create a client with the following:
    | name    | API Widgets Inc.                        |
    | details | Building API Widgets across the country |
    Then there should be a client with the name "API Widgets Inc."
    And I should be able to retrieve the client named "API Widgets Inc." by id
    When I update the client named "API Widgets Inc." with the following:
    | name    | API Widgets 2000                    |
    | details | Building API Widgets in the Midwest |
    Then the client named "API Widgets 2000" should have the following attributes:
    | details | Building API Widgets in the Midwest |
    When I delete the client named "API Widgets 2000"
    Then there should not be a client with the name "API Widgets 2000"


  Scenario: Activating and Deactivating a Client
    Given I am using the credentials from "./support/harvest_credentials.yml"
    When I create a client with the following:
    | name    | API Widgets Inc.                        |
    | details | Building API Widgets across the country |
    Then the client named "API Widgets Inc." should be activated
    When I deactivate the client named "API Widgets Inc."
    Then the client named "API Widgets Inc." should be deactivated
    When I activate the client named "API Widgets Inc."
    Then the client named "API Widgets Inc." should be activated
    Then I delete the client named "API Widgets Inc."
    
{'fraction_non_alphanumeric': 0.049620733249051835, 'fraction_numerical': 0.010113780025284451, 'mean_word_length': 2.667439165701043, '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': '6310183', 'n_tokens_mistral': 830, 'n_tokens_neox': 807, 'n_words': 433}