harbor run -t openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0437harbor download openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0437You must implement a robust, high-performance in-memory K-fold dataset generator with deterministic, memory-conscious behavior. The solution should live under /app/ as a Python package and be fully importable as specified.
What you must implement
Public API
Behavioral notes aligned with tests
Implementation details and constraints
Optional design notes (for advanced robustness)
Example usage (for clarity)
Note on file path
If you choose a single-module approach instead of a package, ensure the same class is importable as lrbenchmark.dataset.InMemoryCommonSourceKFoldDataset, and that the package layout mirrors the described structure.