Though inline comments are widely used, none of the (non-private) methods have proper docstrings. Furthermore, most methods are missing type hints.