<commit_before>"""A list of reusable constants for the package.

MEDIA_FIELDS (tuple): Fields that can be set to file names of allowable
    media types for the given field.
LANGUAGE_DEPENDENT_FIELDS (tuple): Fields for which values can vary by
    language. A single ODK XLSForm can have many such fields, suffixed
    by '::language'.
TRUNCATABLE_FIELDS (tuple): Fields that should be limited to a specific
    length. Current limit is 100 chars, which is somewhat arbitrary but
    turns out good in converted forms.
"""
LANGUAGE_PERTINENT_WORKSHEETS = ['survey', 'choices', 'external_choices']
MEDIA_FIELDS = ('image', 'media::image', 'audio', 'media::audio',
                'video', 'media::video')
LANGUAGE_DEPENDENT_FIELDS = \
    ('label', 'hint', 'constraint_message', 'ppp_input') + MEDIA_FIELDS
TRUNCATABLE_FIELDS = ('constraint', 'relevant')<commit_msg>Changed data type of LANGUAGE_PERTINENT_WORKSHEETS from list to tuple.<commit_after>"""A list of reusable constants for the package.

MEDIA_FIELDS (tuple): Fields that can be set to file names of allowable
    media types for the given field.
LANGUAGE_DEPENDENT_FIELDS (tuple): Fields for which values can vary by
    language. A single ODK XLSForm can have many such fields, suffixed
    by '::language'.
TRUNCATABLE_FIELDS (tuple): Fields that should be limited to a specific
    length. Current limit is 100 chars, which is somewhat arbitrary but
    turns out good in converted forms.
"""
LANGUAGE_PERTINENT_WORKSHEETS = ('survey', 'choices', 'external_choices')
MEDIA_FIELDS = ('image', 'media::image', 'audio', 'media::audio',
                'video', 'media::video')
LANGUAGE_DEPENDENT_FIELDS = \
    ('label', 'hint', 'constraint_message', 'ppp_input') + MEDIA_FIELDS
TRUNCATABLE_FIELDS = ('constraint', 'relevant')
{'fraction_non_alphanumeric': 0.10229178311906093, 'fraction_numerical': 0.003353828954723309, 'mean_word_length': 4.811688311688312, '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': '3586245', 'n_tokens_mistral': 579, 'n_tokens_neox': 549, 'n_words': 197}