Each file is self-contained with docstrings, type hints, and complexity notes — designed to be read and learned from.