<commit_before>Feature: Smooks Verification

Background: I have a landing zone route configured
Given I am using local data store
    And I am using preconfigured Ingestion Landing Zone

Scenario: Assessment and StudentAssessment Verification
    Given I post "smooksVer_Assess_Student_Assess.zip" file as the payload of the ingestion job
    And the following collections are empty in datastore:
        | collectionName              |
        | student                     |
        | assessment                  |
        | studentAssessmentAssociation|
    When zip file is scp to ingestion landing zone
    And I am willing to wait upto 10 seconds for ingestion to complete
    And a batch job log has been created
    Then I should see following map of entry counts in the corresponding collections:
        | collectionName              | count |
        | student                     | 1     |
        | assessment                  | 1     |
        | studentAssessmentAssociation| 1     |
    And I find a(n) "assessment" record where "metaData.externalId" is equal to "Grade 8 2011 ISAT Writing"
    And verify the following data in that document:
       | searchParameter                                                          | searchValue                           | searchType           |
       | body.assessmentTitle                                                     | Grade 8 2011 ISAT Writing             | string               |
       | body.assessmentIdentificationCode.0.ID                                   | Grade 8 2011 ISAT Writing             | string               |
       | body.assessmentIdentificationCode.0.identificationSystem                 | Test Contractor                       | string               |
       | body.assessmentCategory                                                  | State summative assessment 3-8 general| string               |
       | body.academicSubject                                                     | Writing                               | string               |
       | body.gradeLevelAssessed                                                  | Eighth grade                          | string               |
       | body.lowestGradeLevelAssessed                                            | Fifth grade                           | string               |
       | body.assessmentPerformanceLevel.0.performanceLevelDescriptor.description | 1                               | string               |
       | body.assessmentPerformanceLevel.1.performanceLevelDescriptor.description | 2                               | string               |
       | body.assessmentPerformanceLevel.2.performanceLevelDescriptor.description | 3                               | string               |
       | body.assessmentPerformanceLevel.3.performanceLevelDescriptor.description | 4                               | string               |
       | body.assessmentPerformanceLevel.0.assessmentReportingMethod              | Scale score                               | string               |<commit_msg>Upping time….damn Jenkins is slow.<commit_after>Feature: Smooks Verification

Background: I have a landing zone route configured
Given I am using local data store
    And I am using preconfigured Ingestion Landing Zone

Scenario: Assessment and StudentAssessment Verification
    Given I post "smooksVer_Assess_Student_Assess.zip" file as the payload of the ingestion job
    And the following collections are empty in datastore:
        | collectionName              |
        | student                     |
        | assessment                  |
        | studentAssessmentAssociation|
    When zip file is scp to ingestion landing zone
    And I am willing to wait upto 20 seconds for ingestion to complete
    And a batch job log has been created
    Then I should see following map of entry counts in the corresponding collections:
        | collectionName              | count |
        | student                     | 1     |
        | assessment                  | 1     |
        | studentAssessmentAssociation| 1     |
    And I find a(n) "assessment" record where "metaData.externalId" is equal to "Grade 8 2011 ISAT Writing"
    And verify the following data in that document:
       | searchParameter                                                          | searchValue                           | searchType           |
       | body.assessmentTitle                                                     | Grade 8 2011 ISAT Writing             | string               |
       | body.assessmentIdentificationCode.0.ID                                   | Grade 8 2011 ISAT Writing             | string               |
       | body.assessmentIdentificationCode.0.identificationSystem                 | Test Contractor                       | string               |
       | body.assessmentCategory                                                  | State summative assessment 3-8 general| string               |
       | body.academicSubject                                                     | Writing                               | string               |
       | body.gradeLevelAssessed                                                  | Eighth grade                          | string               |
       | body.lowestGradeLevelAssessed                                            | Fifth grade                           | string               |
       | body.assessmentPerformanceLevel.0.performanceLevelDescriptor.description | 1                               | string               |
       | body.assessmentPerformanceLevel.1.performanceLevelDescriptor.description | 2                               | string               |
       | body.assessmentPerformanceLevel.2.performanceLevelDescriptor.description | 3                               | string               |
       | body.assessmentPerformanceLevel.3.performanceLevelDescriptor.description | 4                               | string               |
       | body.assessmentPerformanceLevel.0.assessmentReportingMethod              | Scale score                               | string               |
{'fraction_non_alphanumeric': 0.040872822015958314, 'fraction_numerical': 0.01074743527112848, 'mean_word_length': 1.131898646303367, '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': 39, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '20659', 'n_tokens_mistral': 1236, 'n_tokens_neox': 1122, 'n_words': 374}