harbor run -t openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-3623harbor download openthoughts/tasktrove-exp-rpt-scaffold-v2-scaffold-3623You are provided with scaffolded Python code containing several NotImplementedError stubs. Your task is to implement the expected behavior described in the docstrings and align with the tests (pytest) that will run against these modules. Do not reveal or hard-code any test-specific values. Focus on correct, robust behavior and clear error handling.
Files to modify (in /app/):
What to implement and expected behavior
validate_sequence(sequence: str) -> bool
format_smiles(sequence: str) -> str
main(argv: Optional[List[str]] = None) -> int
load_json(path: str) -> Any
apply_replacements(data: List[Any], replacement_map: Dict[str, Any]) -> List[Any]
main(argv: Optional[List[str]] = None) -> int
Node class
build_fixed_tree() -> Node
dfs_paths(root: Optional[Node]) -> List[List[int]]
main(argv: Optional[List[str]] = None) -> int
Testing notes and constraints
How to run tests (for your workflow)
Acceptance criteria