<commit_before>Feature: Parsing
  In order to seperate backend and frontend
  As a backend writer
  I want to get a parsetree
 
  Scenario: Simple Song
    Given the song
    """
    [D]Do what I say, [Em]or I will suffer
    """

    When I parse it
    Then the parsetree should be
    """
    [
      [
        ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
      ]
    ]
    """

  Scenario: Simple Song Multiline
    Given the song 
    """
    [D]Do what I say, [Em]or I will suffer
    [D]Do what I say, [Em]or I will suffer
    """

    When I parse it
    Then the parsetree should be
    """
    [
      [
        ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
        ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
      ]
    ]
    """

  Scenario: Song with two sections
    Given the song 
    """
    [D]Do what I say, [Em]or I will suffer
    [D]Do what I say, [Em]or I will suffer

    [D]Do what I say, [Em]or I will suffer
    [D]Do what I say, [Em]or I will suffer
    """

    When I parse it
    Then the parsetree should be
    """
    [
    [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
    ],
    [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
    ]
    ]
    """

  Scenario: Text Output of a simple Song
    Given the parsetree
    """
    [
     [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
     ]
    ]
    """

    When I format it
    Then the output should be
    """
    [D]            [Em]
    Do what I say, or I will suffer
    
    
    """<commit_msg>Another Story.<commit_after>Feature: Parsing
  In order to seperate backend and frontend
  As a backend writer
  I want to get a parsetree
 
  Scenario: Simple Song
    Given the song
    """
    [D]Do what I say, [Em]or I will suffer
    """

    When I parse it
    Then the parsetree should be
    """
    [
      [
        ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
      ]
    ]
    """

  Scenario: Simple Song Multiline
    Given the song 
    """
    [D]Do what I say, [Em]or I will suffer
    [D]Do what I say, [Em]or I will suffer
    """

    When I parse it
    Then the parsetree should be
    """
    [
      [
        ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
        ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
      ]
    ]
    """

  Scenario: Song with two sections
    Given the song 
    """
    [D]Do what I say, [Em]or I will suffer
    [D]Do what I say, [Em]or I will suffer

    [D]Do what I say, [Em]or I will suffer
    [D]Do what I say, [Em]or I will suffer
    """

    When I parse it
    Then the parsetree should be
    """
    [
    [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
    ],
    [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
    ]
    ]
    """

  Scenario: Text Output of a simple Song
    Given the parsetree
    """
    [
     [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"]
     ]
    ]
    """

    When I format it
    Then the output should be
    """
    [D]            [Em]
    Do what I say, or I will suffer
    
    
    """

  Scenario: Text Output of a simple Song with one Section and two lines
    Given the parsetree
    """
    [
     [
      ["[D]", "Do what I say, ", "[Em]", "or I will suffer"],
      ["Do what ", "[D]", "I say, ", "[Em]", "or I will suffer"]
     ]
    ]
    """

    When I format it
    Then the output should be
    """
    [D]            [Em]
    Do what I say, or I will suffer
            [D]    [Em]
    Do what I say, or I will suffer
    
    
    """
{'fraction_non_alphanumeric': 0.15404631798074422, 'fraction_numerical': 0.0, 'mean_word_length': 1.751610594130279, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3601329', 'n_tokens_mistral': 1335, 'n_tokens_neox': 1303, 'n_words': 530}