<commit_before>Feature:
  As a site admin for osra
  So that I may maintain the information about osra orphans
  I would like to be able to read and update orphans in the admin section

  Background:
    Given the following orphans exist:
      | name     | father   | status      | code | death_date | mother   | birth_date | contact   | o_city  | o_province | o_code | o_hood  | c_city  | c_province | c_code | c_hood  |
      | Orphan 1 | Father 1 | Sponsored   |   1  | 2011-03-15 | Mother 1 | 2014-01-01 | Contact 1 | OCity 1 | Aleppo     | 12     | OHood 1 | CCity 1 | Homs       | 13     | CHood 1 |
      | Orphan 2 | Father 2 | Unsponsored |   2  | 2011-03-15 | Mother 2 | 2014-01-01 | Contact 2 | OCity 2 | Hama       | 14     | OHood 2 | CCity 2 | Latakia    | 15     | CHood 1 |
    And I am a new, authenticated user

  Scenario: There should be a link to the orphans page on the navbar
    Given I am on the admin dashboard page
    Then I should see "Orphans" linking to the admin orphans page

  Scenario: There should be a list of orphans on the admin index page
    Given I am on the "Orphans" page for the "Admin" role
    Then I should see "Orphan 1 Father 1"
    And I should see "Orphan 2 Father 2"

  Scenario: Should be able to visit an orphan from the orphan index page
    Given I am on the "Orphans" page for the "Admin" role
    When I click the "Orphan 1" link
    Then I should be on the "Show Orphans" page for orphan "Orphan 1"

  Scenario: Should be able to edit an orphan from the orphan show page
    Given I am on the "Show Orphans" page for orphan "Orphan 1"
    And I click the "Edit Orphan" button
    Then I should be on the "Edit Orphans" page for orphan "Orphan 1"
    And I fill in "Name" with "<NAME>"
    And I fill in "Date of birth" with "2010-01-01"<commit_msg>changed cucumber features to fit within new validation criteria<commit_after>Feature:
  As a site admin for osra
  So that I may maintain the information about osra orphans
  I would like to be able to read and update orphans in the admin section

  Background:
    Given the following orphans exist:
      | name     | father   | status      | code | death_date | mother   | birth_date | contact   | o_city  | o_province | o_code | o_hood  | c_city  | c_province | c_code | c_hood  |
      | Orphan 1 | Father 1 | Sponsored   |   1  | 2011-03-15 | Mother 1 | 2012-01-01 | Contact 1 | OCity 1 | Aleppo     | 12     | OHood 1 | CCity 1 | Homs       | 13     | CHood 1 |
      | Orphan 2 | Father 2 | Unsponsored |   2  | 2011-03-15 | Mother 2 | 2011-01-01 | Contact 2 | OCity 2 | Hama       | 14     | OHood 2 | CCity 2 | Latakia    | 15     | CHood 1 |
    And I am a new, authenticated user

  Scenario: There should be a link to the orphans page on the navbar
    Given I am on the admin dashboard page
    Then I should see "Orphans" linking to the admin orphans page

  Scenario: There should be a list of orphans on the admin index page
    Given I am on the "Orphans" page for the "Admin" role
    Then I should see "Orphan 1 Father 1"
    And I should see "Orphan 2 Father 2"

  Scenario: Should be able to visit an orphan from the orphan index page
    Given I am on the "Orphans" page for the "Admin" role
    When I click the "Orphan 1" link
    Then I should be on the "Show Orphans" page for orphan "Orphan 1"

  Scenario: Should be able to edit an orphan from the orphan show page
    Given I am on the "Show Orphans" page for orphan "Orphan 1"
    And I click the "Edit Orphan" button
    Then I should be on the "Edit Orphans" page for orphan "Orphan 1"
    And I fill in "Name" with "<NAME>"
    And I fill in "Date of birth" with "2010-01-01"
{'fraction_non_alphanumeric': 0.061068702290076333, 'fraction_numerical': 0.04034896401308615, 'mean_word_length': 2.5865102639296187, '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': '5806550', 'n_tokens_mistral': 1299, 'n_tokens_neox': 1133, 'n_words': 579}