refactor: standardize type hints and improve null safety across codebase 6d49dc7 qa296 commited on Mar 7