<commit_before>"""
The functions and objects in this file can be used in your plugins.
"""
import os.path


BUILD_TAG = 'jenkins'


def parse_version_string(version_string):
    """
    Parse a version string into it's components.
    
    >>> parse_version_string("0.1")
    ([0, 1], None, None)
    >>> parse_version_string("0.3.2-jenkins-3447876")<commit_msg>fixes unit tests<commit_after>"""
The functions and objects in this file can be used in your plugins.
"""
import os.path


BUILD_TAG = 'jenkins'


def parse_version_string(version_string):
    """
    Parse a version string into it's components.
    
    >>> parse_version_string("0.1")
    ([0, 1], 'jenkins', None)
    >>> parse_version_string("0.3.2-jenkins-3447876")
{'fraction_non_alphanumeric': 0.13387978142076504, 'fraction_numerical': 0.03825136612021858, 'mean_word_length': 3.8543046357615895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '1639623', 'n_tokens_mistral': 256, 'n_tokens_neox': 237, 'n_words': 67}