harbor run -t openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0401harbor download openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0401Goal Extend the minimal ipytest bridge to be substantially more robust and production-ready. The module must still provide the same public API surface used by tests, but with careful handling of performance, concurrency, edge cases, and IPython integration. The code should be self-contained, thread-safe, and importable in environments with or without IPython/pytest installed.
What to implement (exact signatures and behaviors)
A. config(rewrite_asserts: bool = False, magics: bool = False, timeout: float = 60.0, max_workers: int = 2)
B. run(args)
C. Optional: Simple IPython magics (when magics is True and IPython is present)
Usage example (as tests may expect)
Notes