harbor run -t openthoughts/tasktrove-mix-h6-test-quality-top25-mix-h6-test-quality-0733harbor download openthoughts/tasktrove-mix-h6-test-quality-top25-mix-h6-test-quality-0733Task: Implement the lightweight I/O buffering utilities in a Python package at /app/thriftrw (as a package, not a single file) to satisfy the provided tests.
What to implement
Create a Python package named thriftrw located at /app/thriftrw with the following submodules:
In thriftrw._buffer, implement:
class WriteBuffer
class ReadBuffer
EndOfInputError exception in thriftrw.errors
How the behavior maps to tests
Notes
This task description should be followed to create the /app/thriftrw package with _buffer.py and errors.py implementing the exact behavior described above.