harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-0091harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-0091You will fill in the NotImplementedError stubs in the scaffolded code placed under /app/. Your implementation should be self-contained, well-documented, and compatible with the tests (which are run with pytest).
What needs to be implemented
Test class
ArchiveLike interface
serialize_test(test: Test, serializer: ArchiveLike) -> Bytes
deserialize_test(data: Bytes, serializer: ArchiveLike) -> Test
run_benchmark() -> tuple[int, float, float]
write_benchmark_log(path: str, data_size: int, serialize_ms: float, deserialize_ms: float) -> None
main() -> int
Design and behavior expectations (based on docstrings and tests)
Data model
Tag-based binary format (existing constants)
Serialization/deserialization helpers
Benchmarking behavior
Logging
Main flow
Files to modify
Notes for pytest-based testing
Guidance
Remember: Modify only the specified file under /app/ and implement the described behavior without revealing the exact implementation in your explanation.