harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2929harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-2929This task asks you to replace the NotImplementedError stubs in the scaffolded code with concrete, testable implementations. The goal is to create a small, self-contained end-to-end pipeline that can generate or consume frames, run a lightweight detector, annotate frames, write an output video, and persist per-frame results to JSON. The tests (run with pytest) will exercise these components, their integration, and the input/output contracts described below.
What you need to implement (fill in the NotImplementedError stubs)
Detector
SyntheticDataProducer
VideoAnnotatorWriter
load_config(path: Optional[str] = None) -> Dict[str, Any]
save_frames_json(frames: List[FrameResult], path: str) -> None
run_pipeline(config: Dict[str, Any]) -> Dict[str, Any]
main(config_path: Optional[str] = None) -> None
Notes on behavior, data structures, and expectations
What files you will modify
Testing and how it will be run
How to approach the implementation
Remember
Important: place your implementation at /app/solution.py so the tests can import solution.