harbor run -t openthoughts/tasktrove-mix-h8-original-tests-v2-mix-h8-original-3814harbor download openthoughts/tasktrove-mix-h8-original-tests-v2-mix-h8-original-3814Task: Implement a Python package fmcheck under /app/fmcheck (or a single module /app/fmcheck.py if you prefer), providing the minimal functionality that the tests exercise.
What to implement
Or, alternatively, a single module at /app/fmcheck.py that provides equivalent public interfaces (but the tests import fmcheck.switch, fmcheck.link, fmcheck.group, and fmcheck.utils, so a package is recommended).
Switch (in fmcheck/switch.py)
Link (in fmcheck/link.py)
Group (in fmcheck/group.py)
check_mandatory_values(props: dict, source: dict) -> Optional[str]
contains_filters(filters, value) -> bool
Goal: Create a self-contained, actionable fmcheck package under /app/fmcheck/ that provides Switch, Link, Group classes and the utilities check_mandatory_values and contains_filters with the behaviors described above, so the provided pytest tests pass.