helpers/strings.py.dox.md
strings.py helper module.strings.py because this directory is intentionally flat.strings.py owns the runtime implementation.strings.py.dox.md owns durable notes about responsibilities, contracts, side effects, and verification for that implementation.sanitize_string(s: str, encoding: str=...) -> strcalculate_valid_match_lengths(first: bytes | str, second: bytes | str, deviation_threshold: int=..., deviation_reset: int=..., ignore_patterns: list[bytes | str]=..., debug: bool=...) -> tuple[int, int]format_key(key: str) -> str: Format a key string to be more readable.dict_to_text(d: dict) -> strtruncate_text(text: str, length: int, at_end: bool=..., replacement: str=...) -> strtruncate_text_by_ratio(text: str, threshold: int, replacement: str=..., ratio: float=...) -> str: Truncate text with replacement at a specified ratio position.replace_file_includes(text: str, placeholder_pattern: str=...) -> strhelpers, re, sys, time.s.encode.decode, join, join.rstrip, re.sub, skip_ignored_patterns, match.group, s.encode, sys.stdout.write, sys.stdout.flush, time.sleep, c.isupper, result.islower, word.capitalize, files.fix_dev_path, files.read_file, re.match, formatted.split, c.isalnum, format_key.tests/test_model_search.pytests/test_whatsapp_number_utils.pyNo child DOX files.