harbor run -t openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-2424harbor download openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-2424Workspace note: The workspace contains a partially broken implementation at /app/starter_code.py. The agent must fix the bugs and complete the implementation so that the InMemoryCommonSourceKFoldDataset is correctly defined and usable from the lrbenchmark.dataset module.
Task:
Objective: Create a self-contained in-memory dataset wrapper that provides common-source K-fold splits over a feature matrix X and a target array y, suitable for evaluation in cross-validation scenarios. The implementation must satisfy the test expectations in the provided pytest snippet, specifically producing mutually exclusive training and testing splits with the correct shapes and contents when get_splits(seed=...) is used.
Requirements:
Deliverables:
Acceptance criteria:
Notes: