harbor run -t openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0357harbor download openthoughts/tasktrove-exp-rpt-curriculum-hard-curriculum-hard-0357This task asks you to implement a self-contained, MindSpore-like API under the /app/ directory with stricter performance, edge-case, and architecture requirements. The goal remains the same: create a minimal, self-contained package that satisfies the provided pytest tests, but with additional constraints to push correctness under more demanding scenarios.
Scope and goal
What you must implement and where
Key features and signatures to implement (with stricter expectations)
Location: mindspore/ops/init.py
API and behavior:
Location: mindspore/ops/init.py
Implementation constraints and design choices
Where to place the code
Notes on acceptance
Remember: place and wire the code under /app/ as a package named mindspore with the modules described above.