<commit_before>Feature: Regression tests

  @requires_authorization_token
  Scenario: Check the issue #847 (https://github.com/openshiftio/openshift.io/issues/847)
    Given System is running
    When I acquire the authorization token
    Then I should get the proper authorization token
    When I send Python package manifest requirements_click_compatible_with_6_7.txt to stack analysis with authorization token
    Then I should get 200 status code
    When I wait for stack analysis to finish with authorization token
    Then I should get 200 status code
    Then I should find the value click under the path result/0/user_stack_info/analyzed_dependencies/0/package in the JSON response
    Then I should find the value 6.7 under the path result/0/user_stack_info/analyzed_dependencies/0/version in the JSON response

<commit_msg>Regression test for issue #848<commit_after>Feature: Regression tests

  @requires_authorization_token
  Scenario: Check the issue #847 (https://github.com/openshiftio/openshift.io/issues/847)
    Given System is running
    When I acquire the authorization token
    Then I should get the proper authorization token
    When I send Python package manifest requirements_click_compatible_with_6_7.txt to stack analysis with authorization token
    Then I should get 200 status code
    When I wait for stack analysis to finish with authorization token
    Then I should get 200 status code
    Then I should find the value click under the path result/0/user_stack_info/analyzed_dependencies/0/package in the JSON response
    Then I should find the value 6.7 under the path result/0/user_stack_info/analyzed_dependencies/0/version in the JSON response

  @requires_authorization_token
  Scenario: Check the issue #848 (https://github.com/openshiftio/openshift.io/issues/848)
    Given System is running
    When I acquire the authorization token
    Then I should get the proper authorization token
    When I send Python package manifest requirements_click_6_star.txt to stack analysis with authorization token
    Then I should get 200 status code
    When I wait for stack analysis to finish with authorization token
    Then I should get 200 status code
    Then I should find the value click under the path result/0/user_stack_info/analyzed_dependencies/0/package in the JSON response
    Then I should find the value 6.7 under the path result/0/user_stack_info/analyzed_dependencies/0/version in the JSON response


{'fraction_non_alphanumeric': 0.03543788187372709, 'fraction_numerical': 0.02525458248472505, 'mean_word_length': 4.170526315789473, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 3, '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': '3308841', 'n_tokens_mistral': 671, 'n_tokens_neox': 607, 'n_words': 289}