- do a proper refactoring (_buffer_trigger and _trigger_buffer are bad names) - add unit-tests - fix mypy Context: https://github.com/google/scaaml/pull/266