<commit_before>Feature: Download Gems
  In order to get some awesome gems
  A developer
  Should be able to download some gems

  Scenario: Download a gem
    Given I am signed up and confirmed as "<EMAIL>/password"
    And I have a gem "sandworm" with version "1.0.0"
    And I have a gem "sandworm" with version "2.0.0"
    And I have an api key for "<EMAIL>/password"
    And I push the gem "sandworm-1.0.0.gem" with my api key
    And I push the gem "sandworm-2.0.0.gem" with my api key
    And the system processes jobs

    When I visit the gem page for "sandworm"
    Then I should see "0 total downloads"

    When I download the rubygem "sandworm" version "2.0.0" 3 times
    And the system processes jobs
    And I visit the gem page for "sandworm"
    Then I should see "3 total downloads"
    And I should see "3 version downloads"

    When I download the rubygem "sandworm" version "1.0.0" 2 times
    And the system processes jobs
    And I visit the gem page for "sandworm"
    Then I should see "5 total downloads"
    And I should see "3 version downloads"
    When I follow "1.0.0"
    Then I should see "5 total downloads"
    And I should see "2 version downloads"

  Scenario: Download a platform gem
    Given I am signed up and confirmed as "<EMAIL>/password"
    And I have a gem "crysknife" with version "1.0.0"
    And I have a gem "crysknife" with version "1.0.0" and platform "java"
    And I have an api key for "<EMAIL>/password"
    And I push the gem "crysknife-1.0.0.gem" with my api key
    And I push the gem "crysknife-1.0.0-java.gem" with my api key
    And the system processes jobs

    When I visit the gem page for "crysknife" version "1.0.0"
    Then I should see "0 total downloads"

    When I download the rubygem "crysknife" version "1.0.0" 3 times
    And the system processes jobs
    And I visit the gem page for "crysknife" version "1.0.0"
    Then I should see "3 total downloads"
    And I should see "3 version downloads"

    When I download the rubygem "crysknife" version "1.0.0-java" 2 times
    And the system processes jobs
    And I visit the gem page for "crysknife" version "1.0.0-java"
    Then I should see "5 total downloads"
    And I should see "2 version downloads"<commit_msg>Fix the downloads story, thanks CI<commit_after>Feature: Download Gems
  In order to get some awesome gems
  A developer
  Should be able to download some gems

  Scenario: Download a gem
    Given I am signed up and confirmed as "<EMAIL>/password"
    And I have a gem "sandworm" with version "1.0.0"
    And I have a gem "sandworm" with version "2.0.0"
    And I have an api key for "<EMAIL>/password"
    And I push the gem "sandworm-1.0.0.gem" with my api key
    And I push the gem "sandworm-2.0.0.gem" with my api key
    And the system processes jobs

    When I visit the gem page for "sandworm"
    Then I should see "0 total downloads"

    When I download the rubygem "sandworm" version "2.0.0" 3 times
    And the system processes jobs
    And I visit the gem page for "sandworm"
    Then I should see "3 total downloads"
    And I should see "3 for this version"

    When I download the rubygem "sandworm" version "1.0.0" 2 times
    And the system processes jobs
    And I visit the gem page for "sandworm"
    Then I should see "5 total downloads"
    And I should see "3 for this version"
    When I follow "1.0.0"
    Then I should see "5 total downloads"
    And I should see "2 for this version"

  Scenario: Download a platform gem
    Given I am signed up and confirmed as "<EMAIL>/password"
    And I have a gem "crysknife" with version "1.0.0"
    And I have a gem "crysknife" with version "1.0.0" and platform "java"
    And I have an api key for "<EMAIL>/password"
    And I push the gem "crysknife-1.0.0.gem" with my api key
    And I push the gem "crysknife-1.0.0-java.gem" with my api key
    And the system processes jobs

    When I visit the gem page for "crysknife" version "1.0.0"
    Then I should see "0 total downloads"

    When I download the rubygem "crysknife" version "1.0.0" 3 times
    And the system processes jobs
    And I visit the gem page for "crysknife" version "1.0.0"
    Then I should see "3 total downloads"
    And I should see "3 for this version"

    When I download the rubygem "crysknife" version "1.0.0-java" 2 times
    And the system processes jobs
    And I visit the gem page for "crysknife" version "1.0.0-java"
    Then I should see "5 total downloads"
    And I should see "2 for this version"
{'fraction_non_alphanumeric': 0.06898846495119787, 'fraction_numerical': 0.02839396628216504, 'mean_word_length': 2.843989769820972, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 36, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5416664', 'n_tokens_mistral': 1505, 'n_tokens_neox': 1401, 'n_words': 715}