harbor run -t openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0479harbor download openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0479Goal Extend the previous roundtrip task with performance constraints, broader input coverage, and a modular design that can scale beyond a single file. Implement a self-contained package under /app with a clear public API that a given pytest suite can import and exercise.
What you must implement
Notes and constraints (increasing difficulty)
Architecture and multi-file design
Robustness and edge cases
Performance and scalability
Correctness guarantees
Implementation notes
Acceptance criteria (summary)