harbor run -t openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-0323harbor download openthoughts/tasktrove-exp-flat25-subtle-debug-v3-5k-subtle-0323The workspace contains a partially broken implementation at /app/starter_code.py. Your task is to fix the bugs and complete the implementation of a Datasets container class that manages an ordered collection of dataset-like objects (e.g., MyDataset) with indexing, mutation, type checks, and aggregated statistics.
What to implement
Initialization
Basic properties and accessors
Access by index/name
Aggregated statistic
Mutation methods with unique-name enforcement
Ordering invariants
Tests compatibility notes
Assumptions and constraints
Acceptance criteria
Optional enhancements (not required by tests but recommended)
Output only the rewritten instruction: