harbor run -t openthoughts/tasktrove-exp-rle-adversarial-5k-adversarial-3516harbor download openthoughts/tasktrove-exp-rle-adversarial-5k-adversarial-3516Task: Implement the Part class to fully satisfy the provided tests.
What to implement
Data model and attributes
Behavior and methods
init(self, data: List[str]):
add(self, other: Part) -> Part:
sub(self, other: Part) -> Optional[Part]:
clone(self) -> Part:
eq(self, other) -> bool:
enable_any_color(self) -> None:
is_any_color(self) -> bool:
is_color_match(self, color: str) -> bool:
Notes
Deliverable
Output only the instruction: