<commit_before>Feature: A CLI to verify images are biobox-compatible

  Scenario Outline: Verifying a valid biobox image
    When I run the command:
      """
      biobox verify short_read_assembler <image> <args>
      """
    Then the stdout should be empty
    And the stderr should be empty
    And the exit code should be 0

    Examples:
      | image            | args            |
      | bioboxes/velvet  |                 |
      | bioboxes/velvet  | -t default      |
      | bioboxes/megahit | --task=no-mercy |

  Scenario: Verifying a invalid image
    When I run the command:
      """
      biobox verify short_read_assembler python:2.7
      """
    Then the stdout should be empty
    And the stderr should contain:
      """
      Verification failed - python:2.7 is not a valid biobox short read assembler.
      """
    And the exit code should be 1<commit_msg>assembler benchmark verification feature added<commit_after>Feature: A CLI to verify images are biobox-compatible

  Scenario Outline: Verifying a valid biobox image
    When I run the command:
      """
      biobox verify <type> <image> <args>
      """
    Then the stdout should be empty
    And the stderr should be empty
    And the exit code should be 0

    Examples:
      | type                 | image            | args            |
      | short_read_assembler | bioboxes/velvet  |                 |
      | short_read_assembler | bioboxes/velvet  | -t default      |
      | short_read_assembler | bioboxes/megahit | --task=no-mercy |
      | assembler_benchmark   | bioboxes/quast   | --task=no-mercy |

  Scenario: Verifying a invalid image
    When I run the command:
      """
      biobox verify short_read_assembler python:2.7
      """
    Then the stdout should be empty
    And the stderr should contain:
      """
      Verification failed - python:2.7 is not a valid biobox short read assembler.
      """
    And the exit code should be 1
{'fraction_non_alphanumeric': 0.0683453237410072, 'fraction_numerical': 0.006166495375128468, 'mean_word_length': 2.0709779179810726, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 8, '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': '2063293', 'n_tokens_mistral': 584, 'n_tokens_neox': 555, 'n_words': 202}