<commit_before># -*- coding: utf-8 -*-
from datetime import datetime
from . import conftest as utils


def test_audio_Artist_attr(artist):
    artist.reload()
    assert utils.is_datetime(artist.addedAt)
    assert artist.countries == []
    assert [i.tag for i in artist.genres] == []  # ['Electronic']
    assert utils.is_string(artist.guid, gte=5)
    assert artist.index == '1'
    assert utils.is_metadata(artist._initpath)
    assert utils.is_metadata(artist.key)
    assert utils.is_int(artist.librarySectionID)
    assert artist.listType == 'audio'
    assert len(artist.locations) == 1
    assert len(artist.locations[0]) >= 10
    assert artist.ratingKey >= 1<commit_msg>Its hit or miss..<commit_after># -*- coding: utf-8 -*-
from datetime import datetime
from . import conftest as utils


def test_audio_Artist_attr(artist):
    artist.reload()
    assert utils.is_datetime(artist.addedAt)
    assert artist.countries == []
    assert [i.tag for i in artist.genres] in [[], ['Electronic']]
    assert utils.is_string(artist.guid, gte=5)
    assert artist.index == '1'
    assert utils.is_metadata(artist._initpath)
    assert utils.is_metadata(artist.key)
    assert utils.is_int(artist.librarySectionID)
    assert artist.listType == 'audio'
    assert len(artist.locations) == 1
    assert len(artist.locations[0]) >= 10
    assert artist.ratingKey >= 1
{'fraction_non_alphanumeric': 0.12445095168374817, 'fraction_numerical': 0.01171303074670571, 'mean_word_length': 3.7465277777777777, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2599589', 'n_tokens_mistral': 458, 'n_tokens_neox': 452, 'n_words': 103}