<commit_before>"""
Autojit template types.
"""

from numba.typesystem import *

# type_attribute => [type_assertions]
VALID_TYPE_ATTRIBUTES = {
    "dtype": ["is_array"],
    "base_type": ["is_pointer", "is_carray", "is_complex"],
    "args": ["is_function"],
    "return_type": ["is_function"],<commit_msg>Add list and tuple's base_type to the templating system<commit_after>"""
Autojit template types.
"""

from numba.typesystem import *

# type_attribute => [type_assertions]
VALID_TYPE_ATTRIBUTES = {
    "dtype": ["is_array"],
    "base_type": ["is_pointer", "is_carray", "is_complex",
                  "is_list", "is_tuple"],
    "args": ["is_function"],
    "return_type": ["is_function"],
{'fraction_non_alphanumeric': 0.17360114777618366, 'fraction_numerical': 0.0, 'mean_word_length': 4.8655462184873945, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 5, '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': '7299624', 'n_tokens_mistral': 239, 'n_tokens_neox': 239, 'n_words': 49}