<commit_before>#
# coding=utf-8
"""Constants and definitions"""

import re

# Used for command parsing, tab completion and word breaks. Do not change.
QUOTES = ['"', "'"]
REDIRECTION_CHARS = ['|', '<', '>']

# Regular expression to match ANSI escape codes
ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m')<commit_msg>Remove ‘<‘ from REDIRECTION_CHARS, it’s no longer used.<commit_after>#
# coding=utf-8
"""Constants and definitions"""

import re

# Used for command parsing, tab completion and word breaks. Do not change.
QUOTES = ['"', "'"]
REDIRECTION_CHARS = ['|', '>']

# Regular expression to match ANSI escape codes
ANSI_ESCAPE_RE = re.compile(r'\x1b[^m]*m')
{'fraction_non_alphanumeric': 0.1643835616438356, 'fraction_numerical': 0.0060882800608828, 'mean_word_length': 5.326923076923077, 'pattern_counts': {'":': 0, '<': 5, '<?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': '5477257', 'n_tokens_mistral': 234, 'n_tokens_neox': 225, 'n_words': 65}