<commit_before>class ShelverError(Exception):
    pass


class ConfigurationError(ShelverError):
    pass


class UnknownArtifactError(ShelverError):
    pass


class UnknownImageError(ShelverError):
    pass


class ConcurrentBuildError(ShelverError):
    pass


class PackerError(ShelverError):
    def __init__(self, exitcode, errors):
        self.exitcode = exitcode
        self.errors = errors

    def __str__(self):
        msg = ''
        if self.errors:
            errors = '\n'.join(map('- {}'.format, self.errors))
            msg = ' Reported errors:\n' + errors<commit_msg>error: make UnknownArtifactError store name and version<commit_after>class ShelverError(Exception):
    pass


class ConfigurationError(ShelverError):
    pass


class UnknownArtifactError(ShelverError):
    def __init__(self, name, version):
        self.name = name
        self.version = version


class UnknownImageError(ShelverError):
    pass


class ConcurrentBuildError(ShelverError):
    pass


class PackerError(ShelverError):
    def __init__(self, exitcode, errors):
        self.exitcode = exitcode
        self.errors = errors

    def __str__(self):
        msg = ''
        if self.errors:
            errors = '\n'.join(map('- {}'.format, self.errors))
            msg = ' Reported errors:\n' + errors
{'fraction_non_alphanumeric': 0.10091743119266056, 'fraction_numerical': 0.0, 'mean_word_length': 2.9427710843373496, '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': '5748561', 'n_tokens_mistral': 397, 'n_tokens_neox': 379, 'n_words': 88}