harbor run -t openthoughts/tasktrove-mix-h8-adversarial-tests-v2-mix-h8-adversarial-2137harbor download openthoughts/tasktrove-mix-h8-adversarial-tests-v2-mix-h8-adversarial-2137Task: Implement a Python synthtool package with Maven utilities and template generation (placed under /app/synthtool/ as a package)
Goal Create a Python package at /app/synthtool (with init.py) containing a languages subpackage and a Java helper module that implements the exact functionality the tests exercise. The tests will import as: from synthtool.languages import java and will call the following functions:
Deliverables and required behavior
A. version_from_maven_metadata(xml_string: str) -> str
B. latest_maven_version(group_id: str, artifact_id: str) -> str
C. common_templates(template_path: Union[str, Path]) -> None
D. remove_method(file_path: Union[str, Path], signature: str) -> None
Notes for the implementer